PDA

View Full Version : [ubuntu] Installing windows into a partition while logged into ubuntu



jellytot
June 17th, 2009, 10:49 AM
Hi,
I was wondering, is there a program where you can install windows into a blank partition, but do it without booting from a disk? because everytime I boot from windows disc I always get an error before it starts installing. Some massive error comes up to tell me to CHKDISK and such..

Any help is appreciated. I made a partition for Ubuntu (ext3) and a partition (ntfs) for windows and also a small partition for linux-swap. I did this in GParted from booting and forcing VESA.

Thanks.

travisrichardson1980
June 17th, 2009, 03:13 PM
i've had the best success with dual-booting when i install windows first.

then i boot to my linux livecd, resize the partition to make enough free space, then install linux using the "free disk space" option. or i just set up the partitions manually after changing the windows partition size, and tell linux to "install to existing partitions"

installing linux first and windows after usually doesn't work, unless you're really good at setting up your own boat loader.

set up linux second, and it does the boot loader setup for you. (yay!)

but no, i don't believe there is any way to install windows while being logged in to linux. it's pretty much a one-shot, boot-to-windows-cd-and-install deal.

Malac
June 17th, 2009, 03:26 PM
Don't use parted to format ntfs partitions to install windows onto.
Use windows.
Windows is probably baulking at the ubuntu partition table/mbr.
It will over write the MBR when you install windows so have a backup ready.