update-grub writes in wrong settings for example memmap=54M\$970M
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
I have a memory module that memtest86 says the last 54MB is bad.
total memory is 1024mb.
So, using memmap you can tell the kernel to ignore and not use a specified memory range.
In my case memap=54M\$970, so the kernel wont use starting from 970MB the next 54Mb's.
since it is bash script, you have to escape the $.??
you want the linux kernel line after splash, in /boot/grub/grub.cfg to have appended on the end, memmap=54M\$970 but
when you edit the /etc/default/grub file to add in a kernel parameter memmap=54M\$970, grub-update
writes in memmap=54M$\970 which wont work.
I dont know if my syntax for escaping the '$' is correct but if it is, then this is a bug.
this is my line in /etc/default/grub
GRUB_CMDLINE_
and running update-grub yields
linux /boot/vmlinuz-
The '$' and '\' are reversed. That means i will have to hand edit the grub.cfg file everytime a new kernel comes thru or update-grub is run
ProblemType: Bug
Architecture: i386
Date: Sat Nov 28 14:08:09 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: grub2 (not installed)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub2
Uname: Linux 2.6.31-14-generic i686
a couple of references about memmap usage ubuntuforums. org/showthread. php?t=860631
http://
http:// linux.derkeiler .com/Mailing- Lists/Kernel/ 2008-03/ msg05303. html