Professional Web Applications Themes

Start OS/2 using GRUB - Linux Setup, Configuration & Administration

Hello, I run an OS/2 installation on the first partition (primary) of my second hard disk. After OS/2 installation I had removed the OS/2 boot manager since I had installed it only for being able to install OS/2 :-/ Currently I boot OS/2 using LILO (Linux is my primary OS) which is fine. However since GRUB provides some things I would like to have, I gave it a try. My OS/2 section in `/boot/grub/menu.lst' looks like this: | title OS/2 Warp 4.0 | rootnoverify (hd1,0) | savedefault | makeactive | chainloader +1 This does not work. Neither did anything else ...

  1. #1

    Default Start OS/2 using GRUB

    Hello,

    I run an OS/2 installation on the first partition (primary)
    of my second hard disk. After OS/2 installation I had removed
    the OS/2 boot manager since I had installed it only for being
    able to install OS/2 :-/

    Currently I boot OS/2 using LILO (Linux is my primary OS)
    which is fine. However since GRUB provides some things I would
    like to have, I gave it a try.

    My OS/2 section in `/boot/grub/menu.lst' looks like this:

    | title OS/2 Warp 4.0
    | rootnoverify (hd1,0)
    | savedefault
    | makeactive
    | chainloader +1

    This does not work. Neither did anything else I tried (I even
    installed LILO with only the OS/2 entry into some partition's
    boot record). In the above constellation, GRUB just shows me
    the settings and then nothing happens.

    The infamous `/boot/chain.os2' does not seem to exist nor is
    there any hint how to get it, and the GRUB sources only hint
    that booting OS/2 *should* work.

    Is there any chance I get this working?

    Cheers,

    Herbert

    --
    Sind zwei zu viel, um frei zu sein, oder brauch ich Dich, um ich zu sein?
    -=-=- -=-=-=-=-
    Dipl.Ing. Martin "Herbert" Dietze -=-=- Fachhochschule Wedel -=-=-
    Martin Guest

  2. #2

    Default Re: Start OS/2 using GRUB

    Martin Herbert Dietze wrote:
     

    .....................^^^^^^^... have you verified that this
    is the correct partition?
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    Hacking's just another word for nothing left to kludge.

    mjt Guest

  3. #3

    Default Re: Start OS/2 using GRUB

    please let us know the right partition ....


    raqueeb hassan
    binua, DRC
    Raqueeb Guest

  4. #4

    Default Re: Start OS/2 using GRUB

    Raqueeb Hassan wrote:
     

    .... how in the WORLD would __I__ know that? i was
    asking the OP if they verified the partition
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    "You can't have everything. Where would you put it?" - Steven Wright

    mjt Guest

  5. #5

    Default Re: Start OS/2 using GRUB

    In comp.os.os2.setup.misc mjt <com> wrote: 
     [/ref]
     

    I'm pretty sure I made no mistakes here:

    | Paulina:~# fdisk -l /dev/hdc
    |
    | Disk /dev/hdc: 20.4 GB, 20485785600 bytes
    | 255 heads, 63 sectors/track, 2490 cylinders
    | Units = cylinders of 16065 * 512 = 8225280 bytes
    |
    | Device Boot Start End Blocks Id System
    | /dev/hdc1 * 1 914 7341673+ 7 HPFS/NTFS
    | /dev/hdc2 915 1851 7526452+ 5 Extended
    | /dev/hdc5 915 1400 3903763+ 7 HPFS/NTFS
    | /dev/hdc6 1401 1485 682731 6 FAT16
    | /dev/hdc7 1486 1851 2939863+ 7 HPFS/NTFS
    | Paulina:~#

    Also, if I leave the `noverify' out, GRUB reports me it can't
    handle the HPFS file system.

    Cheers,

    Herbert

    --
    This is the unix version of the LoveBug virus and in the spirit of such it
    depends on the user community to propagate. Please send this message to all
    of your friends and randomly delete numerous files from your system.
    -=-=- -=-=-=-=-
    Dipl.Ing. Martin "Herbert" Dietze -=-=- Fachhochschule Wedel -=-=-
    Martin Guest

  6. #6

    Default Re: Start OS/2 using GRUB

    Martin Herbert Dietze wrote:
     [/ref]

    >
    > I'm pretty sure I made no mistakes here:
    >
    > |DeviceBootStartEndBlocks IdSystem
    > | /dev/hdc1*19147341673+7 HPFS/NTFS
    > | /dev/hdc291518517526452+5 Extended
    > | /dev/hdc591514003903763+7 HPFS/NTFS
    > | /dev/hdc6140114856827316 FAT16
    > | /dev/hdc7148618512939863+7 HPFS/NTFS[/ref]

    okay, let's review:
    ide channel 1:
    /dev/hda == first device
    /dev/hdb == second device
    ide channel 2:
    /dev/hdc == third device
    /dev/hdd == fourth device

    /dev/hda1 == first partition on first device, and so on

    grub naming convention:
    (hd0) == first device, and so on
    (hd0,0) == first partition on first drive, and so on.

    so, given /dev/hdc1 == 3rd device, 1st part == grub: (hd2,0)
    try that and see what happens
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    However, never daunted, I will cope with adversity in my
    traditional manner ... sulking and nausea. - Tom K. Ryan

    mjt Guest

  7. #7

    Default Re: Start OS/2 using GRUB

    Martin Herbert Dietze wrote:
     
     
     
     
     
     

    I think someone who understands the low level workings of boot sectors
    and loaders needs to create one and submit it to the Grub developers. I
    don't think anyone ever did. I couldn't find one anywhere.
     

    I tried a long time ago and gave up. ISTR getting a an OS/2 boot from a
    primary partition, but not a logical. I load the grub partition with BM.
    Works fine.
    --
    "The fear of the Lord is the beginning of wisdom...."
    Proverbs 9:10 NIV

    Team OS/2 ** Reg. Linux User #211409 ** Rotary ONLY since 1973

    Felix Miata *** http://members.ij.net/mrmazda/ <- More than just a FAQ


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
    Felix Guest

  8. #8

    Default Re: Start OS/2 using GRUB

    Martin Herbert Dietze wrote:
     

    What is GRUB? And can it be ported to OS/2?
     

    John Guest

  9. #9

    Default Re: Start OS/2 using GRUB

    In message <eclipse.net.uk>, John Poltorak wrote:
     
    >
    > What is GRUB? And can it be ported to OS/2?
    >[/ref]
    GRUB is a bootloader so it doesn't need to be ported.

    I finally fired up my dual-boot machine today and had a look at grub.conf.
    It has

    title OS/2
    root (hd0,1)
    makeactive
    # chainload OS/2 bootloader from the first sector
    chainloader +1

    as the relevant OS/2 entry, on my system this results in the OS/2 boot
    manager being started which then drops through to OS/2 itself. Obviously
    this won't work for everyone, change the (hd0,1) as required for where your
    OS/2 boot partition might be.

    Dave
    --
    mail: da org (without the space)
    http://www.llondel.org/
    So many gadgets, so little time...

    Dave Guest

  10. #10

    Default Re: Start OS/2 using GRUB

    In comp.os.linux.setup John Poltorak <org> wrote: 
     [/ref]
     

    If you don't know what it is, why do you care where it could or could
    not be ported to?

    I suspect you know. Admit it.

    Peter
    P.T. Guest

  11. #11

    Default Re: Start OS/2 using GRUB

    On Sun, 26 Oct 2003 12:19:26 +0000, John Poltorak <org> wrote:
     
    >
    >What is GRUB? And can it be ported to OS/2?[/ref]

    Hi John - nice to see you again. :)

    You can replace BM with grub - you can even daisy chain grub and BM
    (bog knows why you'd want to.)

    Grub, as I suspect you already know, is the much simpler to use
    replacement for LILO - in short, a boot manager. Porting it to OS/2
    would be sort of silly, since by the time OS/2 has booted enough to
    run it, it would be redundant.

    Mike-

    Mornings: Evolution in action. Only the grumpy will survive.
    -----------------------------------------------------

    Please note - Due to the intense volume of spam, we have
    installed site-wide spam filters at catherders.com. If
    email from you bounces, try non-HTML, non-encoded,
    non-attachments.


    ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
    Michael Guest

  12. #12

    Default Re: Start OS/2 using GRUB

    On Sun, 26 Oct 2003 16:22:50 UTC, "Dave {Reply Address in.sig}"
    <noone$$llondel.org> wrote:
     

    Going from memory here, having played around, unsuccessfully with
    Lilo, to do the same thing on my laptop, with OS/2, Win98 and Limux,
    there is a very real possibility that you also need to 'makehidden'
    any other active partition.

    I never did get it working properly... and then I munged the partition
    table and blew away the Linux partition. I suspect that one of the
    reasons for the failure was that I tried (I really really tried!!!)
    and suceeded in attempting to boot with 2 TWO! active C: partitions...
    Luckily, I was able to fdisk /newmbr from a floppy boot...but all of
    the two-step boot with Lilo was lost..

    Geoff



    R. Guest

  13. #13

    Default Re: Start OS/2 using GRUB

    John Poltorak wrote:
     

    .... boot manager. no reason to - it's OS agnostic
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    "Why was I born with such contemporaries?" - Oscar Wilde

    mjt Guest

  14. #14

    Default Re: Start OS/2 using GRUB

    On Sun, 26 Oct 2003 12:19:26 +0000, in article
    <eclipse.net.uk>, John Poltorak wrote:
     

    It's the GRand Unified Booloader from the Free Software Foundation.
     

    It may not be necessary. If it supports the filesystem, you can write the
    necessary files to a floppy disk, boot the floppy, and install it.

    However, I don't have an "hpfs_stage1_5" on my (Linux) system. Does that
    mean GRUB's configuration files can't be loaded from an HPFS partition?
    Jules Guest

Similar Threads

  1. Getting GRUB back
    By Moody in forum Ubuntu
    Replies: 9
    Last Post: August 3rd, 07:56 AM
  2. Grub Error 16
    By Martin Weitzel in forum Ubuntu
    Replies: 0
    Last Post: April 20th, 12:01 PM
  3. GRUB question
    By Bit Twister in forum Linux Setup, Configuration & Administration
    Replies: 11
    Last Post: September 8th, 04:05 AM
  4. LILO --> GRUB
    By Kenneth Jacker in forum Debian
    Replies: 5
    Last Post: July 8th, 08:50 PM
  5. GRUB problem
    By Kevin McKinley in forum Debian
    Replies: 7
    Last Post: July 2nd, 09:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139