Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 06-12-2009, 10:25 PM   #1
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Missed one step step in install now gentoo wont boot

I installed Gentoo from my Debian installation. Followed 'The Gentoo Linux alternative installation method HOWTO' but missed one important step, flushing the environment during chroot.

env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash
When booting Gentoo I get this message:

Activating mdev
Determing root device
Mounting root...
Booting (initramfs)>> ERROR: your real /dev is missing files required to boot (console and null)..
Switch_root: Can't open '/dev/console': No such file or directory

Then the Kernel panics.

My question is do I need to re-install or can this be fixed.

I've tryed using MAKEDEV to install /dev/console but no luck.

Tried two kernels, one I compiled myself and the genkernel.

Thanks in advance for any help.
Old 06-13-2009, 07:06 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,379

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Simple mknode for both will do - use your Debian system as an example. Either chroot into the gentoo system (if you can), or merely use the mountpoint.
Old 06-15-2009, 07:57 AM   #3
LQ Newbie
Registered: Apr 2008
Location: Russia, Moscow
Distribution: Gentoo
Posts: 6

Rep: Reputation: 1
Cool some stage3 archives lack necessary items

Some "stage3" archives lack few items (like /dev/console and /dev/null) necessary for boot.
To fix your installation, you need to:
- mount your gentoo root device in read/write mode (for example to /mnt/gentoo)
- create missing pseudo-files (something like the following):
mknod /mnt/gentoo/dev/console c 5 1
mknod /mnt/gentoo/dev/null c 1 3
- unmount your gentoo root device or execute "sync" command
- reboot
Old 06-15-2009, 01:37 PM   #4
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Sorry for the late response but work called and I had to go.

Thanks to syg00 and mkborg I was able to get Gentoo to boot, now all I have to do is build my own kernel, install Gnome then enjoy.

Thanks again guys.

Last edited by 62chevy; 06-15-2009 at 01:38 PM. Reason: missed words :(
Old 06-15-2009, 10:24 PM   #5
Gentoo support team
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Good luck, more specific for your kernel :P
Old 06-16-2009, 07:50 AM   #6
LQ Newbie
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Good Luck!
Another way is to simply copy necessary files from another stage3 tarball.
Once I removed entire /dev directory (devfs unmounted) on working system and this method helped me to "restore" my system )

Last edited by mcdebugger; 06-16-2009 at 07:55 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 11:43 AM
Dual Boot Fedora 8 and XP Not Working Need Step by Step Help kingzappa Linux - Newbie 9 01-19-2009 06:08 PM
Install Netgear wg311v wireless card on Fedora Core 6 (step by step help thanks!) jpop Linux - Hardware 1 03-07-2007 01:16 PM
Need a step by step instruction to dual boot knoppix and XP on the 1 hdd Andrewt84 Linux - Newbie 2 10-11-2005 07:41 AM
Step by step procedure in replacing Red Hat 9.0 by Ubuntu in my dual boot XP/linux charliemerleau Linux - Software 1 10-04-2005 02:12 AM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration