I'm totally sure I've choosen the 4th partition for installation of windows. Windows installed the WINDOWS directory into the 4th partition. I don't know why, but it ALSO installed some files into the 3rd partition. System was booting correctly both into windows and linux, but I want to move all files to the 4th partition.
What I've done is to boot live cd, then move all these files to the 4th partition:
Code:
AUTOEXEC.BAT, boot.ini, CONFIG.SYS, IO.SYS, MSDOS.SYS, NTDETECT.COM and ntldr
Then I edited the file boot.ini:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
instead of:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
And then changed grub's menu.lst.
Code:
title Microsoft Windows XP Professional
root (hd0,3)
savedefault
makeactive
chainloader +1
instead of:
Code:
title Microsoft Windows XP Professional
root (hd0,2)
savedefault
makeactive
chainloader +1
After updating grub and rebooting... it works \o/
But WHY windows installed those files into the 3rd partition originally?