If device has several part you can use this trick : sudo fdisk -l | grep -o '^/dev/[^ ]*' | while read t ; do sudo mkdir -p /mnt/$t ; sudo mount $t /mnt/$t ; done disk='/dev/sdd' # disk='/dev/sdb' # disk='/dev/sda' fdisk -l | grep $disk | cut -d' ' -f1 | while read t; do d=/mnt/tmp/$t ; mkdir -p $d && mount $t $d ; done sudo fdisk -l | grep '^/dev/[^ :]*' | sed -e 's|[ :].*||g' | while read t ; do d=/tmp/mnt/$t ; sudo mkdir -p $d ; sudo mount $t $d ; echo $d ; done # BusyBox compatible grep -o '/mnt/[^ ]* ' /etc/fstab | while read t ; do sudo mkdir -pv $t ; done grep -o '/mnt/[^ ]* ' /etc/fstab | while read t ; do sudo mount $t ; done ===== MESSAGES ===== http://forum.buffalo.nas-central.org/viewtopic.php?f=18&t=12381 Starting XFS recovery on filesystem: sda6 (logdev: internal) XFS: failed to read root inode VFS: Can't find ext3 filesystem on dev sda6. VFS: Can't find ext3 filesystem on dev sda6. VFS: Can't find an ext2 filesystem on dev sda6. XFS mounting filesystem sda6 Starting XFS recovery on filesystem: sda6 (logdev: internal) XFS: failed to read root inode sh-3.2# mount /dev/sda6 /mnt/sda6 mount: Unknown error 990 sh-3.2# mount -t ext3 /dev/sda6 /mnt/sda6 mount: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so sh-3.2# mount -t xfs /dev/sda6 /mnt/sda6 mount: Unknown error 990 Error: mount: no medium found on /dev/sr1 root@marcel:/var/lib/mldonkey/incoming/files# sudo hdparm -I /dev/sr0 /dev/sr0: ATAPI CD-ROM, with removable media Model Number: TSSTcorp CDDVDW SH-S222L Serial Number: Firmware Revision: SB03 Standards: Supported: CD-ROM ATAPI-3 -4 -5 -6 -7 Configuration: DRQ response: 50us. Packet size: 12 bytes cache/buffer size = unknown Capabilities: LBA, IORDY(cannot be disabled) DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=383ns IORDY flow control=120ns root@marcel:/var/lib/mldonkey/incoming/files# sudo hdparm -I /dev/sr1 /dev/sr1: ATAPI CD-ROM, with removable media Model Number: SAMSUNG DVD-ROM SD-616Q Serial Number: Firmware Revision: F403 Standards: Used: ATAPI for CD-ROMs, SFF-8020i, r2.5 Supported: CD-ROM ATAPI-2 Configuration: DRQ response: 50us. Packet size: 12 bytes cache/buffer size = unknown Capabilities: LBA, IORDY(can be disabled) DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns * http://www.samsung.com/sg/support/model/SD-616QRPS ===== WIM ===== * http://askubuntu.com/questions/34474/handling-wim-images-in-linux-ubuntu/64815#64815 * http://code.google.com/p/fuse-zip/issues/detail?id=13 * http://sourceforge.net/projects/wimlib/ * http://download.microsoft.com/download/f/e/f/fefdc36e-392d-4678-9e4e-771ffa2692ab/Windows%20Imaging%20File%20Format.rtf * https://viewer.zoho.com/docs/urlview.do?url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2Ff%2Fe%2Ff%2Ffefdc36e-392d-4678-9e4e-771ffa2692ab%2FWindows%2520Imaging%2520File%2520Format.rtf sudo apt-get install ntfs-3g-dev libattr1-dev @tag: [[windows]] ArC ArcH ArchivE ==== dmg ==== * http://packages.qa.debian.org/d/dmg2img.html * http://vu1tur.eu.org/tools/download.pl?dmg2img-1.3.tar.gz * http://baghira.sourceforge.net/dmg.htm * http://ubuntuforums.org/showthread.php?t=125526 * https://help.ubuntu.com/community/ManageDiscImages I plan to look at [[IPhone]] SDK files under linux, but the [[dmg]] file must be extracted first using dmg2img (see [[APT]] for .deb) * http://forum.ubuntu-fr.org/viewtopic.php?id=263155 * http://forum.ubuntu-fr.org/viewtopic.php?id=245639 * http://en.wikipedia.org/wiki/.dmg strace dmg2img -V image.dmg open("image.dmg", O_RDONLY) = -1 EOVERFLOW (Value too large for defined data type) write(1, "ERROR: Can't open input file ima"..., 68ERROR: Can't open input file image.dmg ) = 68 exit_group(0) = ? Solution use [[qemu]] : qemu-img convert -f dmg "${IMAGE}.dmg" -O raw "${IMAGE}.img" @tag: [[Apple]] ==== nrg ==== * [[nrg]] : http://en.wikipedia.org/wiki/NRG_%28file_format%29 * http://forum.ubuntu-fr.org/viewtopic.php?pid=2819222#p2819222 * http://www.imgburn.com/ * http://panservice.tucows.com/files4/DAEMONToolsPro4350308.exe ==== hal ==== A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal"). https://bugs.launchpad.net/ubuntu/+source/gnome-libs/+bug/164365 su -c " rm /media/.hal-mtab " invoke-rc.d hal restart ==== MOUNT ==== t=sda d=/dev/$t for i in $(seq 1 9); do m=/tmp/$d$i ; mkdir -p $m && mount $d$i $m ; done ==== Mount DISK ==== MounT and scp the whole rootfs disk=sda mkdir -p /tmp/mnt/$disk cd /tmp/mnt/$disk fdisk -l /dev/$disk | tee fdisk.txt parted /dev/$disk -s print unit b print unit chs print | tee parted.txt dd if=/dev/sda count=1 bs=1024 of=mbr.bin l=" sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 " for t in $l ; do d=/dev/$t m=./mnt/$d mkdir -p $m dd if=$d count=1 bs=1024 of=$m/mbr.bin mount $d $m done @tag: [[ARMv5]] ===== FS / ARCHIVES ===== * bin / cue : http://packages.qa.debian.org/bchunk * AfS : http://brainstorm.ubuntu.com/idea/3931/ * DmG * WiM ====== QEMU ===== * http://alexeytorkhov.blogspot.fr/2009/09/mounting-raw-and-qcow2-vm-disk-images.html * http://www.rushiagr.com/blog/2014/08/02/qcow2-mount/ * http://blog.bodhizazen.net/linux/convert-vmware-vmdk-to-kvm-qcow2-or-virtualbox-vdi/ * http://ngineered.co.uk/mount-a-qcow2-image-in-linux-for-editing/ ===== HANG ===== I managed to prevent this trouble by adding an extra test is os-prober Please check the attached patch or https://github.com/rzr/os-prober/tree/sandbox/rzr/for-upstream Hope this help, I will bug os-prober if no feedback unless someone tells me how to get this merged faster * http://ubuntuforums.org/showthread.php?t=1653598# mount cpu extended top linux * https://bugs.debian.org/768902 * https://bugs.debian.org/685143 * https://bugs.debian.org/784709 SolutioN WorkAround : * https://tracker.debian.org/pkg/os-prober rzr@nrv:~$ sudo zile /usr/lib/os-probes/50mounted-tests types="$(fs_type "$partition")" || types=NOT-DETECTED [ "" != "$types" ] || types=NOT-DETECTED UpstreaM BuG ? * https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=util-linux * https://anonscm.debian.org/cgit/collab-maint/pkg-util-linux.git/tree/ * https://www.kernel.org/pub/linux/utils/util-linux/v2.26/ ===== MISC ===== * https://blogs.gnome.org/muelli/2012/10/loopback-monting-huge-gzipped-file/# AvFs ===== More ===== @tag: FusE NfS ext3 [[FS]] [[Syscall]] [[hardy]] [[hal]] [[autofs]] [[fs]] [[hal]] [[iso]] [[fuse]] [[chroot]] [[xfs]] [[ARMv5]] GruB SmB {{http://www.slightlywarped.com/crapfactory/curiosities/2010/images/weird_78.jpg}}