View previous topic :: View next topic |
Author |
Message |
newmacuser n00b
Joined: 03 Dec 2004 Posts: 6
|
Posted: Tue Dec 07, 2004 8:16 am Post subject: e2fsck and booting error, can't boot |
|
|
I have a B&W that I'm trying to install with the Live CD. It seems to install fine with no errors and I'm pretty sure that my fstab is right. But....
This is the error message I'm getting when trying to boot:
ext2fs_check_if_mount: No such file or directory while determing whether /dev/hda4 is mounted.
fsck.ext2: No such file or directory while trying to open /dev/hda4
/dev/hda4:
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
I've been through the forums and I don't see any answers for why this is happening. BTW I've tried two different hard drives so I don't think that's the problem.
Any ideas? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Tue Dec 07, 2004 9:45 am Post subject: |
|
|
So - have you tried the solution it presents ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Skinny n00b
Joined: 07 Dec 2004 Posts: 2
|
|
Back to top |
|
|
newmacuser n00b
Joined: 03 Dec 2004 Posts: 6
|
Posted: Tue Dec 07, 2004 5:45 pm Post subject: |
|
|
adaptr wrote: | So - have you tried the solution it presents ? |
Yes, but it still boots with the same error.
Any suggestions? |
|
Back to top |
|
|
Tuna Guru
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Tue Dec 07, 2004 6:04 pm Post subject: |
|
|
sounds like a devfs error to me if /dev/sda4 is a 404. or the partition table may be corrupted. try booting the livecd and test if you can mount /dev/sda4. if so try emerging udev in your chrooted enviroment. i had less hickups with udev than devfs. |
|
Back to top |
|
|
newmacuser n00b
Joined: 03 Dec 2004 Posts: 6
|
Posted: Tue Dec 07, 2004 7:23 pm Post subject: |
|
|
Tuna wrote: | sounds like a devfs error to me if /dev/sda4 is a 404. or the partition table may be corrupted. try booting the livecd and test if you can mount /dev/sda4. if so try emerging udev in your chrooted enviroment. i had less hickups with udev than devfs. |
Can't mount /dev/sda4 but I don't think that exists. My mtab reads:
/dev/hda4 / ext2 rw,noatime 0 0
BTW I tried to emerge udev but it tries to go to the mirrors and I don't have an internet connection.
Still looking for an answer.... |
|
Back to top |
|
|
Tuna Guru
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Wed Dec 08, 2004 10:11 am Post subject: |
|
|
sorry.. my fault.. i meant hda4 of course. get yourself a copy of the appropiate udev version and copy it over to the box (/usr/portage/distfiles). or try to create the device node yourself with mknod. (no i dont know how.. read the man page ) |
|
Back to top |
|
|
newmacuser n00b
Joined: 03 Dec 2004 Posts: 6
|
Posted: Thu Dec 09, 2004 2:45 am Post subject: |
|
|
Tuna wrote: | sorry.. my fault.. i meant hda4 of course. get yourself a copy of the appropiate udev version and copy it over to the box (/usr/portage/distfiles). or try to create the device node yourself with mknod. (no i dont know how.. read the man page ) |
No worries.
BTW where can I get an appropriate copy of udev? If I can download it I think I have a way of getting it into the /usr/portage/distfiles directory. I don't know about mknod at all. |
|
Back to top |
|
|
Tuna Guru
Joined: 19 Jul 2002 Posts: 485 Location: Berlin
|
Posted: Thu Dec 09, 2004 10:19 am Post subject: |
|
|
for future use a small guide :-)
Code: | $ emerge -s udev
* sys-fs/udev
Latest version available: 046
Latest version installed: 030
Size of downloaded files: 350 kB
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
License: GPL-2 |
look at latest version available.. remember that. go to the Homepage of the package. look for a download.. get the exact version you want (http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/udev-046.tar.bz2) and copy that to the distfiles dir. try emerge udev again and it should start.. if your unlucky it needs some additional files.. you have to download them too then. just look at the url what it wants to fetch while emerge. |
|
Back to top |
|
|
newmacuser n00b
Joined: 03 Dec 2004 Posts: 6
|
Posted: Thu Dec 09, 2004 10:42 pm Post subject: |
|
|
Thanks for the help.
I was able to get the udev file in and emerge it but it's still messed up and refuses to boot. I gave it a shot.
Maybe this B&W just doesn't like Gentoo.
I don't have time to keep after this but it was interesting trying. |
|
Back to top |
|
|
Skinny n00b
Joined: 07 Dec 2004 Posts: 2
|
Posted: Fri Dec 10, 2004 4:28 pm Post subject: emerged devfsd |
|
|
For consistency's sake I started from scratch with a 2004.3 stage 3 install 2.6.7-rc14. I emerged devfsd before creating my .config and compiling and this time I was able to successfully boot without error.
In the past, after I received the error I emerged devfsd and recompiled the kernel but I still had issues. I'm not sure why that would be though. |
|
Back to top |
|
|
tilak n00b
Joined: 08 Jan 2005 Posts: 4
|
Posted: Sat Jan 08, 2005 7:54 pm Post subject: |
|
|
If you are still interested i had the same problem but in my case i did not mount the gentoo
this might be your too |
|
Back to top |
|
|
|