Re: Grub, Dual Boot

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

 



On 10/01/2009 04:41 PM, suvayu ali wrote:
2009/10/1 Jim<mickeyboa@xxxxxxxxxxxxx>:
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
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux