[Bug 489688] [NEW] update-grub writes in wrong settings for example memmap=54M\$970M

sdowney717 sdowney717 at msn.com
Sat Nov 28 19:17:36 UTC 2009


Public bug reported:

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_LINUX_DEFAULT="quiet splash memmap=54M\$970"

and running update-grub yields

linux   /boot/vmlinuz-2.6.31-14-generic-pae root=UUID=4923760a-6e34-4678
-b0ab-d06b151a2998 ro single memmap=54M$\970

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
NonfreeKernelModules: nvidia
Package: grub2 (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: grub2
Uname: Linux 2.6.31-14-generic i686

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
update-grub writes in wrong settings for example  memmap=54M\$970M
https://bugs.launchpad.net/bugs/489688
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list