Dual Cloned Windows Install with Linux GRUB

Ok this might be old news but I had some trouble finding a simple straight forward guide.

I just got a new laptop at work and I wanted to run to two completely separate copies of Windows XP using GNU GRUB as the boot loader.

Grub Boot Screen

These are the steps I eventually followed:

1. Completely clear the drive, all windows partitions, recovery partition etc.

2. Run XP setup, create a new partition leaving enough room for the second copy of windows; install Windows as per usual.

3. Install all drivers, updates and any software that you want to be on both copies of windows.

4. In windows Disk management create a new NTFS partition in the remaining space on the disk, leaving enough space for GRUB bootloader, I left 100MB,

5. Run Symantc ghost (or some other disk cloning tool) and clone partition 1 to partition 2. You will now have 2 identical copes of Windows on the same drive.

6. After cloning don’t reboot into windows, instead boot from CD to you’re favourite Linux distro. I used Ubuntu 6.1 which boots live off CD as part of it’s install process; I’m sure you could use knoppix or whatever.

7. Create a Linux partition in the remaining space using fdisk or cfdisk; flag this partition as the bootable partition. Assuming the disk is /dev/hda; XP1 and XP2 are /dev/hda1 and /dev/hda2 then this partition will be /dev/hda3

cfdisk /dev/hda


8. Format the new Linux partition with

mkfs.ext3 /dev/hda3


9. Make a new directory and mount the partition to. For this example e.g we’ll mount it to /mnt/tmp

mkdir /mnt/tmp
mount /dev/hda3 /mnt/tmp


10. Install Grub to the partition. This Will install grub to the root of /dev/hda3 and to the master boot record of /dev/hda

grub-install --root-directory=/mnt/tmp /dev/hda


11. Create a grub menu list file in in /mnt/tmp/boot/grub/
Use vi or nano to create a file in this location called menu.lst This will contain a list of operating systems you wish to boot. The file should look like this:

timeout 60
default 0

title Windows XP - Work
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1 

title Windows XP - Home
unhide (hd0,1)
hide (hd0,0)
rootnoverify (hd0,1)
chainloader +1


12. Now unmount /dev/hda3, remove the linux CD and reboot. You should now get a grub boot menu where you can choose which copy of XP you want to load. The the hide and unhide commands for each OS entry in grub mean that the that each copy of windows won’t be able to see the other.

13. (Optional) To add a nice background to the to the grub menu, boot back into your live Linux distro and use firefox to download a grub splash screen. I got one from here, they also have a guide to create your own. Again mount /dev/hda3 and copy the splashimage to /mnt/tmp/boot/grub. Edit the menu.list to include the following line:



That’s it! 2 Copies with windows compleatly hidden from each other wih a nice menu using the renound GNU GRUB bootloader!


At first it seems neat to be able to choose which OS you want to resume but then the disk corruption starts!

, , , , ,

10 Responses to Dual Cloned Windows Install with Linux GRUB

  1. movie4k.to March 30, 2020 at 3:22 am #

    Asking questions are truly nice thing if you are not understanding anything totally, but this article gives good understanding yet.

  2. Annett Sharkey December 18, 2019 at 5:47 am #

    I am genuinely happy to read this web site posts which carries
    lots of useful facts, thanks for providing these kinds of statistics.

  3. Carlos Laby December 18, 2019 at 5:37 am #

    I do not know whether it’s just me or if perhaps everyone else encountering problems
    with your site. It appears like some of the text in your content are running
    off the screen. Can someone else please provide feedback
    and let me know if this is happening to them too? This may be a problem with my web browser because I’ve
    had this happen before. Kudos

  4. Jackson Mortlock December 17, 2019 at 10:12 pm #

    Asking questions are truly nice thing if you are not understanding anything totally, but this article gives good understanding yet.

  5. Shawnee December 15, 2019 at 9:32 am #

    Awesome things here. I am very happy to look your post.
    Thanks so much and I’m having a look forward to contact you.
    Will you kindly drop me a e-mail?

  6. source November 4, 2017 at 5:46 am #

    This excellent website truly has all of the information and facts I needed about this subject and didn’t know who to ask.

  7. source October 27, 2017 at 8:02 am #

    Hi there, I wish for to subscribe for this webpage to take latest updates,
    so where can i do it please help out.

  8. source October 13, 2017 at 7:55 pm #

    Nice respond in return of this matter with firm arguments and describing everything about

  9. car insurance quotes June 5, 2016 at 3:20 am #

    Hallo liebe Manu,dein Freitagsfüller spricht mir aus der Seele! Alle aufgeführten Punkte könnten wirklich von mir stammen, bis auf den dritten Punkt. Früher war ich pflegeleichter als heute. Durchlebe gerade eine Umbruchphase.Ein schönes sonniges(?) WochenendeAlex

  10. happycustomer September 28, 2010 at 12:00 pm #

    Thanks for this article. Been looking for information similar to this, thanks A LOT actually, the web is lacking the information needed! Keep up the good work.

Leave a Reply