Find the answer to your Linux question:
Results 1 to 5 of 5
grub installed in hd0 or hd0,0 hd0,9 is a logical particion (fat16) with all necesary files to boot windows: ntldr, ntdetect, boot.ini, /windows/, io.sys and others ------------------------------ title Windows XP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2013
    Posts
    2

    Lightbulb load windows with GRUB


    grub installed in hd0 or hd0,0

    hd0,9 is a logical particion (fat16) with all necesary files to boot windows:
    ntldr, ntdetect, boot.ini, /windows/, io.sys and others

    ------------------------------
    title Windows XP
    kernel /dev/sda10/NTLDR
    root (hd0,9)
    makeactive
    chainloader +1
    ------------------------------

    Do you could do something like that?

    What is missing?

    I attempt to load windows directly, because the logical partition does not have an MBR

    with:

    --------------------------
    title Windows XP
    root (hd0,9)
    makeactive
    chainloader +1
    -------------------------


    Filesystem type is fat, partition type 0x4


    error 12: invalid device requested
    press anny key to continue.

  2. #2
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    218
    Hello and welcome.

    Quote Originally Posted by dcarlosi
    What is missing?
    Well, not exactly missing... Windows won't boot on an extended partition, which is what (hd0,9) appears to be. Windows needs a primary partition and prefers being on the HD's first partition. While it'll work on a FAT format, I've read the performance is a little better on an NTFS format.

  3. #3
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    You would not necessarily need to have windows on a primary partition, but you must have its boot files on a primary and (hd0,9) is definitely not a primary partition. So the problem is not with the Grub bootloader it is windows.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2013
    Posts
    2
    thanks, that windows need a primary partition means that the boot files need a primary partition.
    There is a free space, and could be a primary partition (hd0,10) (50 mb or less where to copy the windows boot files).
    just copy the boot files?

    Or copy the boot files to (hd0,0)
    in some of these ways how GRUB would load the windows boot files?

  6. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    If you can in fact create a primary partition, copy all the windows boot files there. I don't use windows and have never used xp so I have no idea what those files would be. Should not be that hard to find out by doing an online search.

    What's on sda1 (hd0,0)? If you already have data there that isn't windows it probably would not work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •