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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 11-07-2009, 03:02 AM   #1 (permalink)
Registered User
 
Join Date: May 2009
Posts: 155
OS: XP mce sp3; Vista Home Premium


Send a message via MSN to Nofew
[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?
Nofew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 11-07-2009, 07:52 AM   #2 (permalink)
Moderator Hardware Team
 
Done_Fishin's Avatar
 
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

My System

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
Done_Fishin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-07-2009, 11:45 AM   #3 (permalink)
Registered User
 
Join Date: May 2009
Posts: 155
OS: XP mce sp3; Vista Home Premium


Send a message via MSN to Nofew
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.
Nofew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-07-2009, 03:21 PM   #4 (permalink)
Moderator Hardware Team
 
Done_Fishin's Avatar
 
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

My System

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
Done_Fishin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 02:00 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85