[intro | bootstrap | linux kernel | root filesystem | network boot | install on flash card ]

Linux on net4501

Linux Kernel

Either use the Red Hat provided kernel or download a 2.4 kernel. You should configure the kernel to have:

The easiest way is to use this kernel config file and modify it to suit your needs. Unpack the kernel source and copy it into the top level directory of the source (the same level as the Makefile). Then, run make oldconfig, make dep, make clean, make bzImage and make modules. Copy the built kernel to /tftpboot/X86PC/UNDI/pxelinux/net4501

tar -xzf linux-2.4.x.tar.gz
cd linux
wget 'http://www.chiark.greenend.org.uk/%7Epeterb/linux/soekris/unpacked/kernel/config' -O .config
make oldconfig
make dep
make clean
make bzImage && make modules

# Use 'su' to become root here
mkdir -p /tftpboot/X86PC/UNDI/pxelinux
cp arch/i386/boot/bzImage /tftpboot/X86PC/UNDI/pxelinux/net4501

If you wish, you can try booting the kernel; it should get as far as trying to mount a root filesystem before failing.


Valid HTML 4.01! Valid CSS!

Peter Benie <peterb+linux-net4501@chiark.greenend.org.uk>