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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-23-2003, 06:29 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
About lilo.conf
I'm a newbie,i had install three operating system --win2000 pro,
RH9.0,win2000 advance server.When the computer starting,
i only can see two choices--linux and windows .what should i do
if i want to see three choices?
how to edit lilo.conf or else file?
|
|
|
08-23-2003, 08:03 AM
|
#2
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
OK I assume all three are on different partitions. Enter linux and make sure you know which partition each operating system is on. If you don't, type "fdisk /dev/hda" (as root). Press "p" to see your partition table. Write down all the relevant paritions (eg linux is on /dev/hda1, win2000 is on /dev/hda2 etc). If you have more than one disk repeat the above step for each one (eg "fdisk /dev/hdb", "fdisk /dev/hdc" etc). That is for IDE disks. SCSI disks are called /dev/sda, /dev/sdb etc. Make a copy of your existing /etc/lilo.conf file (call it something like lilo.conf.old). Edit your /etc/lilo.conf file (as root)and find the other=<whatever> section (usually at the bottom). Add a stanza for the missing parition:
other=/dev/hdax (/dev/hdax is the name of the missing parition that you gleaned from fdisk)
label="Win2000" (this can say whatever you like but it can't have spaces in it)
Save and exit. The type "lilo" (as root) at the command prompt. If it shows errors then you'll need to fix them up before rebooting. If all else fails restore your old lilo.conf and type "lilo". Then post your errors here. The successful output should look something like this:
added Linux*
added Win2000pro
added Win2000adv
The bit after "added" in every line should correspond to the "label=" line in your lilo.conf. The asterisk indicates which one is the default.
Last edited by adz; 08-23-2003 at 08:06 AM.
|
|
|
08-23-2003, 08:06 AM
|
#3
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
Open a terminal and type man lilo.conf . Read the manual, and this will answer all your questions...
If you still don't know how to edit lilo.conf , search for tutorials related with this subject in www.google.com/linux , you'll find many.
Regards.
|
|
|
08-23-2003, 01:07 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Quote:
how to edit lilo.conf or else file?
|
In general -
Open a shell command line.
Type
su
press enter
Then type your Root password
press enter
then type
gedit /etc/lilo.conf
or use your favourite editor.
press enter
make the changes and save the file.
Last edited by Skyline; 08-23-2003 at 01:09 PM.
|
|
|
All times are GMT -5. The time now is 08:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|