Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
e2fsck and booting error, can't boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
newmacuser
n00b
n00b


Joined: 03 Dec 2004
Posts: 6

PostPosted: Tue Dec 07, 2004 8:16 am    Post subject: e2fsck and booting error, can't boot Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Dec 07, 2004 9:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Skinny
n00b
n00b


Joined: 07 Dec 2004
Posts: 2

PostPosted: Tue Dec 07, 2004 1:22 pm    Post subject: Reply with quote

I'm having the same issue. I will defer you to this post which I'm about to try today.

https://forums.gentoo.org/viewtopic.php?t=261710
Back to top
View user's profile Send private message
newmacuser
n00b
n00b


Joined: 03 Dec 2004
Posts: 6

PostPosted: Tue Dec 07, 2004 5:45 pm    Post subject: Reply with quote

adaptr wrote:
So - have you tried the solution it presents ?


Yes, but it still boots with the same error.

Any suggestions?
Back to top
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Tue Dec 07, 2004 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
newmacuser
n00b
n00b


Joined: 03 Dec 2004
Posts: 6

PostPosted: Tue Dec 07, 2004 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Wed Dec 08, 2004 10:11 am    Post subject: Reply with quote

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 :cry:)
Back to top
View user's profile Send private message
newmacuser
n00b
n00b


Joined: 03 Dec 2004
Posts: 6

PostPosted: Thu Dec 09, 2004 2:45 am    Post subject: Reply with quote

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 :cry:)


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
View user's profile Send private message
Tuna
Guru
Guru


Joined: 19 Jul 2002
Posts: 485
Location: Berlin

PostPosted: Thu Dec 09, 2004 10:19 am    Post subject: Reply with quote

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
View user's profile Send private message
newmacuser
n00b
n00b


Joined: 03 Dec 2004
Posts: 6

PostPosted: Thu Dec 09, 2004 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Skinny
n00b
n00b


Joined: 07 Dec 2004
Posts: 2

PostPosted: Fri Dec 10, 2004 4:28 pm    Post subject: emerged devfsd Reply with quote

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
View user's profile Send private message
tilak
n00b
n00b


Joined: 08 Jan 2005
Posts: 4

PostPosted: Sat Jan 08, 2005 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum