Yeah thanks... I think that's what it wants... Not much works without that 'linux' symlink in /usr/src. so I was kind of wondering how to create it.
While we're on the subject.... I followed the instructions in the docs to the best of my ability I downloaded and installed the sources as directed (in Gentoo it's easy, it's just emerge development-sources) and then ran the following:
Code:
make menuconfig
make bzImage (no need for make dep any more).
make modules
make modules_install
Then I did:
# pwd
/usr/src/linux-2.6.0-test4
# mv arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4
# mv System.map /boot/System.map-2.6.0-test4
# cd /boot
# rm System.map
# ln -s System.map-2.6.0-test4 System.map
Then:
Code:
#nano -w grub.conf
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel (hd1,0)/bzImage-2.6.0-test4 root=/dev/hdb3
As per the instructions for the 2.6 kernel on the main pages of kernel trap. But I hit a couple of snags. Well one major one really... When I did this all I got when I rebooted was a blank screen. Just grub and then nothing...
What am I doing wrong?
I definately edited grub to point to my new kernel and have triple checked it since then, but nothing... just an empty screen...
Any suggestions?
Q
PS
I don't know if it's relevant, but I used a script called genkernel to compile my original working kernel. Genkernel set up an initrd which scanned for new hardware whenever the system rebooted. However Genkernel is not compatable with kernel 2.6 yet, so I did it the old way by hand. The gentoo install instructions say if you do things manually, you shouldn't set up an intrd - so I simply commented out the intrd line in grub in order that it wouldn't be looked for during boot. Also Genkernel gave instructions to install hotplug, so I wonder if this might cuase problems too? Any suggestions anyone has would be extremely welcome.