Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Issues Booting After Install [SOLVED]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

Issues Booting After Install [SOLVED]

  • Quote

Post by Nemein » Tue Feb 15, 2005 2:08 pm

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.
Top
bet1m
l33t
l33t
User avatar
Posts: 631
Joined: Sat Dec 04, 2004 10:00 pm
Location: Kosova/Prishtine
Contact:
Contact bet1m
Website

  • Quote

Post by bet1m » Tue Feb 15, 2005 2:45 pm

...so post fstab and grub.conf
#370559
Top
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

  • Quote

Post by Nemein » Tue Feb 15, 2005 4:14 pm

Here goes:

The errors I get:

Code: Select all

* 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: Select all

/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: Select all

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.
Top
wobbly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 146
Joined: Wed Apr 23, 2003 8:21 pm

  • Quote

Post by wobbly » Tue Feb 15, 2005 5:18 pm

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

My fstab

Code: Select all

# 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: Select all

# 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
Top
wobbly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 146
Joined: Wed Apr 23, 2003 8:21 pm

  • Quote

Post by wobbly » Tue Feb 15, 2005 7:38 pm

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.
Top
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

  • Quote

Post by Nemein » Tue Feb 15, 2005 8:31 pm

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.
Top
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

  • Quote

Post by Nemein » Tue Feb 15, 2005 9:58 pm

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.
Top
wobbly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 146
Joined: Wed Apr 23, 2003 8:21 pm

  • Quote

Post by wobbly » Tue Feb 15, 2005 11:59 pm

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
Top
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

  • Quote

Post by Nemein » Wed Feb 16, 2005 12:16 am

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.
Top
iverasp
n00b
n00b
Posts: 58
Joined: Mon Oct 11, 2004 8:04 pm

  • Quote

Post by iverasp » Sat Feb 19, 2005 1:42 pm

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...
Top
Nemein
n00b
n00b
User avatar
Posts: 70
Joined: Wed Jan 26, 2005 4:21 pm
Location: Curitiba / BRAZIL

  • Quote

Post by Nemein » Sat Feb 19, 2005 9:23 pm

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
Top
Post Reply

11 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy