Friday, January 11, 2008

Install Windows after linux,and Make the linux boot for you

1) boot with the Knoppix of your choice and become root

a) type grub
b) on the grub comand line type:
b.1) find /boot/grub/stage1 (from these you get the number of the master partitions)
b.2)root (hd?,?)
b.3)setup (hd?)
b.4)quit
2) reboot

NOTE: Adjust (hd???) to your machine.
NOTE2: the main difference is that there's no need to mount partitions.

3)after you have linux back you ned to do these -->

3.1) gedit /boot/grub/menu.lst
3.2) and to add that at the end of the file>>>


title Microsoft Windows XP Home Edition
root (hd??,0)
savedefault
makeactive
chainloader +1

Note: The dh? is the number of partitions you install the windows at but "number-1"

No comments: