Editing LILO
Can someone please tell me how can I edit the lilo in the command mode. Also how to add an entry so that I have option to select the OS I want at the startup. Also how can I make the new change take effect. I'm not verry goot at commands and it would be helpful if you can give the command for opening the file to edit.
I have 2 partisions on one drive. Have windows in C and want to put Mandrake 9.2 on D. First time I installed Mandrake 9.2 it did not give me the option to select what I want. It just continued to load Linux when ever I turned on the computer. |
Basically it's all in
man lilo man lilo.conf You just need a text editor, make your changes to /etc/lilo.conf, and then run lilo to actually activate them. Cheers, Tink |
Hi!
Try reading this little HowTo: http://www.tldp.org/HOWTO/LILO.html It's definately better to know what you do when editing your master boot record. I don't want to scare you, but the chance is that you end up with a system that's completely broken otherwise. You could also take a look at the hardware solution which is kind of nice: http://www.nicklock.com/ If you want to go ahead with this I could give you some more help. But I would feel much more comfortable knowing that you, at least, have read the HowTo. Regards Martin |
Ya thanks.. But the problem is Is it possible to do this in Linux command mode?? because last time I installed linux, I had a problem with my graphic card and "startx" command didn't work. So linux didnt work and, windows didnt work. If I can't go to the internet I'm doomed. So I dont want to install linux untill I know how to do this. So incase linux dosent work for the second time, at least I can go to the internet and look for help.
If it is possible to do this in command mode can you please tell me what commands I have to use... Thanks...... |
Quote:
Quote:
and emacs. Some will have pico, you can use the built-in editor in mc... and all those are command-line tools. Cheers, Tink |
Ok... Let me explain my situation more clearly... I have a problem with my graphic card. So when linux loads, it gets to the point where I have to type in user name and password and then, when I type startx it give me an error.
At that point i'm stuck.. And I want to add an entry on liolo for my secondery OS. So at least the other one works untill I fix the problem here. So in order to edit lilo.conf what command exactly do I type and what command do I type to run the thing and make changes take effect??? Hope you understand better now.... Thanks....... |
He's already *told* you.
Code:
vi /etc/lilo.conf Code:
/sbin/lilo Code:
shutdown -r now |
OkOk... I'm going to try to do this now....
Thanks...... |
All times are GMT -5. The time now is 06:24 PM. |