Suse 10 on HP nc6230 - Kernel Compile

     1 make xconfig -----> GUI/ gtk based

2 make menuconfig ----> ncurses based

3.
After you make all choices save settings into .config file
4.
Run$ nice +19 make bzImage
5.
$ nice +19 make modules This will take a long time so go to sleep...
6.
Run make modules_install
Warning: This will install modules in /lib/modules directory.
7.
cp /usr/src/linux-your-version/arch/i386/boot/bzImage /boot/vmlinuz-your-version
8.
cp /usr/src/linux-your-version/System.map /boot/System.map-2.6.11-version
9.
cp /usr/src/linux-your-version/.config /boot/config-2.6.11-version
10.
Unlink the old vmlinuz, initrd
depmod -ae -F System.map 2.6.14-default
cp /usr/src/linux-2.6.14/System.map /boot/System.map-2.6.14
ln -S /boot/System.map-2.6.14 /boot/System.map

11.
Now execute, mkinitrd -k vmlinuz-2.6.11-version -i initrd-2.6.11-version -b /boot
try mkinitrd -k vmlinuz-2.6.14-default -i initrd-2.6.14-default -b /boot -a acpi_dsdt
done. mkinitrd -k vmlinuz-2.6.14-default -i initrd-2.6.14-default -b /boot
12.
If you have a splash image then (check www.bootsplash.de) enable bootsplash option in the kernel config file .config,
mkinitrd -k vmlinuz-2.6.11.10 -i initrd-2.6.11.10 -s 1024x768 -b /boot
13.
Create softlinks to new vmlinuz, initrd
14.
Edit your grub menu.lst if required

댓글