Professional Web Applications Themes

problem with grub in redhat 9 (dual boot win98) - Linux Setup, Configuration & Administration

I've just installed redhat9 to make a dual booting system (with win98) and am having problems with grub. (Note: my friend is sick of windows 98 virus++ and I am weaning her onto linux so I really want to get this working for her!) The setup: I had an existing windows 98 system, that had one hard disk (master on ide0). I added another disk to the system, putting the new disk as master on ide0, and the win98 disk as the slave on ide0. Then I installed redhat 9 (shrike) from the three CD set. The problem: well, setup ...

  1. #1

    Default problem with grub in redhat 9 (dual boot win98)

    I've just installed redhat9 to make a dual booting system (with win98)
    and am having problems with grub.
    (Note: my friend is sick of windows 98 virus++ and I am weaning her onto
    linux so I really want to get this working for her!)

    The setup: I had an existing windows 98 system, that had one hard disk
    (master on ide0). I added another disk to the system, putting the new
    disk as master on ide0, and the win98 disk as the slave on ide0. Then I
    installed redhat 9 (shrike) from the three CD set.

    The problem: well, setup went fine, I rebooted, and sure enough, grub
    comes up, offering windows 98 or RedHat Linux. Selecting RedHat worked
    fine, but selecting Windows 98 caused grub to hang and not boot windows
    98. I searched on the internet for problems like this, and found a post
    of someone advising you map hd0 to hd1 and vice versa to fix the problem
    in this situation. So, I edited the windows98 section of my grub.conf to
    be as follows:

    title Windows 98
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1)
    chainloader +1

    ...which appears to be the way to do it. (I didn't edit the RedHat
    section, I left it as is).
    Now when I boot up, grub drops through to the grub command line, without
    showing a menu, which I believe is what happens when the config is wrong
    or erroneous. Can anyone advise if indeed this means my grub.conf is
    bogus, and how to fix it?
    (Funnily enough, if I type the windows98 rules at the grub command line
    as they appear above, and then type 'boot', windows 98 boots just fine!)

    My full grub.conf reads as follows:

    #boot=/dev/hda
    default=0
    timeout=10
    splashimage=(hd0,0)/grub/splash.xpm.gz
    title Red Hat Linux (2.40.20-8)
    root (hd0,0)
    kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
    initrd /initrd-2.4.20-8.img
    title Windows 98
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1)
    chainloader +1


    all help greatly appreciated!

    alex

    --
    to email me, remove the munger from my address

    Alex Guest

  2. #2

    Default Re: problem with grub in redhat 9 (dual boot win98)

    Alex Hunsley wrote:
     

    .... can you give us the output of:
    # fdisk -l /dev/hd*
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    \\\ http://pages.sbcglobal.net/mtobler/mjt_linux_page.html ///
    While most peoples' opinions change, the conviction of their
    correctness never does.

    mjt Guest

  3. #3

    Default Re: problem with grub in redhat 9 (dual boot win98)

    On Wed, 24 Sep 2003 12:58:45 +0100, Alex Hunsley wrote:
     
    rootnoverify (hd1,0)
    makeactive 
    Assuming your slave drive has only one partition...

    Try the syntax (as modified above). This chainloads to the partition's
    BPB loader code (not the MBR on the slave drive.)

    --Douglas Mayne
    Douglas Guest

  4. #4

    Default Re: problem with grub in redhat 9 (dual boot win98)

    Douglas Mayne wrote:
     
    >
    > rootnoverify (hd1,0)
    > makeactive

    >
    > Assuming your slave drive has only one partition...[/ref]

    Yes, I think it does. 

    I've tried your amendment and I get the same result - grub comes up in
    command line mode, no menu.

    thanks,
    alex


    Alex Guest

  5. #5

    Default Re: problem with grub in redhat 9 (dual boot win98)

    Douglas Mayne wrote:
     
    >
    > rootnoverify (hd1,0)
    > makeactive

    >
    > Assuming your slave drive has only one partition...
    >
    > Try the syntax (as modified above). This chainloads to the partition's
    > BPB loader code (not the MBR on the slave drive.)
    >
    > --Douglas Mayne[/ref]

    Problem now solved... the problem is detailed here:
    http://mail.gnu.org/archive/html/bug-grub/2002-03/msg00093.html

    basically, booting 98 causes (hd0,0) partition to be set to partition
    type 0x93, I have set it back now with a parttype command in menu.lst.

    thanks all who answered,
    alex


    Alex Guest

  6. #6

    Default Re: problem with grub in redhat 9 (dual boot win98)

    Alex Hunsley wrote:
     

    .... the request for the 'fdisk -l /dev/hd*' would have
    revealed this a long time ago :))
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    \\\ http://pages.sbcglobal.net/mtobler/mjt_linux_page.html ///
    Paradise is exactly like where you are right now ... only much,
    much better. - Laurie Anderson

    mjt Guest

  7. #7

    Default Re: problem with grub in redhat 9 (dual boot win98)

    mjt wrote: 
    >
    >
    > ... the request for the 'fdisk -l /dev/hd*' would have
    > revealed this a long time ago :))
    > .[/ref]

    Uh? I posted that! D'oh... where the hell is it?
    <remembers> oh, mailserver was down, I did File -> Save and then
    couldn't find where it had gone, then forgot that it hadn't been posted...

    alex

    Alex Guest

Similar Threads

  1. Dual boot and grub problem.
    By Gordon in forum Ubuntu
    Replies: 6
    Last Post: June 29th, 12:05 PM
  2. Grub boot problem
    By RaidenSix in forum Ubuntu
    Replies: 4
    Last Post: June 4th, 03:32 PM
  3. Where To Put GRUB Boot mbr???
    By Don in forum Ubuntu
    Replies: 4
    Last Post: June 4th, 06:39 AM
  4. Windows XP and Redhat Linux 9 Dualboot problem(GRUB)
    By Steve Benton in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: September 13th, 04:09 AM
  5. Dual boot problem with bootloader in MBR
    By M.Senthil Kumar in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 26th, 08:52 AM

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