[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Grub, Dual Boot



On 10/01/2009 04:41 PM, suvayu ali wrote:
2009/10/1 Jim<mickeyboa sbcglobal net>:
Dual booting with WinXP and Fedora 11.

Hard Drive 0    sda1  WindowsXP

Hard Drive 1    sdb1  /boot   Fedora 11

Isn't the command  grub-install  /dev/sda  what you do to write grub to boot
from
sda ?

I ran that command from fedora 11 but it still wants to boot from WindowsXP
.
you need to edit /boot/grub/grub.conf. the line `default=___' should
say `default=1' if F11 is the 2nd entry
on your list.

Here is my menu.lst file.
I do have a separate /boot partition  sdb1
WindowXP is on sda
Fedora 11 is on sdb
With this menu.lst, I did a, grub-install --recheck /dev/sda , and when I do a reboot I get a Error 21.

Thanks for your responds.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sdb3
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.30.8-64.fc11.i586)
	root (hd1,0)
	kernel /vmlinuz-2.6.30.8-64.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
	initrd /initrd-2.6.30.8-64.fc11.i586.img
title Fedora (2.6.30.5-43.fc11.i586)
	root (hd1,0)
	kernel /vmlinuz-2.6.30.5-43.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
	initrd /initrd-2.6.30.5-43.fc11.i586.img
title Fedora (2.6.29.6-217.2.8.fc11.i586)
	root (hd1,0)
	kernel /vmlinuz-2.6.29.6-217.2.8.fc11.i586 ro root=UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b rhgb quiet
	initrd /initrd-2.6.29.6-217.2.8.fc11.i586.img
title WindowsXP
      rootnoverify  (hd0,0)
      chainloader +1

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]