Edit files help
I am ver sorry for this question ...i really am...
I am a noob to linux so pls dont come yelling at me ok? I installed the slackware 9.1 on a partition of itself... But lilo refuses to show the option to boot windows at the start up I got the following code to edit in one of the forums: /etc/lilo.config other=/dev/hda label=windows table=/dev/hda1 First question Is this code right? Second question(dont laugh) How do i do to edit the liloconfig file? I mean a litle simple step by step thing I guess that question expands to files that are not lilo as well. I'm really trying to avoid microsoft so pls help me Thank you |
You use an editor. Any editor will do.
I prefer Emacs. Just start console(terminal) and type: su <your root password here> find / -name lilo.conf This will produce a result in form like: /boot/lilo.conf Then all you have to do is : emacs /boot/lilo.conf (or the path you will get from the find command) This should open the file in emacs. Just edit it the way you want. When you are finished: press CTRL+X+S (this saves the file, hold CTRL, press X, then press S) press CTRL+X+C (this closes emacs, hold CTRL, press X, then press C) This should do the trick. I don't really know how lilo works, as I am using GRUB, but running lilo should do it, I think. In console type: lilo That should do the trick. Reboot. Good luck :) Peace! |
Here is an example of lilo.conf
Code:
boot=/dev/hda |
All times are GMT -5. The time now is 07:39 PM. |