command for Lilo??
I have an easy question but i don't know the answer. What is the command for lilo?? I know it's some thing like this vi (or something). I think the command for grub is vi /grub/grub.conf. Is that right for grub?? Does that sound right. I need to change it from DOS to say Windows XP. It automatically says DOS that means Windows XP. I can't do that without the lilo command. Please reply back. Thanks guys.
|
vi /etc/lilo.conf
remember to run "lilo" after making any changes, so lilo updates properly. :) |
This is what i typed in vi /etc/lilo.conf and this is the message i got. It was denied.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/lilo.conf" [Permission Denied] 0,0-1 All Why was it denied?? Please reply back. Thanks. Rick, Do you know anything about lilo?? |
are you logged in as root? I believe you have to be.
You dont have to use VI (i dont like it), you can use any text editor. If you want an easy one: pico /etc/lilo.conf |
Thanks i try that. I use the terminal window. I like the terminal. I personally don't care to use vi. I'm going to try vi. I believe you are that i have to be logged in as root. I'm a new user to Redhat. I have any problems i will post. I have to log off and restart my computer. Well thanks again.
|
It did not change to Windows XP for some reason. It still says DOS. If i was using grub. It would change for me. Please reply back. Thanks.
|
ok
after you edit /etc/lilo.conf , using whatever editor you want to (emacs? gedit? jedit? joe? ... whocares? :P) you need to run lilo it's list something like ... hold on, i'll just do this to mine since i've meant to... bash-2.05b# lilo Warning: LBA32 addressing assumed Added Windows_XP Added Linux_Slackware Added Linux_2.4.20NEW * I'm not sure but i don't think the label can contain spaces, cause i get something like this if i make the label "windows xp": bash-2.05b# lilo Warning: LBA32 addressing assumed Unrecognized token "XP" at or above line 40 in file '/etc/lilo.conf' so, edit the file, save and exit the editor, then as root run lilo If there are errors, fix em and run lilo again :) |
I don't understand what this guy is trying to do. The only thing i know is vi /etc/lilo.conf. "I" go down to DOS change that to WINDOWS XP "ESC" Hold down shift and hit "Z" twice. That is the only thing i know. I know i did that right. I don't understand what he is trying to do. Please reply back. Thanks.
|
once you have updated that file - try a more user friendly editor like pico btw - you will need to run the lilo command itself to update these changes in the bootloader.
|
I personally use text editor under Redhat 8. I'm really new to Redhat. Why do i need an editor?? I was'nt doing it right?? How do i run lilo itself?? You have to explain little more to me so i understand. Please reply back. Thanks.
|
Quote:
|
I understand when i open up the terminal go like this.
su password vi /etc/lilo.conf "I" change it from DOS to Windows XP "ESC" Hold down shift and hit "Z" twice. I understand that. Then when i restart my computer. It still says DOS. It does not say Windows XP. If i was using grub. I only had to do above and then it would say Windows XP. Why in lilo it won't say Windows XP?? Please reply back. Thanks. |
yeah you already said that once, didn't make much more sense than the first time... i've already told you you nee dot run "lilo" after you've editied the file.
|
ok, How do i run lilo?? Please reply back. Thanks.
|
you run lilo, by being in the console as root and typing
lilo followed by hitting enter lilo will then display a bunch of messages, indicating whether or not it worked. |
All times are GMT -5. The time now is 06:49 PM. |