Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Tue Oct 21, 2014 6:23 pm Post subject: |
|
|
An alternative is to launch grub from a copy of the mbr like it was MS-DOS. You install grub in the MBR, boot Linux, use dd to copy the mbr to a boot.lnx file, put the file in the root of what will be Windows' C:, restore the original mbr either from a saved copy or from a Windows boot disk, boot into windows and edit boot.ini.
sample boot.ini
Code: |
[boot loader]
timeout=30
default=C:\BOOTSECT.LNX
[operating systems]
C:\BOOTSECT.LNX="Gentoo Linux"
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /usepmtimer /NoExecute=OptIn /pae
|
|
|