LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2004, 03:02 AM   #1
contactsanil
LQ Newbie
 
Registered: Jan 2004
Location: India
Posts: 1

Rep: Reputation: 0
LILO not in MBR


I recently had a redhat 9.0 on a windows98 machine.
But i stored my lilo bootloader in another partition instead of MBR.
So only the windows is booting.
How can I modify the MBR? So that I can choose from the two OS.
Please Help.

Sanil
 
Old 01-12-2004, 03:49 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi Sanil! Welcome to LinuxQuestions!

I don't know if your /etc/lilo.conf (the configuration file for lilo) contains entries for both Linux and Windows 98. But following this procedure, you will at least be able to boot Linux and then we can fix your Windows loader later. (The Windows partition will not be damaged, just not accessible.)

o Boot with your RedHat installation CD and type 'linux rescue' at the boot prompt.

o You will now get to a command shell and there will be a text telling you where your Linux partitions are mounted. (/mnt/ something)

o Change root to that directory.
~> chroot /mnt/<the directory described above>

o Possibly edit your /etc/lilo.conf file

o Run lilo
~> /sbin/lilo

o Reboot
~> reboot

Do you want more help or do you know how to edit your lilo.conf file?

Regards
Martin
 
  


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
Lilo on MBR tez Slackware - Installation 3 10-22-2004 09:20 AM
Lilo only on MBR? Teoryn Slackware - Installation 9 03-30-2004 04:10 AM
lilo won't go into the MBR breakerfall Linux - General 2 10-09-2003 11:11 AM
lilo on MBR roofy Linux - General 5 05-19-2003 04:15 PM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

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