This article is from the Frequently Asked Questions for Linux, the Free/Open Source UNIX-like operating system kernel that runs on many modern computer systems. Maintained by David C. Merrill with numerous contributions by others. (v1.0).
A: #Create a partition using OS/2's FDISK.EXE (Not Linux's fdisk).
1. Format the partition under OS/2, either with FAT or HPFS. This is so that OS/2 knows about the partition being formatted. (This step is not necessary with OS/2 Warp 3.0.) 2. Add the partition to the Boot Manager. 3. Boot Linux, and create a file system on the partition using mkfs -t ext2 or mke2fs. At this point you may, if you like, use Linux's fdisk to change the code of the new partition to type 83 (Linux Native)this may help some automated installation scripts find the right partition to use. 4. Install Linux on the partition. 5. Install LILO on the Linux partition NOT on the master boot record of the hard drive. This installs LILO as a second-stage boot loader on the Linux partition itself, to start up the kernel specified in the LILO configuration file. To do this, you should put boot = /dev/hda2 (where /dev/hda2 is the partition you want to boot from) in your /etc/ lilo/config or /etc/lilo.config file. 6. Make sure that it is the Boot Manager partition that is marked active, so that you can use Boot Manager to choose what to boot.
There is a set of HOWTO's on the subject of multi-boot systems at the LDP Home Page, http://tldp.org.