1752319 Members
6120 Online
108786 Solutions
New Discussion юеВ

Re: GRUB configuration

 
shyam singh bisht
Occasional Advisor

GRUB configuration

Hi! everybody

I have installed Rdhat Linux 8.0 on primary master HDD .

I have windows 2k professional on Primary slave .

Now I want to have a menu at the system boot time, from which I can choose the OS of my choice.

I have added the following lines in /boot/grub/menu.lst

title windows 2k
rootnoverify (hd1,0)
chainloader +1

It shows the options , but doesn't boot 2k professional .

Any kind of help will be highly appreciated.

thanks & regards

Shyam
3 REPLIES 3
Sergejs Svitnevs
Honored Contributor

Re: GRUB configuration

If you need to boot Win from a non-first disk, try to exchange BIOS drives virtually, like this:

menu.lst
------------------
...
title windows 2k
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
...
------------------

Regards,
Sergejs
Steven E. Protter
Exalted Contributor

Re: GRUB configuration

I have found the best practice is.

Have W2K running first, preferably limited to a single drive/partition.

Then install Linux, use grub as the boot loader.

It will set up and let you run W2K no problems. You can rename the entry for windows to make it clearer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
renarios
Trusted Contributor

Re: GRUB configuration

Did you add the default parameter?
i.e. "default 1"

# Boot automatically after ten seconds
timeout 10

# Default OS is the second record.
default 1

# Fallback to the first record.
fallback 0

# For the girlies:
title Windows 2000
unhide (hd0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
makeactive

# Booting your favo OS:
title Linux
root (hd0,7)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261

Cheers,

Renarios
Nothing is more successfull as failure