From: H. Peter Anvin N9ITP (hpa@ahab.eecs.nwu.edu)
Date: 06/07/93


From: hpa@ahab.eecs.nwu.edu (H. Peter Anvin N9ITP)
Subject: Re: OS/2 boot manager & LINUX
Date: Mon, 7 Jun 1993 20:07:59 GMT

In article <samiamC89GxA.50q@netcom.com> of comp.os.linux,
  samiam@netcom.com (Scott Moore) writes:
> Yes, this subject again. Ive read a lot of speculation on how to get linux to
> run in an os/2 generated partition, has anyone actually DONE IT ?
> What I tried:
>
> partition
> 1 OS/2 boot mangler 1 meg
> 2 (C:) DOS 5.0 4 meg
> 3 (D:) OS/2 2.1 350 meg
> 4 (E:) LINUX 125 meg
> 5 (F:) LINUX SWAP 8 meg
>
> I set it all up in advance of linux install, then booted linux, used linux
> fdisk to change the linux partition from type 6 (dos >= 16 meg) to 81
> (linux). Then tried "/etc/lilo/lilo -c -b /dev/hda6 -v -v /Image". All this
> is according to the linux FAQ. Lilo just says "bad partition". I have tried
> other code values for the partition. No soap. Also, after using fdisk to
> change the partition types, then write the MBR, and reboot os/2, os/2 boot
> manager indicates the partitions are *TOAST*.
>
> [sam]
>

I have done it on more than one machine, and wrote part of the FAQ
entry.

You haven't left enough information do figure out what your problem
is, but I'd like to know things like:

a) Did you remember to mk*fs?
b) When did you run LILO?
c) Which version of LILO did you use? (0.10 and later has a new
   configuration mode, unfortunately; 0.6 and earlier are obsolete)
d) What were the partition numbers displayed by fdisk?
e) Did you reboot using a boot disk before running LILO? The format
   of the LILO command line you gave is valid only if / is your
   hard disk partition (otherwise add -r /path_of_root_partition).

        /hpa

You can direct further questions on this to me or to
linux-support@sunsite.unc.edu.

        /hpa

-- 
INTERNET:  hpa@nwu.edu    FINGER:    hpa@ahab.eecs.nwu.edu
BITNET:    HPA@NUACC      IBM MAIL:  36073 at IBMX400
HAM RADIO: N9ITP, SM4TKN  NeXTMAIL:  hpa@speedy.acns.nwu.edu
Linux: a free UNIX clone for the 386.  Get yours today from tsx-11.mit.edu!