On 10/01/2009 06:34 PM, Craig White wrote:
On Thu, 2009-10-01 at 17:05 -0400, Jim wrote:
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.
----
boot into rescue mode
chroot /mnt/sysimage
grub-install /dev/sda
what is output of?
cat /boot/grub/grub.conf
fdisk -l /dev/sda
cat /etc/fstab
Craig
Here they are.
Disk /dev/sda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf7ab
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4866 39086113+ 7 HPFS/NTFS
# 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=(hd0,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 WindowsXP
rootnoverify (hd0,0)
chainloader +1
#
# /etc/fstab
# Created by anaconda on Sat Jun 27 09:37:26 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=47d9be72-3fce-4707-bd84-cf01f19b1196 /boot ext3 defaults 1 2
UUID=aab20ab4-9875-44d9-b8bb-57d8101d299b / ext4 defaults 1 1
UUID=b69990d8-bed1-43f6-9b76-00844ef06b98 /home ext4 defaults 1 2
UUID=f59ae27d-171f-4034-86ff-3513bb934bf2 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines