LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.

FAQS
 FAQs
Apache FAQ
Linux FAQ
XML FAQ

Log in to particpate






   Linux FAQ > 4. Compatibility with Other Operating Systems
Question:  4.14. How Can Linux Boot from OS/2's Boot Manager?
Answer:
  1. Create a partition using OS/2's FDISK.EXE (Not Linux's fdisk).

  2. 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.)

  3. Add the partition to the Boot Manager.

  4. 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.

  5. Install Linux on the partition.

  6. 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.

  7. 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://www.linuxdoc.org/.


This FAQ is from Linux Frequently Asked Questions with Answers, maintained by Robert Kiesling

Sponsored by: