Using the DiskOnChip with Linux OS
Make[1]:Leaving directory ‘/usr/src/
If there are any compilation errors, refer to Chapter 6 “Troubleshooting”.
4.2.3 Booting the Compiled Kernel from HDD
The new compiled kernel needs to be booted from the HDD. The following steps need to be performed:
1.Type the following commands:
#cp /usr/src/linux/arch/i386/boot/zImage/doc2000
#vi /etc/lilo.conf
2.Add the following lines at the bottom of the file (press ‘INS’ to edit the file and save and exit by typing <Esc>, ‘:’, ‘w’, ‘q’):
image = /doc2000 root = /dev/hda1 label = doc2000
Note: The device /dev/hda1 points to the HDD that Linux boots from. hda1 is the first partition (1) on the first IDE hard disk (a), hdb2 is the second partition (2) on the second IDE hard disk (b), etc. If it is not clear which device it is, look at the start of the file lilo.conf and search for the line first root = ...)
3.Make the inodes for the DiskOnChip:
#cd /dev
#mknod fla b 62 0
#mknod fla1 b 62 1
#mknod fla2 b 62 2
#mknod fla3 b 62 3
#mknod fla4 b 62 4
Number 62 stands for major device number. Since it is hard coded into the driver, no other number would work.
4.Run Lilo (Linux Loader) to create the map for the kernel and make sure that “doc2000” is listed (if not, return to the beginning of paragraph 4.2.3):
# lilo
5.Load the updated kernel with the TrueFFS, perform the following steps:
6.Reboot the computer and load Linux.
10 |