Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Second hang after first boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kami
n00b
n00b


Joined: 30 Oct 2004
Posts: 24

PostPosted: Sun Oct 31, 2004 4:26 am    Post subject: Second hang after first boot Reply with quote

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


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Sun Oct 31, 2004 4:32 am    Post subject: Reply with quote

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


Joined: 30 Oct 2004
Posts: 24

PostPosted: Sun Oct 31, 2004 1:19 pm    Post subject: Reply with quote

I tried to change it, but still get teh same error, any other suggestions?
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Sun Oct 31, 2004 2:18 pm    Post subject: Reply with quote

Are you getting the same error? If so then post the contents of /etc/fstab.
_________________
Come and play in my land
Back to top
View user's profile Send private message
Kami
n00b
n00b


Joined: 30 Oct 2004
Posts: 24

PostPosted: Mon Nov 01, 2004 12:59 am    Post subject: Reply with quote

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


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Mon Nov 01, 2004 1:05 am    Post subject: Reply with quote

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


Joined: 30 Oct 2004
Posts: 24

PostPosted: Mon Nov 01, 2004 2:35 am    Post subject: Reply with quote

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


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Nov 01, 2004 3:00 am    Post subject: Reply with quote

Try the command " dmesg " and look in " less /var/log/kern.log " You should find your errors in them
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Kami
n00b
n00b


Joined: 30 Oct 2004
Posts: 24

PostPosted: Mon Nov 01, 2004 3:06 am    Post subject: Reply with quote

Tried the "less /var/log/kern.log" it says command not found, same goes for "reboot".
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Mon Nov 01, 2004 4:10 am    Post subject: Reply with quote

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


Joined: 30 Oct 2004
Posts: 24

PostPosted: Mon Nov 01, 2004 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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