Koozali.org: home of the SME Server

how to edit lilo.conf

steve

how to edit lilo.conf
« on: January 14, 2002, 09:48:57 PM »
My system does not recognize all of my RAM
after looking on the message boards, i have found what I need to do (edit etc/lilo.conf) but i do not know how to do it
is there a text editor (like edit.com in DOS) to do this??????
How do I edit this file (or any file for that matter)
Help???

Dan Brown

Re: how to edit lilo.conf
« Reply #1 on: January 14, 2002, 10:13:59 PM »
pico is your friend.

Harvey Freheimer

Re: how to edit lilo.conf
« Reply #2 on: January 14, 2002, 10:17:15 PM »
First let's back up your old lilo files:

> cp -dfpv /etc/lilo.conf /etc/lilo.conf_bak

Then from the command line enter this:

> vi /etc/lilo.conf

Now press "i" for Insert mode.
Use your arrow keys to make your changes.

If you are satisfied with your changes:

> :wq!      <- that forces write and quit.

Otherwise, if you do NOT want to save your changes and abort:

> :q!         <- this won't write the changes... and will force a quit.


To reload lilo:

> lilo

It will say something about added *e-smith or *SME

steve

Re: how to edit lilo.conf
« Reply #3 on: January 14, 2002, 10:28:21 PM »
Dan -- You da Man, thanks for that tiny piece of important info
apparently, you are my friend too:)

Harvey, Dan beat ya to it, I used pico to edit the file.
ran sbin/lilo
it said
added*e-smith
rebooted
all my memory is there!!!

Thanks again guys

Praise to the e-smith community