Forums

Skip to content

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

SOLUTION: Funky startup problem... Please help

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
30 posts
  • 1
  • 2
  • Next
Author
Message
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

SOLUTION: Funky startup problem... Please help

  • Quote

Post by penguinmaster » Mon Mar 29, 2004 8:53 pm

I finished installing Gentoo, and reboot the macine. After rebooting, Grub appears, perfect (i have a dualboot with XP, which I am on now). I select Gentoo, and press enter. It starts up, text flashing on the screen, and then all of a sudden i see a quick scroll of text saying module not found, then a page more of text and then i receive the following:

Step 4: Determining root device
Root block device unspecified or not detected
Please specify a device to boot or "shell" for a shell.

I've tried going into the shell but not many commands are available it seems, or a solution... I'm really frustrated, could someone please help me? :cry:
Last edited by penguinmaster on Thu Apr 01, 2004 2:47 am, edited 1 time in total.
Top
Vulpes_Vulpes
Apprentice
Apprentice
User avatar
Posts: 264
Joined: Wed Dec 10, 2003 9:33 am
Location: Amsterdam

  • Quote

Post by Vulpes_Vulpes » Mon Mar 29, 2004 9:01 pm

Please post your grub.conf, fstab and a list of your partitions.
Top
spb
Retired Dev
Retired Dev
User avatar
Posts: 2135
Joined: Fri Jan 02, 2004 1:18 pm
Location: Cambridge, UK

  • Quote

Post by spb » Mon Mar 29, 2004 9:01 pm

Can you post grub.conf? It looks as though you haven't specified the right root device there.
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 2:26 am

Here's my partition layout:
Hda1 : WinXP (NTFS)
Hda2 : /boot (Ext2)
Hda3 : swap
Hda4 : / (Ext3

here's my grub.conf:

Code: Select all

default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.24
root(hd0,1)
kernel /kernel-2.4.24 root=/dev/hda4
initrd  /initrd-2.4.24

title=Windows XP
root(hd0,0)
chainloader +1
fstab:

Code: Select all

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail and tail freely.

# <fs>          	<mountpoint>    <type>  	<opts>      		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2		/boot		ext2		noauto,noatime		1 2
/dev/hda3		none		swap		sw			0 0
/dev/hda4		/		ext3		noatime			0 1
/dev/cdroms/cdrom0	/mnt/cdrom	auto		noauto,user		0 0
/dev/fd0		/mnt/floppy	auto		noauto,user		0 0

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

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). 
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none			/dev/shm	tmpfs		defaults		0 0
oh ya, and i can get into linux when it asks for a device i put in /dev/hda2, but i don't know how that would work... and when i edited it to that in grub it didn't work.

