Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] mounting disk image

pat

2008-04-06

Replies:

Author LoginPost Reply
Hello,

I have a question about mounting disk image as the disk. I have disk image
which was created using:
dd if=/dev/sda of=./file.iso
and the sda contained two partitions sda1 and sda2. I know, that if I have
only image of the sda1 I can mount it using loop device like
#losetup /dev/loop0 file.iso
#mount -t ... /dev/loop0 /mnt/tmp

But, how to do it if the file structure is: sda -> sda1, sda2? I need to get
data from sda1 and sda2 :-|

Thanks a lot for help.

  Pat
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.