Re: Grub and XP

From: Jeff Vian (jvian10_at_charter.net)
Date: 07/23/04

  • Next message: Jeff Vian: "Re: Grub and XP"
    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
    

  • Next message: Jeff Vian: "Re: Grub and XP"

    Relevant Pages

    • Re: [FC2] After installation only GRUB show me
      ... With Fedora Core 2 issues, please prepend [FC2] to your subject line. ... you see grub with no entries? ...
      (Fedora)
    • Grub problem
      ... I recently did a fresh install of FC2 on a dualboot machine I use mainly ... Both Win XP and Fedora booted normally afterward. ... Is this a problem with GRUB being corrupted? ...
      (alt.os.linux.redhat)
    • Re: Cannot boot via MBR of hard drive
      ... through the MBR. ... Assuming the BIOS boots from the active partition, its MBR must contain the GRUB first stage from /boot/grub. ... When you install GRUB here, ...
      (alt.os.linux.suse)
    • grub savedefault and saved does not seem to work
      ... On a newly installed Debian Sid on an Inspiron 5160, I notice that grub ... always boots from the first entry even though I have "default saved" in ...
      (Debian-User)
    • Re: New SuSE 9.1 installation and grub
      ... In message, Alex Harsch ... >> system boots into grub and no further. ... Bernard Peek ...
      (comp.os.linux.setup)