Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues Booting After Install [SOLVED]
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
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Tue Feb 15, 2005 2:08 pm    Post subject: Issues Booting After Install [SOLVED] Reply with quote

Lo all,

I'm having a no boot issue with my recently installed Gentoo. I used the Stage 1 on Stage 3 NPTL install method and everything was doing fine until I rebooted after completely finishing the install. I'll print out the errors once I can get back control of my computer. My computer starts the boot and then fails accusing that my /root partition isn't mounted and a command of the likes of rc_splash is not found (plus two other things I can't remember off the top of my head). Once again, I will be more specific once I get to use that comp again (currently in use for Windows). Anyways, here's a bit of the information about my comp that might help somehow:

/dev/hda1 - Windows XP - NTFS - 30 GB
/dev/hda2 - Boot - ext2 - 32 MB
/dev/hda3 - Swap - sw - 512 MB
/dev/hda4 - Root - ReiserFS - 9.4 GB

Using GCC 3.4.3.20050110. Amazingly enough, I was able to get a full install running a few days ago using a testing branch ONLY system (with it's inherent instabilities) but it seems I just can't get this install to function properly. Any help would be appreciated. I'll post fstab and grub.conf asap. Thanks.


Last edited by Nemein on Tue Feb 15, 2005 9:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
bet1m
l33t
l33t


Joined: 04 Dec 2004
Posts: 631
Location: Kosova/Prishtine

PostPosted: Tue Feb 15, 2005 2:45 pm    Post subject: Reply with quote

...so post fstab and grub.conf
_________________
#370559
Back to top
View user's profile Send private message
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Tue Feb 15, 2005 4:14 pm    Post subject: Reply with quote

Here goes:

The errors I get:
Code:
* Mounting proc at /proc...
* Mounting sysfs at /sys...
can't create lock file /etc/mtab~1232: Read-only file system (use -n flag to override)

* Mounting ramfs at /dev...
* Configuring system to use udev...
/sbin/rc: line 248: cannot redirect standard input from /dev/null: No such file or directory
* Using /sbin/hotplug for udev management...
* Mounting devpts at /dev/pts...
* Activating (possible) swap...
* Remounting root filesystem read-only (if necessary)
* Checking root filesystem...
Failed to open the device '/dev/hda4': No such file or directory


/sbin/rc: line 250: rc_splash: command not found
* Filesystem couldn't be fixed :(

/dev/console: No such file or directory
Give root password for maintenance
(or type Control-D for normal startup)


Fstab:
Code:
/dev/hda2       /boot        ext2       defaults,noatime   1 1
/dev/hda4      /      reiserfs   notail         0 1
/dev/hda3      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro,user,exec   0 0

none         /proc      proc      defaults      0 0

none         /dev/shm   tmpfs      nodev,nosuid      0 0


And finally fdisk -l:
Code:
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device      Boot   Start   End   Blocks      Id   System
/dev/hda1    *    1   3618   29061553+   7   HPFS/NTFS
/dev/hda2    *    3619   3623   40162+      83   Linux
/dev/hda3       3624   3686   506047+      82   Linux Swap   
/dev/hda4       3687   4865   9470317+   83   Linux



Hope this helps. Thanks in advance.
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Tue Feb 15, 2005 5:18 pm    Post subject: Reply with quote

I'm having the same problem after following the same HOWTO.

My fstab
Code:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1      /boot      ext2      noauto,noatime      1 1
/dev/sda3      /      reiserfs   noatime         0 0
/dev/sda2      none      swap      sw         0 0
/dev/sda5      /opt      reiserfs   noatime         0 0
/dev/sda6      /var      reiserfs   noatime         0 0
/dev/sda7      /tmp      reiserfs   noatime         0 0
/dev/sdb1      /home      reiserfs   noatime         0 0
/dev/sdb2      /usr      reiserfs   noatime         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      user,noauto,ro,exec   0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

none         /dev/shm   tmpfs      defaults      0 0


and my grub.conf
Code:

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# Use Gentoo splash image
splashimage=(hd0,0)/grub/gentoo.xpm.gz

# For booting GNU/Linux
title  Gentoo Linux 2.6.10 - gentoo-dev-sources-r6
root (hd0,0)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/sda3

# For booting GNU/Linux
title  Gentoo Linux 2.6.10 - gentoo-dev-sources-r6, 1600x1200
root (hd0,0)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/sda3 video=vesafb:ywrap,pmipal,1600x1200-24@85 splash-verbose,theme:emergence
initrd (hd0,0)/fbsplash-emergence-1600x1200


If it matters, I try booting the first grub entry.

One thing about the howto that seems suspicious to me regards udev. There is only one
mention of configuration for the file /etc/conf.d/rc. Other than that, no configuration. I haven't
used udev before so I don't know if the lack of configuration could be related to this problem.

jgw
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Tue Feb 15, 2005 7:38 pm    Post subject: Reply with quote

Indeed this is an udev issue. For now I am getting around it
by rebuilding the kernel with devfs, and reversing the suggestions
for /etc/conf.d/rc.

I also removed some of the commands from the default runlevel
(coldplug hotplug xinetd acpid), but I'm not sure if that played a
role in getting the system to boot.

For reference my system is a dell precision 670, dual xeon, with
SATA drives.
Back to top
View user's profile Send private message
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Tue Feb 15, 2005 8:31 pm    Post subject: Reply with quote

Would any of the more experienced Gentoo users be willing to give me some advice as to how I can resolve my issue? I'd greatly appreciate your help. All of the pertinent information is posted above (my fstab, fdisk -l and the errors I get as I load gentoo). Thank you in advance.
Back to top
View user's profile Send private message
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Tue Feb 15, 2005 9:58 pm    Post subject: Reply with quote

Apparently, I came to my senses and checked my kernel and rc.conf and noticed that I had no support for devfs in my kernel yet it is still needed at boot time for one of the filesystems to load correctly. Re-enabling it in the kernel and also selecting to make it auto-mount at boot in the kernel and the sub-sequent recompilation of the kernel solved the problem.
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Tue Feb 15, 2005 11:59 pm    Post subject: Reply with quote

With this solution I don't believe we are using udev, but at least the
system works. I'll leave udev for another day.

jgw
Back to top
View user's profile Send private message
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Wed Feb 16, 2005 12:16 am    Post subject: Reply with quote

I don't know if udev in its current state is a complete substitute for devfs. Anybody with more knowledge about the inner workings of Gentoo could help us clear this matter. As is currently sitting, I have both udev and devfs support on my Gentoo install.
Back to top
View user's profile Send private message
iverasp
n00b
n00b


Joined: 11 Oct 2004
Posts: 58

PostPosted: Sat Feb 19, 2005 1:42 pm    Post subject: Reply with quote

I get the same error message when booting gentoo, after following the stage1 developers guide. I guess Ill have to enable devfs in my kernel too...
Back to top
View user's profile Send private message
Nemein
n00b
n00b


Joined: 26 Jan 2005
Posts: 70
Location: Curitiba / BRAZIL

PostPosted: Sat Feb 19, 2005 9:23 pm    Post subject: Reply with quote

I got rid of devfs after recompiling my kernel and things are as stable as ever running solely on udev. What you have to do is make sure you have /dev/null and /dev/console mounted prior to boot, which was not happening with me and seems to be the problem with you. Go to this page and scroll down to where you'll see the Missing device node files at boot section, under Known Issues. That was exactly the problem I was having and going through those steps should solve things for yah ;) Btw, this is the CORRECT solution for the issue with /dev/null at boot. There's no need to enable devfs :D

Nemein
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