lilo.conf editing
Hi
I am trying to edit lilo.conf through a rescue console using vi. lilo seems to be looking in the wrong hda for resuming. I've found how to edit the parts i need to change but how do i save the file? Doesn't seem clear at all Many thanks |
man vi will give you the commands.
Generally you use the : key to enter a command. : followed by w will write : followed by q will quit If you want to quit without saving use : followed by q! cheers! |
Try using command 'chroot'.
-- peyotl |
Sorry guys, a : followed by w that will save the file right? Where do i type that in, i've tried at the end on a new line but that don't seem to work! man doesn't seem to work also.
If someone could spell it out and dumb it down (even more) i'd be greatful thanks |
Use <Esc> key to switch from Insert to normal mode of Vi,
then :w will save the file. 'I' will drop you to the insert mode again. good luck |
first press esc then
:wq w saves your file and q quitts the editing program vi and you return to console. |
Else, try an easier text editor like pico or nano
|
All times are GMT -5. The time now is 03:30 PM. |