View previous topic :: View next topic |
Author |
Message |
GeddyT n00b
Joined: 20 Oct 2005 Posts: 13 Location: Bellingham, WA, USA
|
Posted: Tue Nov 01, 2005 10:49 pm Post subject: Error at reboot [solved] |
|
|
This is a situation exactly like what was going on in this post: https://forums.gentoo.org/viewtopic-t-397390-highlight-ext2fscheckifmount+directory+determining+whether+dev+root+mounted.html
except the solution for him didn't work at all for me.
I've tried stage 2 install with manual kernel config and GRUB and no dice. I've tried stage2/genkernel/GRUB and no dice. I've tried stage3/genkernel/lilo and no dice. I've tried pretty much every combination of everything and just cannot get this thing to boot up properly into Gentoo.
Currently, I used a stage3 install, manual kernel configuration, and lilo as the bootloader. When rebooting, it gets to "checking root filesystem" and then spits out:
ext2fs_check_if_mount: No such file or directory while determining whether /dev/ROOT is mounted.
fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:
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 8139 <device>
My fstab and lilo.conf are DIRECTLY out of the manual. I don't get it!
So, following the advice of the poster in the above-linked similar post, I rebooted into the LiveCD and typed:
Code: | mkdir /mnt/gentoo
mount -t ext3 /dev/hda3 /mnt/gentoo
nano -w /mnt/gentoo/etc/fstab |
The first line returned an error because /mnt/gentoo already existed. But I did the rest, then checked my fstab.
Contents of /mnt/gentoo/etc/fstab:
Code: |
/dev/BOOT /boot ext2 defaults, noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
Contents of /etc/lilo.conf:
Code: |
boot=/dev/hda
prompt
timeout=50
default=gentoo
image=/boot/kernel-2.6.13-gentoo-r5
label=gentoo
read-only
root=/dev/hda3 |
Am I missing something? _________________ We beat Penecillan!
Last edited by GeddyT on Tue Nov 01, 2005 11:10 pm; edited 1 time in total |
|
Back to top |
|
|
GeddyT n00b
Joined: 20 Oct 2005 Posts: 13 Location: Bellingham, WA, USA
|
Posted: Tue Nov 01, 2005 10:50 pm Post subject: |
|
|
Hmmm.... the contents of my fstab were much more lined up and pretty when I typed them in. Sorry. _________________ We beat Penecillan! |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Tue Nov 01, 2005 10:55 pm Post subject: |
|
|
Hi.
You didn't read the link you've posted very carefully. The problem is that you're using the default /etc/fstab
Code: | /dev/BOOT /boot ext2 defaults, noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
You have to replace the /dev/BOOT, /dev/ROOT and /dev/SWAP entries for the appropriate partitions. If you used /dev/hda1 for /boot, /dev/hda2 for swap, /dev/hda3 for your root partition and ext2 for /boot and ext3 for /, your file should look like this
Code: | /dev/hda1 /boot ext2 defaults, noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
GeddyT n00b
Joined: 20 Oct 2005 Posts: 13 Location: Bellingham, WA, USA
|
Posted: Tue Nov 01, 2005 11:10 pm Post subject: |
|
|
Oh, damn! THANK YOU! This culminates three weeks of trying to boot into Gentoo. Thank you. _________________ We beat Penecillan! |
|
Back to top |
|
|
|
|
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
|
|