[Ilugc] Grub -peculiar problem

  • From: logulinux@xxxxxxx (Logu)
  • Date: Thu, 19 Dec 2002 12:22:45 +0530

Hello all,
I am facing a peculiar problem with grub. I have two ide disks. hda-40gb and
hdc-3gb. Linux is installed in hda and winnt is installed in hdc.

This is my grub.conf or menu.lst.
----------------------------------------------
boot=/dev/hda
default=0
timeout=10
title Linux-Rh8.0
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
        initrd /boot/initrd-2.4.18-14.img

title WinNT
        root (hd1,0)
        map (hd0,0) (hd1,0)
        map (hd1,0) (hd0,0)
        rootnoverify (hd0,0)
        makeactive
        chainloader +1
-------------------------------------------------------------

When I load WinNT  I get the folowing error for the first time.
-------------------------------------------------------------
        root(hd1,0)
        Filesystem type unknown, partition type 0x7

        map (hd0,0)(hd1,0)
        map (hd1,0)(hd0,0)
        rootnotify (hd0,0)

        Error 13: Invalid or unsupported executable format
-----------------------------------------------------------------
 Then I go into edit mode and delete the entries
        map (hd0,0) (hd1,0)
        map (hd1,0) (hd0,0)
        rootnoverify (hd0,0)
and then it boots.

So all the time I need to do the following 3 steps to boot WinNT.
1. load the winnt     (it will give error)
2. go back and delete the 3 entries.
3. then issue boot command

The point to note is, the system is not booting in NT if I leave the step 1
and go directly to step 2.
Is it a bug in grub? Or am I doing something wrong.

Please share your ideas.

-Logu



Other related posts:

  • » [Ilugc] Grub -peculiar problem - Logu