Re: having trouble mounting disk image on loopback device
- From: "iforone" <floydstestemail@xxxxxxxxx>
- Date: 9 Jul 2006 23:36:21 -0700
iforone wrote:
[ correction 1 ]
FWIW, the syntax isn't the same as /etc/fstab reads
Not sure if you did that just to 'distinguish' between the 2 for us...
whoops.. I meant ... "the same as fdisk reads"
[ correction 2 ]
I see the syntax is correct anyway - after reading Douglas' post
(snippet below)
Disk /dev/loop0: 102 MB, 102400000 bytes
255 heads, 63 sectors/track, 12 cylinders, total 200000 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/loop0p1 63 96389 48163+ 83 Linux
/dev/loop0p2 96390 192779 48195 83 Linux
Therefore, to mount each partition, I used these commands:
losetup -o 32256 /dev/loop1 test.file
losetup -o 49351690 /dev/loop2 test.file
Regards
.
- References:
- having trouble mounting disk image on loopback device
- From: jasonmbowen
- Re: having trouble mounting disk image on loopback device
- From: Douglas Mayne
- Re: having trouble mounting disk image on loopback device
- From: iforone
- having trouble mounting disk image on loopback device
- Prev by Date: Re: having trouble mounting disk image on loopback device
- Next by Date: Esputil fails in Fedora Core 4
- Previous by thread: Re: having trouble mounting disk image on loopback device
- Next by thread: Re: having trouble mounting disk image on loopback device
- Index(es):
Relevant Pages
|