Author Topic: grub - second OS  (Read 2082 times)

macaronij

  • Newbie
  • *
  • Posts: 13
    • View Profile
grub - second OS
« on: October 10, 2009, 06:56:55 pm »
i have instaled a second hard drive whit another so, but grub didn t realize (i can start it if i change boot priority)
how can i do that grub gyvme the choice?


pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: grub - second OS
« Reply #1 on: October 10, 2009, 07:16:03 pm »
Hi,

If I understand correctly, you have two different hard drives with two different operating systems (OS's) and you want a choice at start-up which one to choose.

The following is an example booting Fedora 11 and Windows 2000.

Please note that I have set the default to 10 seconds in order to select the OS I want.

Without making a choice Fedora, (default 0), would boot automatically after the 10 second countdown expires.

Windows would be default 1 in this example.

Also note that hiddenmenu has been commented out. 

This then provides a splash screen with the 2 "title" choices.

In Kubuntu you would edit the /boot/grub/menu.lst file to accomplish this.

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora 11.x86_64)
   root (hd0,0)
   kernel /vmlinuz-2.6.30.8-64.fc11.x86_64 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318
   initrd /initrd-2.6.30.8-64.fc11.x86_64.img
title Windows 2000 Pro
   map (hd0,0) (hd1,0)
   map (hd1,0) (hd0,0)
   rootnoverify (hd1,0)
   chainloader +1