Except I think the fella is using grub.

Chronos:

First off, run this from a command line:

[dstart@fweeble ~]$ cat /etc/lilo.conf

Just the cat part, mind you. If you DON'T have a file called /etc/lilo.conf,
you installed grub as your boot loader. All of the great advice everybody
has offered up to this point is for naught. Were I you, at this point, I'd
say screw it all and reinstall, this time choosing LILO as your boot loader
(why did Mandrake include grub? freedom of choice?). Were I you. Who knows,
it may solve the ram issue. If it doesn't then Chris' great advice below
will work.

You're a newbie, I betcha. Don't worry, we all start somewhere. I was lucky
enough to room with a net.god in college. I know sending people to
LinuxDoc.org is my answer to most tech questions, but you might want to
spend some time reading up here:

http://linuxdoc.org/LDP/gs/

also:

http://63.209.80.231/en/doc/72/en/ref.html/index.html (mandrake users
manual)

Seriously, a good place to go to keep from killing yourself. If you would
like a good deadtree guide, check out O'Rielly's
_Learning_the_UNIX_Operating_System_. It's a very good book to get you up to
speed on the basics. From there the specifics become a lot easier to handle.
Make sure to learn to use 'grep' and 'less' as well. They're your friends.

Derek Stark
IT / Linux Admin
eSupportNow
xt 8952

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Spencer
Sent: Thursday, January 18, 2001 2:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] ram issue(continued)


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