Kernel rebuild for openSUSE 11.2
Ref: /usr/src/linux/README.SUSE
Prepare:
backup boot menu: cp /boot/grub/menu.lst /boot/grub/menu.bak
Configure:
cd /usr/src/linux
make clean (optional)
make mrproper (optional)
cp /boot/config-2.6.27.xx-x-pae .config
or make cloneconfig
make menuconfig (save new config, ex: vmlinuz-2.6.27.x-x-new)
make
make modules_install
make install
or make -j 8 && make modules_install && make install
Confirm:
Verify that the new /boot/grub/menu.lst
Verify the /boot directory:
/boot/initrd-2.6.27.x-x-new
/boot/System.map-2.6.27.x-x-new
/boot/vmlinuz-2.6.27.x-x-new
Verify:
/etc/grub.conf
/boot/grub/device.map
ReBoot – done
File systems:
lsscsi
fdisk /dev/sdb (c to i)
for d in {b..i}; do mkfs.ext3 /dev/sd[$d]1;done
for d in {b..i}; do mount /dev/sd[$d]1 /mnt/sd$d; done
df -k