M-Systems Flash Disk Pioneers DiskOnChip Floppy drive must be active. Verify this by typing

Page 8

Using the DiskOnChip with Linux OS

1.The floppy drive must be active. Verify this by typing:

# mount

If the /dev/fd0 doesn’t appear in the first column, type:

# mount/dev/fd0 /mnt

From this point, it is assumed that the diskette that contains the TrueFFS driver for Linux is mounted at /mnt.

2.The kernel sources must be installed. To check this, type:

# ls /usr/src/linux

If this directory exists, then the kernel sources are installed. If not, refer to http://sunsite.unc.edu/LDP/ or type:

zcat /usr/doc/HOWTO/Kernel-HOWTO.gz more

3.Unzip and untar the file driver.tgz, located on your diskette, as follows:

#cd /tmp

#mkdir temp

#cd temp

#tar -zxvf /mnt/driver.tgz

#cp -rf . /

#cd ..

#rm -fr temp

#cd /usr/src/linux/

4.If you are installing the TrueFFS driver for kernel versions 2.0. ##, type the following command:

#patch -p0 < /tmp/doc-driver/doc-patch-2.0.##

This will patch the current kernel sources to include the TrueFFS driver for Linux (with ## = kernel version). Notice that the patch for the kernel is working only on original kernel sources, and that the patch is version specific. In case the utility patch is not available in your Linux environment, refer to Chapter 6 “Troubleshooting”.

Note: If you are installing the TrueFFS driver for kernel versions 2.2.##, the kernel sourced need to be patched manually (see Appendix III "Applying a patch manually"). For your reference, an example patch file is included with the driver.

91-SR-005-10-7L REV. 2.0

8

Image 8
Contents Using the DiskOnChip with Linux OS Limited Warranty Contents Introduction Hardware Requirements for the DiskOnChipRequirements for Installation of the DiskOnChip into Linux Utilities Diskette ContentLinux Driver for DiskOnChip Installing the DiskOnChip as an Additional Drive Updating the FirmwareFloppy drive must be active. Verify this by typing If the /dev/fd0 doesn’t appear in the first column, typeConfigure the kernel as follows Adding the Driver to the KernelRemove the old object files Check dependenciesBooting the Compiled Kernel from HDD Make the inodes for the DiskOnChipCreating a Linux Partition on the DiskOnChip Creating a Native Linux File System on the DiskOnChip Recheck the partition tableSave the new partition table disregard any fdisk warnings Mount the file system to a directoryBooting Linux from the DiskOnChip Creating a Root File System IntroductionOverview Populating the File SystemRun the script Create the list of files to be mountedCopying the Kernel, Updating the Boot Sector and Rebooting Linux will now boot from the DiskOnChip TroubleshootingReboot and load DOS, and reinstall the original firmware Most likely, you forgot to do Additional Information and Tools Sys.comAppendix I Making a Root File System Diskonchip/bin/programname For example Copy the library loaders as followsYou now have pLilo sources Appendix III Applying a Patch Manually There are 5 files that you will need to patchUsing the DiskOnChip with Linux OS Tel Aviv 61580, Israel How to Contact UsAtidim Industrial Park P.O.B