LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help on installing grub on first sector of /boot (https://www.linuxquestions.org/questions/linux-software-2/help-on-installing-grub-on-first-sector-of-boot-564914/)

kirtikjr 06-27-2007 02:56 PM

help on installing grub on first sector of /boot
 
my condition: i have windows installed in my system. i decide to install red hat too.. i installed grub in the first sector of the boot partition, not on the mbr, leaving windows boot loader in the mbr..

how should i change my boot.ini so that the NTLDR recognises or points to the new linux installation.

pixellany 06-27-2007 04:16 PM

To boot Linux using ntldr + boot.ini, you need a GRUB image in the appropriate Windows directory. The first step is to get GRUB installed such that it knows where it's config file is (this gets "hard-coded" into GRUB). It sounds like you already have this.

Next, to make an image (let's assume your /boot partition is /dev/hda3)
dd if=/dev/hda3 of=grub.image bs=446 count=1

Now you have to install this image and point boot.ini to it.

More detail can be found by searching here at LQ or in Google---using, eg, "boot linux with ntldr"

The article on booting at my site may also be helpful


All times are GMT -5. The time now is 07:57 AM.