Results 1 to 7 of 7

Thread: howto start WINDOWS OS installation on hard disk with grub2

  1. #1
    Join Date
    Apr 2010
    Beans
    212

    howto start WINDOWS OS installation on hard disk with grub2

    If one wants to install WINDOWS OS but get no cd drive or it's broken, , if he has a MSDN WINDOWS image downloaded, and has grub2 installed on disk, then this post would help. Ignore it if u don't like it.

    All starts from a new feature introduced in grub2, that can activate the windows boot script called bootmgr, with following commands:
    Code:
    grub:> set root=(hdX,Y)  #where bootmgr is located.
    grub:> insmod ntfs # load ntfs module
    grub:> ntldr /bootmgr
    grub:> boot
    So that one can start windows on-disk installation from a grub-shell.

    1. Mount the windows image: the iso file

    2 copy all files and dirs in the iso file to the root of a ntfs partition #not any directory

    3 reboot, enter grub2 shell, type in the above commands.

    4 then you will see the windows installation starting.

    Tips:

    a. If u are not sure about the the number of partition where bootmgr is located, u can use this trick:
    Code:
    grub:> search --file --set=root --no-floppy /bootmgr
    This will auto set the target partition as root.

    b. The latest microsoft windows images likely use udf filesystem, when mounting, remember to use '-t udf' option.
    Last edited by funicorn; July 29th, 2012 at 11:55 PM. Reason: fonts too big

  2. #2
    Join Date
    Feb 2010
    Location
    White Plume Mountain
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: howto start WINDOWS OS installation on hard disk with grub2

    Not an ubuntu support request. Moved to Other OS/Distro Talk.
    Thank you for your contributions. "So long and thanks for the fish!"

  3. #3
    Join Date
    May 2013
    Beans
    3

    Re: howto start WINDOWS OS installation on hard disk with grub2

    What about with more windows installation? eg. Windows XP, Windows7, Windows8 x86 and Windows8 x64 on ONE partition. Is it possible?

  4. #4
    Join Date
    Feb 2010
    Location
    White Plume Mountain
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: howto start WINDOWS OS installation on hard disk with grub2

    One hard drive, yes. One partition, no.
    Thank you for your contributions. "So long and thanks for the fish!"

  5. #5
    Join Date
    May 2013
    Beans
    3

    Re: howto start WINDOWS OS installation on hard disk with grub2

    I meant to create multiple Windows installers on one partition. With other OS i can boot installers from iso file, but i can't boot windows installation discs. Is it possibility to boot windows installation from iso file? Sorry for my bad English.

  6. #6
    Join Date
    Feb 2010
    Location
    White Plume Mountain
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: howto start WINDOWS OS installation on hard disk with grub2

    You would probably be better off asking such questions on a Microsoft website.
    Thank you for your contributions. "So long and thanks for the fish!"

  7. #7
    Join Date
    May 2013
    Beans
    3

    Re: howto start WINDOWS OS installation on hard disk with grub2

    Is it posible to boot winsows installers from grub2 on one partition?
    Last edited by Rutr; May 29th, 2013 at 06:03 PM.

Bookmarks

Posting Permissions

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