Also, i have one final error. during linux starting up, the screen will blink for a second, then say this among other startup messages (which aren't errors):

**Can't synthesize input events - /proc/bus/input/devices missing

beats me... :roll:
Top
Vulpes_Vulpes
Apprentice
Apprentice
User avatar
Posts: 264
Joined: Wed Dec 10, 2003 9:33 am
Location: Amsterdam

  • Quote

Post by Vulpes_Vulpes » Tue Mar 30, 2004 9:37 am

You did ofcourse compiled Ext3 support with your kernel??? And devfs? Also 2.4.24 has a security hole so you better update to 2.4.25...
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 6:21 pm

um, i don't think i added Ext3 support, well, i don't remember compiling anything related to Ext3 besides setting the filesystem with: mke2fs -j, and devfs... i don't even remember hearing that name, heheh. Ya looks like i messed up bad. What do i need to do to get it working here? :?
Top
justanothergentoofanatic
Guru
Guru
Posts: 337
Joined: Sun Feb 29, 2004 2:14 am

  • Quote

Post by justanothergentoofanatic » Tue Mar 30, 2004 6:47 pm

You need to boot from the livecd, mount your hard drives, chroot into your installation enviornment again, and recompile/reinstall your kernel.

-Mike
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 9:40 pm

Are you frigen serious... lol, so i basically have to reinstall gentoo... *sigh* OK, i'll do it, fine, :). But how do I get the devfs and ext3 support? And what kernel should i install (command please). Sorry I'm very new to gentoo (and linux i guess) ^_^.
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 9:50 pm

penguinmaster wrote:Are you frigen serious... lol, so i basically have to reinstall gentoo... *sigh* OK, i'll do it, fine, :). But how do I get the devfs and ext3 support? And what kernel should i install (command please). Sorry I'm very new to gentoo (and linux i guess) ^_^.
No, you shouldn't to reinstall everything. You just need to recompile the kernel. Very good instructions for manually configuring your kernel can be found here.
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 10:15 pm

Thanks! Now finally, what kernel should i use, and what's the command for it? also how do i put it the devfs, and ext3 support. Sry for my extreme noobiness.. ^_^ oh ya, after recompiling the kernel, if i still get that error message about not finding /proc/devices or somethin I'll post, and definitely search too. oh and after i recompile the kernel, can i just unmount and restart? how many steps do i need to follow until i can restart? That's all for now, to your relief. Thanks again for all your help, all of you. :D
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 10:36 pm

penguinmaster wrote:Thanks! Now finally, what kernel should i use, and what's the command for it? also how do i put it the devfs, and ext3 support. Sry for my extreme noobiness.. ^_^ oh ya, after recompiling the kernel, if i still get that error message about not finding /proc/devices or somethin I'll post, and definitely search too. oh and after i recompile the kernel, can i just unmount and restart? how many steps do i need to follow until i can restart? That's all for now, to your relief. Thanks again for all your help, all of you. :D
Well, since it looks like you've already got gentoo-sources-2.4.24 installed you might as well stick with that for now. First, boot from the LiveCD, then mount your hard drives, chroot into your installation (like when you were installing). Make sure your /boot partition is mounted as well. Then follow the instructions in 7.c.Default: Manual configuration. When you are done with that section, you'll need to edit your grub.conf as well to make sure it points to whatever you name your newly compiled kernel (or you could just overwrite your current kernel name kernel-2.4.24 and leave grub.conf alone). Once done with that, you can exit the chroot'ed environment and reboot.
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 10:40 pm

Actually i have vanilla-sources-2.4.24, will that affect me or anything? if gentoo-sources is better, I'd like it, would that erase my vanilla-sources kernel (which i wouldn't mind). :)
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 10:45 pm

penguinmaster wrote:Actually i have vanilla-sources-2.4.24, will that affect me or anything? if gentoo-sources is better, I'd like it, would that erase my vanilla-sources kernel (which i wouldn't mind). :)
Nope, just me making a wrong assumption about which kernel you had installed. :oops: Just stick with that one for now. You can always install a different one later, when you feel more comfortable configuring your kernel.

Edit: If you want to try a different kernel, though, you can just

Code: Select all

emerge <kernel-name>
after chrooting into your environment. Then, change the symlink to your kernel. If you installed gentoo-sources-2.4.25, that would go something like:

Code: Select all

cd /usr/src
rm linux
ln -s linux-2.4.25 linux
Then you would follow the instructions on configuring your kernel, edit your grub.conf to point to your new kernel, exit, and reboot.
Last edited by daveb on Tue Mar 30, 2004 10:51 pm, edited 1 time in total.
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 10:51 pm

Whoa, manual configuration! never done that before... :D And i assume that will enable me to provide support for devfs and ext3? And I know you said to leave 2.4.24 as is, but how can i update it?? update = good :)
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 11:01 pm

penguinmaster wrote:Whoa, manual configuration! never done that before... :D And i assume that will enable me to provide support for devfs and ext3? And I know you said to leave 2.4.24 as is, but how can i update it?? update = good :)
If you don't feel comfortable doing manual configuration, you can always use the genkernel script to do it all automatically for you (you still need to make sure that you mount /boot first) by following the instructions in the section that follows manual configuration, but I've seen a fairly sizeable number of people having problems with it. I used it the first time I installed Gentoo (never having done manual config before either), but have updated and upgraded manually numerous time since then and never looked back. In my opinion, you might as well learn how to do it now, because at some point or another you'll end up wanting to anyways. The tricky part (at first) is figuring out which options to include or create as modules, but if you have a good idea of the hardware in your computer its not so bad (it'll just take some time). The configuration tool has help for most of the options so you can just take your time and read the help if you are not sure about specific options. Just be sure to enable what the Install Handbook tells you to, otherwise I guarantee that it won't work.

And yes it will allow you to enable support for a large number of file systems if you so desire.

As for updating, or changing your kernel, read the edit to my post above. (Which I was typing as you were posting :) )
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 11:08 pm

Thanks again! but time is short at the moment and i'll cut you a deal, right now I'll do a genkernel, and maybe this weekend I'll go for a manual config ^_^. If i use genkernel, how would i include the ext3 support and defs? I still need that list vital piece of info and then I'll be off! :D
Top
Rainmaker
Veteran
Veteran
User avatar
Posts: 1650
Joined: Thu Feb 12, 2004 2:04 am
Location: /home/NL/ehv/

  • Quote

Post by Rainmaker » Tue Mar 30, 2004 11:16 pm

slightly offtopic:

if you're really short of time: a manual configuration is actually faster then a run from genkernel. Reason is that genkernel compiles a kernel with as much compatibility (hardware support, modules, option etc.) as possible. If you do a manual configuration, it only compiles the modules you selected, which saves you time.

even more offtopic:

edit /etc/make.conf and disable optimization for faster compiling (remove -O3 from MAKEOPTS)
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 11:17 pm

Genkernel should do it automatically, since Gentoo required devfs and ext3 is a very commonly used filesystem. Just remember to mount your boot partition first, and note that genkernel will name your kernel for you. It tells you at some point what it is naming your kernel and also your initrd, which genkernel creates and will then be necessary for booting. Make sure you write these names down, because will have to modify your grub.conf as discussed here. Follow the section on grub for genkernel users -- it's a little different from the way you have it set up now.

Good luck. :)
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 11:24 pm

Hold UP! since i already used genkernel to install my current kernel, why am I having a problem here?! >_< supposedly nothing should be wrong, so to be blunt, WTF!
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 11:29 pm

Well, then try editing grub.conf following the instructions for genkernel users. If that doesn't work, I'll just count you among the rest that have had problems with genkernel.
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 11:42 pm

well i did follow the instructions for my initial editing of grub.conf.......

EDIT: Also, if you didn't read earlier, when i get the error, and it asks to specify what device to load, if i specify /dev/hda2, it will boot, but that makes no sense to me...
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 11:50 pm

penguinmaster wrote:
here's my grub.conf:

Code: Select all

default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.24
root(hd0,1)
kernel /kernel-2.4.24 root=/dev/hda4
initrd  /initrd-2.4.24

title=Windows XP
root(hd0,0)
chainloader +1
And from the install docs:
Code Listing 6: grub.conf for genkernel users

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.24
root (hd0,0)
kernel /kernel-2.4.24 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd /initrd-2.4.24

# Only in case you want to dual-boot
title=Windows XP
root (hd0,5)
chainloader +1
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Tue Mar 30, 2004 11:52 pm

omg dude sry. I can explain: I printed out some of the documentation for when i installed... and that text you included did not get printed! I'm going to edit that right now! thanks! :D

EDIT: o wait, i think it changed or somethin, cause my printed page is a bit different on that line of code.. O well. leme go try
Top
daveb
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Thu Nov 20, 2003 9:28 pm
Location: In front of my computer, duh!

  • Quote

Post by daveb » Tue Mar 30, 2004 11:56 pm

Heh. :wink: I just hope that fixes your problem.
WARNING: Not reading the Gentoo Handbook can be hazardous to your computer!
Top
penguinmaster
n00b
n00b
Posts: 19
Joined: Mon Mar 29, 2004 8:44 pm

  • Quote

Post by penguinmaster » Wed Mar 31, 2004 12:00 am

zeee problem is fixed! woo hoo! but i still get that other error during startup:

** Can't synthesize input events - /proc/bus/input/devices missing. What is this doing?
Top
Post Reply

30 posts
  • 1
  • 2
  • Next

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

 

 

magic