Mick wrote:

Yes. You may also remove the linux boot image file C:\bootsect.lnx. The only drawback is that if he keeps Gentoo and ends up using it regularly, then every time you/he compile a new kernel you will need to repeat the exercise.

You will not need to redo all this every time you (re)compile a kernel if you're using grub, only add the new entry for the kernel in /boot/grub/grub.conf. With Lilo you will. The code in the MBR that Grub puts in allows it to access the boot partition and read the config, while lilo had to write it to the mbr every time you change things.

Presumably I'd do this on the Gentoo boot sector after loading grub?

Yes. Otherwise the dd command will not find the Grub boot code in the partition boot sector to copy into bootsect.lnx.


Install Lilo/Grub in the whatever partition /boot is on, then use dd, etc.

Take a look at: http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_%28NTLDR%29_and_why

It has all the info you need, and actually brings up the "bootable flag on the partition" question. I used this to put grub on my latest machine. I haven't needed to do anything to the NTLDR setup since the install, despite several kernel upgrades.

HTH,
PaulNM
--
gentoo-user@gentoo.org mailing list

Reply via email to