Open main menu

CDOT Wiki β

Changes

SYA710 Building a New Kernel

308 bytes added, 00:47, 25 November 2008
Building a New Kernel
* create initial ram disk image
** mkinitrd -k vmlinuz-2.6.26 -i initrd-2.6.26 (this did not work for me - mkinitrd considered it do be invalid syntax. Using 'mkinitrd initrd-2.6.26 2.6.26' worked, so try that if the first version gives you problems. - Gregory Masseau)
** For simplicity the syntax of mkinitrd file for here can be as ..
mkinitrd name-of- image kernel-version .i.e mkinitrd initrd-2.6.26 2.6.26
** In generel if we have to create a initrd for the current running system the command i normally use
mkinitrd -v /boot/initrd-$(uname -r).img $(uname-r)
* update GRUB
** vi /boot/grub/menu.lst
* reboot
1
edit