Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-12-2004, 04:02 AM   #1
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.

Old 01-12-2004, 04:49 AM   #2
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?



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

All times are GMT -5. The time now is 01:54 PM.

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