Click to See Complete Forum and Search --> : Grub and "append=mem"?


drmbb
11-19-2000, 04:31 PM
I dual boot with 'Drake 7.1 and Win98. If I envoke the edit option at the Grub boot I can append "mem=224M" and all my RAM is recognized. But this isn't kept as a permanent boot option. If I edit the Grub boot menu from within Linux, I still only get 64Mb recognized at a re-boot? Am I missing something?

And please don't just tell me to install LiLo - the only reason I'm sticking with Grub is that LiLo won't install correctly (added a new UDMA drive for linux - Linux on hdg, but Win98 on hde and hdf, and LiLo won't install correctly to hde now).


------------------
Michael
mbblack@cstone.net

"So, what do you think of the human race? I'd like an outsiders' view" - Latka Gravas
"In order to find his equal, an Irishman is forced to talk with god" - Stephen in Brave Heart

mdwatts
11-20-2000, 10:09 AM
Add 'mem=224M' to the end of the 'kernel' line in 'boot/grub/menu.lst'.

That's all you need to do...

drmbb
11-20-2000, 07:15 PM
Originally posted by mdwatts:
Add 'mem=224M' to the end of the 'kernel' line in 'boot/grub/menu.lst'.

That's all you need to do...

That's exactly what I tried to do, but when I reboot I only have 64Mb recognized, like the menu.lst file isn't being read, or at least not correctly?

At the Grub boot screen, if I hit "e", then "e" again, type in "mem=224M", and hit "b" to boot, all my RAM is seen fine. Is there an option to make those boot-time edits permanent (maybe that would work)? LiLo just won't install to hde ever since I added the third drive, only Grub works, just not the way it should.

slowlearner
11-20-2000, 07:39 PM
After you edit lilo, you have to enter /sbin/lilo. Maybe you have to do something like that for grub as well. What it is I don't know, but if anyone does, could you post it here for us? http://www.linuxnewbie.org/ubb/smile.gif

------------------
We do not inherit the Earth, we borrow it from our children.

mdwatts
11-21-2000, 06:48 AM
You either use Grub or you use Lilo, but not both. They are boot loaders so only one can be used at a time.

When editing /boot/grub/menu.lst and adding mem=224M to the kernel line, make sure the line does not continue on the next. The best way to add the command would be to insert it somewhere before the end. I found this out when trying to add 'hdd=ide-scsi' to the end of the kernel line which made a line break. The command did not work until I made it a single line.

The command should continue on one line

and not

The command shoud continue on
one line

drmbb
11-21-2000, 10:41 AM
THANKS - that was exactly it! I'd have never thought that a line wrap could be so annoying.