마스커 레이딩을 하기 위해서 2.4.7-10 에서 2.4.8로 커널 컴파일을 했습니
다.
순서는
make menuconfig
iptables 패치 한 다음에
make dep
make bzImage
여기에서
bsetup.s:Assembler messages:
bsetup.s:1351: warning: indirect lcall without '*'
Root device is (3,1)
Boot sector 512 bytes.
setup is 2404 bytes.
System is 974 kB
warning: kernel is too big for standalone boot from floppy
이런 메시지가 나오지만 무시하고,
rm -f /boot/vmlinuz
cp bzImage /boot/bzImage_diff
ln -s bzImage_diff vmlinuz
depmod -a 2.4.8
mkinitrd /boot/initrd-2.4.8.img 2.4.8
vi /etc/lilo.conf
image=/boot/vmlinuz
label=new
initrd=/boot/initrd-2.4.8.img
read-only
root=/dev/hda1
위의 줄을 추가한 다음
lilo
한다음에...
shutdown -r now
하고 나서
new로 부팅을 한다고 하면,
Loading new.....
Uncompressing Linux... Ok, booting the kernel.
요기까지만 나오고 부팅이 안됩니다.--[★ Korean-MANGNANI-Hacker ★]