LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11: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, 11:20 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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 11:21 PM.
 
Old 09-20-2010, 11: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 11:31 PM.
 
Old 09-20-2010, 11:32 PM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
do file system check .. it may help
 
Old 09-20-2010, 11: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, 11:37 PM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

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

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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, 08: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 08:35 PM.
 
Old 09-21-2010, 09: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 09:50 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 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 07:19 AM
[SOLVED] qtparted 0.4.4 gives strange message MBA Whore Linux - Software 1 12-07-2006 07:02 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 09:29 AM
Strange error message Tarekaz Linux - Newbie 6 02-16-2006 03:28 PM
strange message kapa SUSE / openSUSE 1 03-10-2005 04:09 AM


All times are GMT -5. The time now is 02:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration