LinuxQuestions.org
Visit Jeremy's Blog.
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 11-26-2005, 12:44 PM   #1
terjus
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
Boot problem - hda1 suddenly has wrong fs


I have Mandriva 2006. Out of the blue, I get a

"VFS: Can't find ext3 filesystem on dev hda1"

when I try to start the machine. Well, I start an install from the install-media just to get to the partition equipment, and this one shows hda1 as ext2, even if it was installed as ext3!?!? What has happened?

Second problem: since I don't seem to be able to boot the system, and since I don't seem to be able to mount this partition, I can't reach etc/lilo.conf to change it to match hda1 with ext2.

Third problem: when I run lsparts in Mandriva rescue, I get only hda2 which is swap and with correct size and hda3, which is /home partition, but this one is listed as 31 GB instead of 60 GB as installed. Hda1 is not seen at all, and that should have been /, and the reason for all of the other problems. How can this happen?

Unfortunately, I have 20 GB of data in /home, but since I can't boot the system, and I don't seem to be able to mount either hda or hdc in Mandrake Move, how can I rescue that data?

I'm practically a noob, so I guess I need an answer in big and easy understandable letters;-)
 
Old 11-26-2005, 04:31 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"when I try to start the machine. Well, I start an install from the install-media just to get to the partition equipment, and this one shows hda1 as ext2, even if it was installed as ext3!?!? What has happened?"

You might be able to fix the problem with fsck. Boot a live cd, make sure that /dev/hda1 is umounted, and run fsck:

umount /dev/hda1
fsck -t ext3 /dev/hda1

----------------------------
Steve Stites
 
Old 11-27-2005, 02:45 PM   #3
terjus
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for answer. I tried it, and it didn't seem like one single inode was correct. And no surprise; I still cannot mount it or boot the system.

When I think of it: I used to have Windows on this PC, and the PC ate the boot sequence in Windows two or three times too. Do I have a defective hard drive or something?

Ideas appreciated.
 
Old 11-27-2005, 04:17 PM   #4
terjus
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
*sigh*

I installed Mandriva over hda1 without touching hda3 (my old /home where the data I hope to save is). Now I can boot the PC without problem, and I tried to run fsck on hda3, and this is the output:
---------------------------------------------------------------------------------------------------------
[root@localhost maria]# fsck -t ext3 -n /dev/hda3
fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
Warning: skipping journal recovery because doing a read-only filesystem check.
home contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Bad block inode has illegal block(s). Clear? no

Illegal block #0 (406970368) in bad block inode. IGNORED.
Illegal block #2 (381382656) in bad block inode. IGNORED.
Illegal block #3 (2147487744) in bad block inode. IGNORED.
Illegal block #4 (452050944) in bad block inode. IGNORED.
Programming error? block #4096 claimed for no reason in process_bad_block.
Illegal block #8 (1132156860) in bad block inode. IGNORED.
Illegal block #9 (1132156860) in bad block inode. IGNORED.
Illegal block #10 (1132156860) in bad block inode. IGNORED.
Root inode is not a directory. Clear? no

Journal is not regular file. Fix? no

Deleted inode 1261890 has zero dtime. Fix? no

Inodes that were part of a corrupted orphan linked list found. Fix? no

Inode 1262364 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Entry '..' in ??? (1261569) has deleted/unused inode 2. Clear? no

Entry '..' in ??? (1261569) has an incorrect filetype (was 2, should be 0).
Fix? no

Entry '..' in ??? (8093697) has deleted/unused inode 2. Clear? no

Entry '..' in ??? (8093697) has an incorrect filetype (was 2, should be 0).
Fix? no

Pass 3: Checking directory connectivity
Root inode not allocated. Allocate? no

Cannot proceed without a root inode.
e2fsck: aborted
---------------------------------------------------------------------------------------------------------------
What does this mean? I don't want to run this without the -n switch unless I know that this is the smartest way to rescue the data, and it's safe to assume that it will work.
 
Old 11-27-2005, 05:00 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,388

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"What does this mean? I don't want to run this without the -n switch unless I know that this is the smartest way to rescue the data, and it's safe to assume that it will work."

It means that you have errors in your file system. You should reply y to all of the questions and fsck will fix the problems.

"Inodes that were part of a corrupted orphan linked list found."

You may end up with some orphan files which fsck will place in lost+found on /dev/hda3. After you run fsck check the hda3 lost+found directory to see if any orphans were collected there.

-----------------------
Steve Stites

Last edited by jailbait; 11-27-2005 at 05:03 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thinkpad - suddenly clock wrong & no mouse under suse woohoo Linux - Hardware 1 09-26-2005 10:56 PM
hda1 /boot dma problem chadi Linux - General 2 12-21-2004 09:42 AM
grub problem, can not boot suddenly gerade Linux - Newbie 3 07-30-2004 05:15 AM
problem on boot because of wrong resolution julian_s Linux - Newbie 1 05-15-2004 11:02 PM
LinNeighborhood suddenly shows wrong shares datadriven Linux - Networking 3 12-19-2003 11:24 AM

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

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