LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-30-2005, 08:26 PM   #1
PantherX
LQ Newbie
 
Registered: Mar 2005
Location: Antioch, IL
Distribution: (K)Ubuntu
Posts: 4

Rep: Reputation: 0
DD Image mounting & fsck issues


I have an image that I need to restore to a drive. I have been told by someone who talked to the guy who created it that it's a dd image.

If I run 'file filename' I get back the following:
Code:
filename: Linux rev 1.0 ext3 filesystem data (needs journal recovery) (large files)
So then I run 'e2fsck -v -b 32768 filename' on it and then when I do 'file filename' I get:
Code:
filename: Linux rev 1.0 ext3 filesystem data
So far, so good. At this point if I try to mount the file to a loop device:
Code:
mount -t ext3 -o loop filename mountpoint
I get the following error:
EXT3-fs: journal inode is deleted.
mount: wrong fs type, bad option, bad superblock on /dev/loop0
and etc.

I have also tried to do it the following way:
Code:
losetup /dev/loop0 filename
If I run the mount before I do the e2fsck, I get something similar also at that point.

If I try to run fsck on the image I get:
Code:
The filesystem size (according to the superblock) is 28760366 blocks.
The physical size of the device is 27951243 blocks.
Either the superblock or the partition table is likely to be corrupt!
Abort?
If I hit no, I have to sit there and click Y for a TON of inodes. When I was trying that I balanced a screwdriver on the Y key and came back a while later.

About My System:
It's a simple Athlon 1.2GHz nothing special running Fedora Core 3.
It's a fresh install.
The image, if you wondered came off a Dell server about two hours away from here. The goal is to image a drive and be able to do some development and whatnot without bringing the production server down... or having to drive out there, etc.
I do NOT know if the dd image was of the entire drive, or just the root partition, and there really is no way of finding this out as the contractor who did it is in the midst of being fired, and he knows it.

Hopefully someone has been through something similar and can help me out. Suggetions are welcome and well appreciated. I've been googling all sorts of info for the past few days when I get time, but I never seem to get any farther.

If I can't get this to work, I have to start this server from scratch, which I'd like to avoid.

Anyway, TIA!
 
Old 03-30-2005, 09:19 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
it apears the image is corrupt. I suggest that whomever creatred the iamge just tar up the files instead (though this will have to be done from a liveCd while the server is offline. but dd-ing the drive will probably also have to be done while the drive is not in use (probably the cuase of the corruption)
 
Old 03-30-2005, 09:22 PM   #3
PantherX
LQ Newbie
 
Registered: Mar 2005
Location: Antioch, IL
Distribution: (K)Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
That was my fear. I think that I'll just start from scratch instead. Thanks.
 
  


Reply


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
Toast CD Image Mounting Issues christian_delaf Linux - General 1 08-21-2005 11:24 AM
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
tune2fs & fsck backne Mandriva 2 04-26-2005 09:13 AM
fsck help (iTunes & iPhoto data) cholo Linux - Software 0 04-11-2005 11:19 AM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 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