Re: Grub and XP
From: Jeff Vian (jvian10_at_charter.net)
Date: 07/23/04
- Previous message: Jorge Fábregas: "Re: Shell expansion of * and hidden files"
- In reply to: Wesley (Buck) Lemke: "Grub and XP"
- Next in thread: Buck Lemke: "Re: Grub and XP"
- Reply: Buck Lemke: "Re: Grub and XP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: For users of Fedora Core releases <fedora-list@redhat.com> Date: Thu, 22 Jul 2004 21:03:55 -0500
On Thu, 2004-07-22 at 19:24, Wesley (Buck) Lemke wrote:
> I had linux installed. I installed XP. Then I re-installed Grub to the
> MBR ->
>
> grub> root (hd0,0)
> grub> setup (hd0)
>
> I now have XP installed on the master drive of the first ide controller,
> and FC2 on the slave. How should my grub.conf look? This is what I
> have now:
>
> default=0
> timeout=10
> #splashimage=(hd1,0)/boot/grub/splash.xpm.gz <---------- (this doesn't
> seem to work, so it's commented out).
> title Fedora Core (2.6.6-1.435.2.3)
> # root (hd0,0) <------------- Is this needed?
> kernel /boot/vmlinuz-2.6.6-1.435.2.3 ro root=/dev/hdb1 rhgb
> quiet acpi=off
> initrd /boot/initrd-2.6.6-1.435.2.3.img
> title Windows XP
> rootnoverify (hd0,0)
> chainloader +1
> makeactive
>
The root line is required for all boots. It tells grub which partition
to load the kernel from.
If XP is in fact on the first partition on the first disk then FC2 would
not boot for you with that stanza. You may actually have XP on the
slave drive if FC2 boots with this in grub.conf.
>
> FC2 boots fine, but XP gives me:
>
> Error 13:
>
> Invalid or Unsupported executable format.
>
>
> Is my setup for FC2 correct (it works, but is it ideal), and how do I
> boot XP?
>
Mine works like this, and it was installed when I installed FC2 with XP
already loaded on hd0,0
for me hd2 is my scsi drive and I have the bios set to boot from scsi.
-----
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd2,0)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=/dev/sda3 rhgb quiet
acpi=no
initrd /initrd-2.6.6-1.435.2.3.img
title Fedora Core (2.6.5-1.358)
root (hd2,0)
kernel /vmlinuz-2.6.5-1.358 ro root=/dev/sda3 rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Win
rootnoverify (hd0,0)
chainloader +1
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Jorge Fábregas: "Re: Shell expansion of * and hidden files"
- In reply to: Wesley (Buck) Lemke: "Grub and XP"
- Next in thread: Buck Lemke: "Re: Grub and XP"
- Reply: Buck Lemke: "Re: Grub and XP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|