Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-13-2005, 11:29 AM
|
#1
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Rep:
|
GENTOO - "init=/linuxrc" (/linuxrc: not found | kernel panic!!)
I'm finishing up my stage 3 install.. it's so wonderful to see it all start coming together..i hope to do a stage 1 at home once i get more comfortable.. this is on my notebook, that's why i did a stage 3...
anyways.. i have finished setting up grub and everything.. it comes up with both Gentoo and Windows.. and selecting gentoo starts loading the kernel.. then I get errors about /linuxrc not being found and whatnot..
i didn't do anything with that other than add "init=/linuxrc" to the kernel loader in grub.conf
i was following the x86-quickinstall guide..and i also looked through the handbook and couldn't figure what i need to do..
someone please help, or point me to the necessary docs..
it's not a big dealto fix becausei can just chroot into it using the liveCD.. i just need to kow if there's something i need to emerge or what?
|
|
|
01-13-2005, 08:33 PM
|
#2
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
What did you write down?Form the handbook
Code:
genkernel all
Once genkernel completes, a kernel, full set of modules and initial root disk (initrd) will be created. We will use the kernel and initrd when configuring a boot loader later in this document. Write down the names of the kernel and initrd as you will need it when writing the bootloader configuration file. The initrd will be started immediately after booting to perform hardware autodetection (just like on the Live CD) before your "real" system starts up.
Also if you could post your /boot/grub/grub.conf that would help.Did you emerge hotplug and coldplug and add them to the default runlevel?
Also you need /dev/ram0 in your kernel line something like this for genkernel;
Code:
title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.26-gentoo-r9
Last edited by comprookie2000; 01-13-2005 at 08:43 PM.
|
|
|
01-13-2005, 08:40 PM
|
#3
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Original Poster
Rep:
|
here's my grub.conf:
Code:
default 0
timeout 30
splashimage=(hd0,3)/grub/splash.xpm.gz
title=Gentoo
root (hd0,3)
kernel /kernel-2.6.10-gentoo-r4 root=/dev/ram0 init=/linuxrc real_root=/dev/hda4
initrd /initrd-2.6.10-gentoo-r4
title=Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
No i did not emerge hotplug or coldplug.. actually I was just following the directions for the
x86-quickinstall... which will get a booting system up.. which is all i want.. then I'll do
everything else..
|
|
|
01-13-2005, 08:56 PM
|
#4
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
I would cd /usr/src/linux make menuconfig and select * for your filesystem and drives (compile support directly into the kernel and select M for your soundcard and ethernet card and anything else you want then make && make_modules install then make install.The kernel will be vmlinuz then I emerge udev emerge hotplug and emerge coldplug and add them to the default runlevel rc-update add hotplug default then rc-update add coldplug default,that is if you can't get genkernel to boot.I have never used genkernel so can't help much,good luck
|
|
|
01-13-2005, 09:16 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 18
Rep:
|
I had the same prob, if worse comes to worse try a stage 1, fixed it for me. It isn't hard at all, you just have like 3 more lines of code and one more file to config.
|
|
|
01-14-2005, 08:06 AM
|
#6
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Original Poster
Rep:
|
doesn't a stage 1 take like well over a week?? I tried a stage 2 a few months back.. but got too busy with work to keep going.. I spent like 3 days on it...
I don't know, perhaps I will try a stage 1 later... I just really would like to get this working... thanks for the help...
|
|
|
01-14-2005, 01:03 PM
|
#7
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Original Poster
Rep:
|
i fixed it.. the "real_root" section should have been going towards /dev/hda2 rather than hda4...
I am now booted up, and currently compiling Xorg.. thanks for the help guys..
|
|
|
All times are GMT -5. The time now is 01:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|