[lug] Kernel 2.4.18 for C3-based board
Scott A. Herod
herod at interact-tv.com
Wed May 29 16:50:37 MDT 2002
Hello,
I recently installed RH 7.3 on a new Via board that I got. Installation
was fine and the board works well. ( Except for the XF86 4.2.0 trident
driver over the RCA video output. X with vesa works though. ) I did
tell it to use lilo as the boot loader so that I could draw an image on
the display at boot time. I have not found out how to do something
similar with grub.
Prior to making some minor changes to the kernel, I wanted to rebuild
RH's default. It builds with the steps listed below but fails while
booting. It starts with "Loading linux ........" then the machine
reboots. I suspect that I'm making a simple error but cannot figure out
what. Any help would be greatly appreciated.
Scott
======================
Build steps:
Install the source RPM from the 7.3 distro.
Copy source to /usr/src/linux-2.4.18-itv.
Make /usr/source/linux-2.4 point to /usr/src/linux-2.4.18-itv.
In linux-2.4 run:
make mrproper
cp configs/kernel-2.4.18-i686.config .config
make xconfig ( Save and exit with no changes )
make clean; make dep; make; make modules; make modules_install
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.18-itv
In /boot, do "mkinitrd /boot/initrd-2.2.14-itv.img 2.2.14-itv"
Edit lilo.conf to say:
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.18-3
label=linux
initrd=/boot/initrd-2.4.18-3.img
read-only
root=/dev/hda2
vga=785
image=/boot/vmlinuz-2.4.18-itv
label=linux2
initrd=/boot/initrd-2.4.18-itv.img
read-only
root=/dev/hda2
Run lilo -v
More information about the LUG
mailing list