![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
[SOLVED] How do I mount a raw image clone?
My laptop's hard drive has failed. Luckily, before it did, I created a bit-for-bit copy of it using the following command:
dd if=/dev/hda conv=sync,noerror of=/mnt/sda1/rescue.raw Unfortunately, I can't mount the image since I can't define the filesystem type. The disc has four partitions, and I need to get to the 2nd and 3rd. The first is a recovery partition that shipped with the computer, and the 4th is swap space. The 2nd (ntfs) and 3rd (ext3) contain important data that I'd rather not lose. All of them are primary. I've already tried reading the manual, Googleing and searching the forums. I'm not sure if this is even possible at this point without copying it back to a physical disc, but I need to make sure that the copy went through properly before I swap out the hard drive. Could anyone tell me how I'd be able to mount the image? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Moderator Hardware Team
Join Date: Oct 2006
Location: Brit living in Greece
Posts: 7,383
OS: WinME, WinXP Pro SP3, Win7 Beta, Ubuntu 9.04 & Netbook Remix & CD2USB, Mepis 6.5, Fedora 10
|
Re: How do I mount a raw image clone?
I'd say that the best thing you could do is boot from a live CD, restore your backup to a NEW hard Drive ( I can't help you with that since I have never used that method you show) that is at least the same size as the drive that has failed.
Once you have written your raw file to your disk you can try to boot it or at least swap it out for the faulty disk. Booting again from Live CD should allow you top check things out before trying to boot.
__________________
. ![]() . I'm not old!! I'm age impaired ![]() .. D_F I DON'T PLAY GAMES How to mark your thread as solved ![]() HDD DIAG UTILS TSF's Photographer's Corner |
|
|
|
|
|
#3 (permalink) |
|
Registered User
|
Re: How do I mount a raw image clone?
Thanks for your effort, but I can't get a physical disc to test it on. I needed to do it directly from the .raw file somehow so I couldn't use your solution, but I've found the answer I needed! I had to set the offset, so I used..
sfdisk -l -uS /mnt/sda1/rescuw.raw ..to print the start/end sectors of every partition in the image. I took the start number of the partition I needed to access and multiplied it by 512 (I typed 24578048 x 512 in Google since xcalc can't handle calculations that big) to get it in bytes, then just mounted it with the offset, well, set. mount -o loop,offset=BYTES -r /mnt/sda1/rescue.raw /mnt/rescue Now I can relax.. Last edited by Nofew; 11-07-2009 at 11:52 AM. |
|
|
|
|
|
#4 (permalink) |
|
Moderator Hardware Team
Join Date: Oct 2006
Location: Brit living in Greece
Posts: 7,383
OS: WinME, WinXP Pro SP3, Win7 Beta, Ubuntu 9.04 & Netbook Remix & CD2USB, Mepis 6.5, Fedora 10
|
Re: [SOLVED] How do I mount a raw image clone?
Glad you found a solution. I usually use GHOST in IMAGE ALL MODE
__________________
. ![]() . I'm not old!! I'm age impaired ![]() .. D_F I DON'T PLAY GAMES How to mark your thread as solved ![]() HDD DIAG UTILS TSF's Photographer's Corner |
|
|
|
![]() |
| Thread Tools | |
|
|