LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2010, 10:13 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Strange message when starting computer.


This puzzling message pops up during startup and forces a reboot:

Code:
Checking root filesystems...
fsck.ext3: No such file or directory while trying to open /dev/hda1
The superblock could not be read or does not describe a correct ext2 filesystem.

If the device is valid and it really contains an ext2 filesystem, then the superblock is corrupt.
This was typed in not copied.

The laptop is running gentoo linux.

Here is the fstab file and instead of having "boot" on its own partition I decided to have both "/" and "boot" in the same partition.

This has never caused any problems before so I don't understand what the problem is now.

fstab:

Code:
/dev/hda1   /boot        ext3    defaults,noatime     1 2
/dev/hda1   /            ext3    noatime              0 1
/dev/hda2   none         swap    sw                   0 0

/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

proc        /proc        proc    defaults             0 0
shm         /dev/shm     tmpfs   nodev,nosuid,noexec  0 0
grub.conf

Code:
root (hd0,0)

kernel /boot/kernel-genkernel-x86-2.6.32-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda1 vga=792

initrd /boot/initramfs-genkernel-x86-2.6.32-gentoo-r7
 
Old 09-20-2010, 10:20 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
The hda nomenclature disappeared ages ago - especially on gentoo.
Change it to whatever "fdisk -l" shows - almost certainly /dev/sda

BTW, you should remove that /boot entry altogether.

Last edited by syg00; 09-20-2010 at 10:21 PM.
 
Old 09-20-2010, 10:29 PM   #3
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by syg00 View Post
The hda nomenclature disappeared ages ago - especially on gentoo.
Change it to whatever "fdisk -l" shows - almost certainly /dev/sda

BTW, you should remove that /boot entry altogether.
It disappeared ages ago... hm...

It still shows up as /dev/hda1 and /dev/hda2 in "fdisk -l"

/dev/sda1 is my usb flash drive. When it is connected of course.

I don't think removing the "/boot" entry in fstab is going to make any difference but I will try anyways.

It should be noted that the laptop is roughly 2 years old.

Last edited by David2010; 09-20-2010 at 10:31 PM.
 
Old 09-20-2010, 10:32 PM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
do file system check .. it may help
 
Old 09-20-2010, 10:34 PM   #5
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by prayag_pjs View Post
do file system check .. it may help
Would

"fsck -t ext3 -y /dev/hda1"

Do the trick or would that cause drastic things to happen to the HDD?
 
Old 09-20-2010, 10:37 PM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
ya do it.. it gives the warning before conduction file system check ... read that
 
Old 09-20-2010, 10:43 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Quote:
Originally Posted by David2010 View Post
It disappeared ages ago... hm...

It still shows up as /dev/hda1 and /dev/hda2 in "fdisk -l"
And that's a genkernel 2.6.32 ?.
Very odd - not that I ever used genkernel.

What does "parted -l /dev/hda" produce ?.
 
Old 09-21-2010, 07:32 PM   #8
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Ok I did this...

e2fsck -f /dev/hda1

mke2fs -n /dev/hda1

e2fsck -f -b 32768 /dev/hda1

fsck -t ext3 -y /dev/hda1

It found the problem and I updated the superblock from 8192 to 32768.

I still have the same problem dispite linux telling me the HDD is fine.

By the way why does the superblock HAVE to be ext2?

I don't have a single ext2 partition on my drive.

Last edited by David2010; 09-21-2010 at 07:35 PM.
 
Old 09-21-2010, 08:48 PM   #9
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
I just decided to put windows xp on the laptop for right now.

I will set it up as a dual boot system with gentoo later on.

At least this way if one fails I can resort to another one to help fix it.

Since the laptop is on the road a good amount of the time, its nice to have the best of both worlds.

Games on one system and functionality/stability on the other.

Last edited by David2010; 09-21-2010 at 08:50 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange message on Slackware 13.0 J_Led Slackware 8 10-15-2009 06:19 AM
[SOLVED] qtparted 0.4.4 gives strange message MBA Whore Linux - Software 1 12-07-2006 06:02 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
Strange error message Tarekaz Linux - Newbie 6 02-16-2006 02:28 PM
strange message kapa SUSE / openSUSE 1 03-10-2005 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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