On 18 Jan 2001, chronos . wrote:

> Hi all,
> I`m running mandrake 7.1 and I have 128 for ram but it only sees 64 of my 128. I 
>went to mandrakeuser.org and found the following- edit tittle linux kernel 
>(hd0,0)/boot/vmlinuz root=dev/hda1 then append mem=128M to the end of it. The problem 
>is I type pico then tittle linux and it gives me a new file then I type kernel etc. 
>and all it does is places a file in my home directory under root. Ctrl W does not 
>work. When I type pico kernel etc. by itself it says unexpected token (h and exits. 
>How do I edit this file ? There has to be a way to edit this. Keep in mind I`m no 
>genius here so I need pretty much exact instructions on what to do. Ie type pico then 
>whatever I need to edit the file.

Chronos,

I have seen you post this question numerous times and I've seen people
answer you with some very good answers. With all due respect, there comes
a time when you need to think for yourself and work with the instructions
that have been given to you. You want to edit a file? How would you do it
in DOS? Typing in 'edit' isn't going to magically open up the file you
want to modify. Typing in edit <filenamee> will. These are basic concepts
of computer usuage that, no matter what operating system you are using, do
the job.

That said I am going to settle this once and for all. If you have problems
following these instructions then I cannot help you any further.

If you are using KDE or Gnome, login as root; Go to Programs->Editors->and
pick whatever editor you want. Go to File->Open; Change the directory to
/etc (ie: if the default is /root, go up a dir level to /, then click on
/etc). Double-click on the file lilo.conf. About 10 lines down you will
see something that looks like this:

image=/boot/vmlinuz
        label=linux
        root=/dev/hdx
        initrd="/boot/initrd-2.2.17-mdk.img
        append " hdg=ide-scsi ide3=autotune ide2=autotune"

See the append line? No, its not going to look exactly the same as whats
in this email but thats the line you're looking for. Inside the quotation
marks INSERT the mem=128M statement. So that now it will look something
like this:

        append "mem=128M hdg=ide-scsi ide3=autotune ide2=autotune"

Do not change anything else. Save the changes and exit the editor. Now
open a terminal window and type in: lilo and hit your enter key. If you
get errors you made a typo. Follow the instructions about and fix your
error. Re-run lilo when done. Once you get no errors, reboot your
machine.

If you are not running KDE or Gnome, then login as root. Type in the
command cd /etc. Then type in the command pico lilo.conf. Make the same
change as described above. Make sure you run lilo after editing the file.

Linux isn't much different than Windows or DOS. Most things work exactly
the same way. Have you ever editted a file in Windows? Doing it under
Linux uses the same principles.

-Chris



Reply via email to