Re: [opensuse] Accessing a disk-image



David Bolt schreef:

Number Start End Size Type File system Flags
1 32256B 172730879B 172698624B primary ext2 , , , , , , , , , type=83, ,
2 172730880B 2146798079B 1974067200B primary ext3 , , , , , , , , , type=83, ,

In this case, I could mount the individual file systems by using:

playing:/local2 # mkdir -p temp/mnt{1,2}
playing:/local2 # mount disc.img temp/mnt1 -o loop,offset=32256
playing:/local2 # mount disc.img temp/mnt2 -o loop,offset=172730880
playing:/local2 # df /local2/temp/mnt*
Filesystem 1K-blocks Used Available Use% Mounted on
/local2/disc.img 163322 1550 153340 2% /local2/temp/mnt1
/local2/disc.img 1897452 35636 1765428 2% /local2/temp/mnt2


Regards,
David Bolt


Guys, you rock, thanks.
That's what I like about linux. The downside about it is you have to keep on learning, but I don't complain :-)
--
Met vriendelijke groeten,
Koenraad Lelong begin:vcard
fn:Koenraad Lelong
n:Lelong;Koenraad
org:ACE electronics
adr:Industriepark 2 nr 12;;IZ Webbekom 2118;Diest;VlaBra;3290;Belgie
email;internet:k.lelong@xxxxxxxxxxxxxxxxxx
title:R&D Manager
tel;work:+32 13 531906
tel;fax:+32 13 531908
x-mozilla-html:FALSE
url:www.ace-electronicss.be
version:2.1
end:vcard