View previous topic :: View next topic |
Author |
Message |
kaseyd24 n00b
Joined: 03 Jun 2005 Posts: 2
|
Posted: Sat Jun 04, 2005 3:32 am Post subject: Filesystem Coundn't be fixed :( |
|
|
I am booting up, which is furthest I have gotten.
Now after the
checking root filesystem...
fsck.ext2: is a directory while trying to open/
/:
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 (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
* filesystem couldn't be fixed
I have given my
/dev/hda1 and
/dev/hda3 both ext3 filesystems
Any ideas? |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Jun 04, 2005 3:41 am Post subject: |
|
|
Post your fstab, it's probably some kind of error there. Also, are you sure you formatted them in ext3 and not ext2 by accident? _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
projectle Tux's lil' helper
Joined: 30 Jan 2005 Posts: 90
|
Posted: Sat Jun 04, 2005 6:24 am Post subject: |
|
|
It is most likely a problem with your fstab... probably forgot to write it when installing.
This is the standard message that you get when the kernel can not even see that the hard drive exists. |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Jun 04, 2005 3:09 pm Post subject: |
|
|
projectle wrote: | It is most likely a problem with your fstab... probably forgot to write it when installing.
This is the standard message that you get when the kernel can not even see that the hard drive exists. | No, that message is "Kernel Panic: VFS: Unable to mount root fs", and it has nothing to do with your fstab (what does the fstab matter if the kernel can't read it because it doesn't even know where your root partition is ). This error message is from fsck.ext2, not the kernel, and it means that your partition isn't formatted in ext2/ext3, but you've told init that it is in your fstab, so it runs fsck.ext2 against a non ext2/ext3 partition. So, from it's point of view, your filesystem is messed up beyond recongnition. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
Seather Apprentice
Joined: 23 May 2003 Posts: 194 Location: South Africa
|
Posted: Mon Jun 06, 2005 12:15 am Post subject: |
|
|
Make sure the kernel has your /dev/hda3 and /dev/hda1 entries available! That error will come up if they're not there! (this happens when compiling a kernel with devfs on a 2005.0 install for example...) |
|
Back to top |
|
|
Jim6 Tux's lil' helper
Joined: 08 Apr 2005 Posts: 102
|
Posted: Tue Jun 07, 2005 11:11 am Post subject: |
|
|
What do you mean by that? I'm having this problem too
I definitely have ext3 support compiled into the kernel, if that's what you mean. Also, it's not the hardware; e2fsck running from a Knoppix cd thinks that the drive's fine.
~> Since the partition works grand under Knoppix (I can mount it, and use it happily) surely it's formatted right, no?
Edit:
Problem solved! Looks like 2005.0 uses udev and not devfs!
Open up your grub.conf, and change your kernel line to read:
Code: | kernel /(kernel name) root=(root partition) devfs=nomount gentoo=udev |
Problem solved! |
|
Back to top |
|
|
Seather Apprentice
Joined: 23 May 2003 Posts: 194 Location: South Africa
|
Posted: Tue Jun 07, 2005 12:12 pm Post subject: |
|
|
Yes is what I said, if you build a kernel with "automatically mount devfs on boot" switched on, the root /dev/hdXX entry will not be available and it will fail to mount. |
|
Back to top |
|
|
96140 Retired Dev
Joined: 23 Jan 2005 Posts: 1324
|
Posted: Tue Jun 07, 2005 10:09 pm Post subject: |
|
|
If your problem is now solved, please put [SOLVED] in the thread subject line. |
|
Back to top |
|
|
|