cant compile/install the kernel in the LiveCD i686 install
I can not install a new kernel, even if i do all the instructions in the handbook, i still come out with the same livecd kernel. i ran make && make_mod... and genkernel. it just keep booting in the livecd kernel. I cant use the minimal installer because I use a atheros card and it wont pick that up.
|
Hi, you should try the latest SystemRescueCD LiveCD, it's Gentoo based and it has a pretty recent kernel.
|
tonye,
Did you remember to mount /boot if you have a real boot partition ? Did you update /boot/grub/grub.conf to point to the new kernel (and initrd) file(s) in /boot ? You should copy the existing Code:
title ... Now you have a choice at boot time, just in case your new kernel fails to boot |
Quote:
|
Quote:
|
It will make your wireless connection working when you will boot with this LiveCD at least.
And for you question, not it will not install a kernel. |
Just to be sure:
build the kernel be sure the symlink points to the correct kernel-source Code:
ls -al /usr/src/linux - make menuconfig - make - check that /boot is mounted if you put it on its own partition - like the guide suggests - make modules_install - make install - check /boot/grub/menu.lst (or /boot/grub/grub.conf, which is the same) that the kernels name mentioned there is the one you just installed Code:
ls -al /boot - edit it by adding the newly installed kernel Thats it. There is no initrd involved. Keep the lines which boot the old and working kernel - just add the new kernel like so for instance: Code:
title=Gentoo-2.6.29-gentoo-r5 If you use genkernel this is a little different - and an additional initrd is involved - so there is one more line in grub's config refering to it. Since I don't use genkernel I can't give advise when things are seemingly nor working as they should. My advise is: don't use it - it only makes the whole (easy) process less obvious (IMO) |
kernel build/install
I would highly recommend the "genkernel" for the first few kernel builds/installs.
# install kernel sources: emerge --update sys-kernel/gentoo-sources # install "eselect" utility: emerge --update app-admin/eselect # install "genkernel" utility: emerge --update sys-kernel/genkernel # check available kernel versions (star '*' symbol denotes selected kernel): eselect kernel list Quote:
eselect kernel set 1 # If you have separate "boot" partition then make sure it is already specified in "/etc/fstab" (genkernel uses it for automagical mounting) grep boot /etc/fstab Quote:
genkernel --menuconfig --symlink all # check that new kernel is in place: ls -l /boot/ Quote:
Quote:
|
figured all that out. found out, I dont have the time for gentoo right now, I think I will do it later. as for now, maybe Debian
|
Oh yeah
Debian? Which distro? Debian hd install Debian-Live GRML Hag-Linux Sidux Myrinix LOL... |
All times are GMT -5. The time now is 10:37 PM. |