LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to extract hard disk image (hdb1.ext2-ptcl-img.gz) given by clonezilla (https://www.linuxquestions.org/questions/linux-software-2/how-to-extract-hard-disk-image-hdb1-ext2-ptcl-img-gz-given-by-clonezilla-754058/)

laginagesh 09-10-2009 12:34 AM

how to extract hard disk image (hdb1.ext2-ptcl-img.gz) given by clonezilla
 
Hi,

I am using clonezilla server for taking bakup from a client PC.
i got the image file of the Client PC as "hdb1.ext2-ptcl-img.gz"
how to extract this image file.

I have tried using gunzip
--------------------------------------------------------------------------
[root@zepplin 2009-09-10-09-img]# gunzip hdb1.ext2-ptcl-img.gz

--------------------------------------------------------------------------

it converted hdb1.ext2-ptcl-img.gz to hdb1.ext2-ptcl-img

how to extract the files from hdb1.ext2-ptcl-img file..?


Using mount

--------------------------------------------------------------------------

[root@zepplin]# mount -o loop hdb1.ext2-ptcl-img /mnt
mount: you must specify the filesystem type

[root@zepplin]# mount -o loop hdb1.ext2-ptcl-img /mnt
mount: you must specify the filesystem type


[root@zepplin]# mount -o loop -t ext2 hdb1.ext2-ptcl-img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


--------------------------------------------------------------------------


cheers
Nagesh

jiml8 09-10-2009 12:56 AM

YOu don't want to mount this on /mnt; try mounting it on /mnt/mymountpoint.

I *think* the system should have mounted the img on /mnt anyway, which would royally screw things up for you, but possibly it couldn't because /mnt itself was open, or one of the subcommands in mount was directly accessing something in /mnt, which led to some self-reference problem. Dunno


All times are GMT -5. The time now is 11:51 PM.