View previous topic :: View next topic |
Author |
Message |
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Sun Oct 31, 2004 4:26 am Post subject: Second hang after first boot |
|
|
This is the second time I finish install all the way through Grub, after I restart this time it passed through hde and hangs at the lines
Code: | * Checking root filesystem...
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 file system, If the device is valid and it really contains an ext2 filesystem, then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <Device>
*Filesystem couldn't be fixed :(
Give root password for maintenance |
Fifth attempts today and still failed.
Someone help with the problem so I dont have to reinstall again. |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Sun Oct 31, 2004 4:32 am Post subject: |
|
|
Try loading off the livecd and change the line in your fstab that says /dev/ROOT to what it should be.. Ex. /dev/hda3 _________________ Come and play in my land |
|
Back to top |
|
|
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Sun Oct 31, 2004 1:19 pm Post subject: |
|
|
I tried to change it, but still get teh same error, any other suggestions? |
|
Back to top |
|
|
Lajasha Veteran
Joined: 17 Mar 2004 Posts: 1040 Location: Vibe Central
|
Posted: Sun Oct 31, 2004 2:18 pm Post subject: |
|
|
Are you getting the same error? If so then post the contents of /etc/fstab. _________________ Come and play in my land |
|
Back to top |
|
|
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Mon Nov 01, 2004 12:59 am Post subject: |
|
|
I installed Gentoo in hdb, nothing is connected to hda, and I have XP installed in sda, I try to boot linux from hdb and XP from sda, thus it becomes a little confusing.
Here's the fstab
Code: |
/dev/BOOT /boot ext2 noauto,naotime 1 2
/dev/ROOT / ext3 naotime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
and here's my grub.conf
Code: | Default 0
timeout 5
title: Gentoo Linux
root (hd0,0) #somewhere during the grub install, it says hd0 is hdb, and hd1 is sda
kernel /kernel-2.4.26-gentoo-r6 ramdisk=8192 real_root=/dev/hdb3 init=/linuxrc |
|
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Mon Nov 01, 2004 1:05 am Post subject: |
|
|
Kami wrote: | I installed Gentoo in hdb, nothing is connected to hda, and I have XP installed in sda, I try to boot linux from hdb and XP from sda, thus it becomes a little confusing.
Here's the fstab
Code: |
/dev/BOOT /boot ext2 noauto,naotime 1 2
/dev/ROOT / ext3 naotime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
|
instead of /dev/BOOT you should put /dev/hdb1, if your boot partition is on the first partition of the second drive.
same goes for /dev/ROOT and /dev/SWAP! |
|
Back to top |
|
|
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Mon Nov 01, 2004 2:35 am Post subject: |
|
|
It worked!
However, during the system load up, I saw some errors, it passed by so fast I couldnt recall, and I am not able to add a user, says command not found. Is there still something wrong with my system?
And how can I get to a kde or gnome desktop |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Mon Nov 01, 2004 3:06 am Post subject: |
|
|
Tried the "less /var/log/kern.log" it says command not found, same goes for "reboot". |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Mon Nov 01, 2004 4:10 am Post subject: |
|
|
Reboot with your install cd mount your partitions, proc, and then do the chroot thighy (chroot env-update source /etc/profile) and then try tose commands. If your system boots but has errors in the kernel boot then you will need to recompile it and the info you need is in those files. _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
Kami n00b
Joined: 30 Oct 2004 Posts: 24
|
Posted: Mon Nov 01, 2004 8:22 pm Post subject: |
|
|
I did "env-update source /etc/profile" but I still cannot use the commands, and I still get the filesystem error, all I need to do is recompile genkernel? |
|
Back to top |
|
|
|