LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lilo boot loader (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-boot-loader-235416/)

shadowsurfer 09-26-2004 11:17 AM

lilo boot loader
 
i have a pc with 2 HD on it ,primary HD consist of two partition (hda1 and hda2) hda1 is running win98os while hda2 running RH 7.2 . Primary slave consist of 2 partition also hdb1 (winme) and hdb2 none ... when i installed the RH7.2 the default set of the lilo boot loader is on hda1 and hda2. So when i boot my pc lilo prompt me to choose what os i will but when i choose windows it direct me to win98 (hda1). How can i set my lilo to set my windowsme as the second default o.s.? what is the command or file to be editted



thanks

darkleaf 09-26-2004 11:45 AM

The file is lilo.conf. I think the location might be different for different distro's but for debian it's /etc/lilo.conf

shadowsurfer 09-26-2004 11:54 AM

ive already modify it and change the setting from hda1 to hdb1 but it didnt work is there any file to configure

twantrd 09-26-2004 12:58 PM

Yes, the file you need to edit/make changes is in lilo.conf. At the very bottom, do you see a "other" line? For example,
mine shows:

# other=/dev/hda4
# label=HURD
# read-only

Uncomment those lines.
1. Change other to point to your winme partition which would be: /dev/hdb1
2. Change label=WinME

After making the changes, you need to make it into affect so you will need to run 'lilo' afterwards. Now when you boot
up, you should see an option called WinME and upon clicking it, it would load WinME os for you. If that STILL doesn't
work, something else is messed up in your config file. Please paste it for us to see. Thanks and good luck.

-twantrd

cincindie 09-26-2004 01:41 PM

Also, after editing the lilo.conf file, you need to run /sbin/lilo -v for the changes to be written to your mbr.


All times are GMT -5. The time now is 10:25 PM.