LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2007, 02:56 PM   #1
kirtikjr
Member
 
Registered: Apr 2007
Location: banglore
Distribution: RedHat EL v4
Posts: 35

Rep: Reputation: 16
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.
 
Old 06-27-2007, 04:16 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No errors from GRUB, LILO but boot sector not recognized shatteredllama Linux - Newbie 4 04-23-2007 10:45 PM
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 11:46 AM
GRUB trashed Win2K Boot Sector. AHH! penguinlnx Linux - Software 3 04-22-2005 06:21 AM
How to grub-install to the 1st sector of /boot? subaruwrx Linux - General 2 09-23-2004 01:52 PM
Install Grub/Lilo at the First Sector of the Boot Partition?? ckamheng Linux - General 2 08-21-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration