ajatshatru,
We use here your question at the other double posted thread, it says:
Quote:
have 2 os in my system( redhat linux 5.1 and windows xp).is it possible to remove grub boot loader without any effect on xp .and how can i use windows boot loader for boot linux.
|
It is always possible to remove grub. If your bootloading runs okay today you should first backup the MBR before doing some alteration. Do this first:
root@host-#: dd if=/dev/sda of=/root/myMBRback bs=512 count=1
<Remember you must be root; or you must 'sudo' to access the device>
Take note of your MBR back up, take note of its location to restore it in case you need to recover and restore the current booting condition.
Now to your question:
Quote:
how can i use windows boot loader for boot linux
|
The answer is a NO there is no way. Before, I have tried to manipulate the Xp boot file at C:\boot.txt <hidden file> to pass kernel pointer to grub but ntbootldr cannot interpret upon reaching that point.
Yet the geniuses of redmond can certainly do you that service, customizing you an Xp bootloader to boot a Free OS, under one exclusive language: not C, not C++, but the language of MONEY. If no one has yet managed to configure an ntbootldr to load a Linux OS, then your only way is to make a call to Microsoft and make them an Offer ($$$$$$) that they cannot refuse.
If you want to remain in the fantasy of Matrix then get re-plugged to Microsoft: that is, use the Xp install CD, press "r" to get into the recovery console, there issue the 'restorembr' command at the C:\ use "Help" to get the right syntax reinstalling nt boot loader into the MBR. Reboot to Xp. Delete or reformat the Linux drive. There you can remain until the messiah returns.
If you want to be able to boot to either Xp and Linux then your only choice is Grub or Lilo.
BTW, if you want to restore the current MBR using that back up when using dd, you may only need do this:
root@host--#: dd if=/root/myMBRback of=/dev/sda
Reboot.
Hope this helps.
Good luck.