Results 1 to 3 of 3
Hello all, I'm relatively new to Ubuntu and I like it! Now, I successfully used the following command to create a backup image to an external HD... dd if=/dev/sda of=/media/disk/backup.img
...
- 04-23-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 1
How do I mount a .img file containing backup
Hello all, I'm relatively new to Ubuntu and I like it! Now, I successfully used the following command to create a backup image to an external HD... dd if=/dev/sda of=/media/disk/backup.img
Now, I would like to know if there is a way to mount the .img file (backup.img) so that I can browse and retrieve specific files. I've tried AcetoneISO, Nero Linux, Gmount-iso, and a bootable ghost disk of somesort.(cant find disk to give exact name). ALL have failed!
One other related question is, if I were to restore the backup.img to a larger HD what would happen to the free space? I ask this because I am triple booted,, OS X / Vista / Ubuntu. My guess is that the free space on a larger HD would be useless after restoring backup.img
Thanks in advance!
- 04-23-2009 #2
Might help
Mount .img file - Ubuntu Forums
As for the free space, you should still have it, it won't just disappear on you. Worst case you'll have to resize a parition using gpartedBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 04-24-2009 #3
I don't know if you have resolved this yet, but you can mount the image to view it. First you need a folder to mount it in, I'll created a folder in your home directory called /mounted.
Now mount the image with root permissions.Code:mkdir ~/mounted
Of course, change your username to the correct one. To then unmount it, use this command.Code:sudo mount -o loop /media/disk/backup.img /home/vorko79/mounted
Code:sudo umount /media/disk/backup.img
Last edited by waterhead; 04-24-2009 at 10:27 PM. Reason: corrected umount command
Paul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote