Slackware 10.2. How-To compile the kernel.
user@pc # cd /usr/src/linux
user@pc # make mrproper
user@pc # make menuconfig
<... edit there ...>
user@pc # make dep
user@pc # make clean
user@pc # make bzImage
user@pc # make modules
<... if any ...>
user@pc # mv /boot/vmlinuz /boot/vmlinuz.generic
user@pc # cat arch/i386/boot/bzImage > /boot/bzImage.ipf
user@pc # mv /boot/System.map /boot/System.map.generic
user@pc # cp System.map /boot/System.map
user@pc # make modules_install
<... if any ...>user@pc # cat /etc/lilo.conf
# LILO configuration file
# generated by ‘liloconfig’
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 60
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# End LILO global section
#
# Linux bootable partition config begins
# manual compiler kernel whith ipTables
image = /boot/bzImage.ipf
root = /dev/hda2
label = boot.ipf
read-only
# Linux bootable partition config
image = /boot/vmlinuz.generic
root = /dev/hda2
label = generic
read-only
# Linux bootable partition config endsuser@pc # /sbin/lilo
Added boot.ipf *
Added boot.genericuser@pc # init 6
user@pc # cat /etc/rc.d/rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
echo “==================================”
echo “=========HERE AT RC.LOCAL=========”
echo “==================================”
[TS]
@ Category Handmade
Previous Post |
Next Post |