Install WIndows in a Linux Machine

Thomas Kaiser ubuntu at kaiser-linux.li
Wed Jan 16 17:41:11 UTC 2008


OOzy Pal wrote:
> I have Ubuntu installed in one partition (first one) the second
> partition is free and I need some windows programs so I need to
> install windows. How can I install windows. Should I just insert my
> WXP cd and install. Then I will loose my MBR for Linux!
> 
> 
> 

Backup your MBR first.

sudo dd if=/dev/hda of=mbr.backup size=512 count=1

Install Windoz.

Boot with a Linux live CD and put the MBR back.

sudo dd if=mbr.backup of=/dev/hda size=512 count=1

Make a new entry in menu.list to boot Windoz.

Thomas


-- 
http://www.kaiser-linux.li




More information about the ubuntu-users mailing list