For restoring the MBR, from Linux, go to /boot/grub or /boot/lilo there will be a few files marked mbr.xxx the x being numerals
Then use the command "dd if=mbr.xxx of=/dev/hdx"
dd means overwrite with the input file, if=XXX the output file of=XXX
In this case it will overwrite the current mbr with the ones lilo or grub had stored before.
The "mbrXXX" file or files.
I did that with Win2000, installed it onto an empty DOS partition, with three separate distros of Linux already installed on the system.
DOS installers like to take over the whole thing and there's a way I can't remember that keeps it from re-writing your mbr every time.
For booting ntfs there's an add-in bootloader that you place in the already installed XP or (so I've heard) Vista called grldr.then edit the autoexec.bat file to include grldr
grldr then can invoke the ntldr files to boot windows or grub to boot Linux.
When you're installing Linux pass the option from the grub installer to install the grub files to the root partition of your Linux.
And write the grub files to an already existing grub menu.lst
Adriane (Knoppix 6.X Live CD) gives the option to not overwrite the entire menu.lst, just add the lines to boot Adriane at the end.
That way the mbr doesn't get re-written in the first place.
This works if you have your mega-huge-everything-included large kernel Linux like Fedora or a full install of SuSe and a smaller Debian/Ubuntu distro like DSL or Puppy for or Knoppix for quick booting... already installed
And with Winbloze already installed.


Reply With Quote