Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-10-2009, 12:34 AM   #1
Registered: Jul 2009
Posts: 42

Rep: Reputation: 16
Question how to extract hard disk image (hdb1.ext2-ptcl-img.gz) given by clonezilla


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?)


Old 09-10-2009, 12:56 AM   #2
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clonezilla can't find disk image cmplet-noobie Linux - Software 15 10-08-2016 09:02 PM
Explore and Extract ISO to Hard Disk Steknos Linux - Software 18 11-30-2008 02:08 PM
how to extract the files from a vfat .img image file, without mounting zoombee Linux - General 13 11-23-2008 05:39 AM
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 07:59 PM
how to know my current hard disk partition file system ext2,ext3... hocheetiong Linux - Newbie 2 09-09-2007 07:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration