LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2006, 05:21 PM   #1
dkuntz
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Drive Failure - Restore from drive/partition image?


One of our drives on a system that for some reason was not backed up (set up prior to me...) failed, OS wise. I backed up the important partition using dd if=/dev/hda3 of=/backup/hda3.dd, however, it is not allowing me to mount that image (mount -o loop -t ext3 /backup/hda3 /mnt)

I dont need the drive image to be bootable, etc.. I need to be able to just get the account data off of the /home directory, and some files from /etc. I have the drive running on a new install now.

The error I'm getting is:
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?)

I attempted to actually repair the original drive, though it seemed to be totally fried (oh, every single inode had errors when running fsck, etc).

Is there any way to recover the data off the partition image. It's rather large (70gig)


Thanks for any help y'all can give (if any)

--Doug
 
Old 12-01-2006, 06:34 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try again this time use; mount -t ext3 /backup/hda3.dd /mnt -o loop
 
Old 12-01-2006, 09:48 PM   #3
dkuntz
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Try again this time use; mount -t ext3 /backup/hda3.dd /mnt -o loop
Still no go. I did have to run mke2fs -S on the original partiton, as the superblock info was all trashed. I basicly followed the steps from: hxxp://shon.org/blog/?p=25
 
Old 12-02-2006, 01:35 AM   #4
dkuntz
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dkuntz
Still no go. I did have to run mke2fs -S on the original partiton, as the superblock info was all trashed. I basicly followed the steps from: hxxp://shon.org/blog/?p=25

Ah, got it working, mostly.. just had to run a full fsck on the image, and it worked (took like 6hrs though).
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition Image of SATA Maxtor Drive ? ELEGANCE Linux - Software 2 05-29-2006 10:44 AM
Creating/restoring drive image on USB drive OneSeventeen Linux - Newbie 9 07-06-2005 05:08 AM
Partition Magic / Mirroring / Image / Copying a Whole Drive? ch4os Linux - Newbie 4 01-06-2005 05:39 PM
Slightly OT : Restoring Drive Image to Resized Partition dlocalized Linux - Newbie 10 11-28-2003 02:36 PM
No partition table present on scsi drive How do I restore it? kosiadis Red Hat 1 10-17-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:10 AM.

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