[Bug 521730] Re: "set root" must be added to the memtest86+ entries

Bug Watch Updater 521730 at bugs.launchpad.net
Thu Aug 11 00:52:15 UTC 2011


** Changed in: memtest86+ (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to memtest86+ in Ubuntu.
https://bugs.launchpad.net/bugs/521730

Title:
  "set root" must be added to the memtest86+ entries

Status in “memtest86+” package in Ubuntu:
  Fix Released
Status in “memtest86+” package in Debian:
  Fix Released

Bug description:
  Binary package hint: grub

  Hello,

  On Karmic, if the boot partition is a separated partition from
  userland applications, memtest86+ cannot be executed from grub,
  because the main "set root" points to the userland partition, and the
  "set root" command is not redefined for the memtest86+ entries

  The update-grub command generate a grub.cfg as following:

  set root=(hd0,5)                                                                                                                                                                                               
  ...
  ### BEGIN /etc/grub.d/10_linux ###
  menuentry "Ubuntu, Linux 2.6.31-19-generic" {
          ...
          set root=(hd0,1)
          linux   /vmlinuz-2.6.31-19-generic root=UUID=85c8fa36-9467-4ba0-be4b-6b41822080e0 ro noapic acpi=noirq pci=noacpi  quiet splash
          initrd  /initrd.img-2.6.31-19-generic
  }
  menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
          ...
          set root=(hd0,1)
          linux   /vmlinuz-2.6.31-19-generic root=UUID=85c8fa36-9467-4ba0-be4b-6b41822080e0 ro single noapic acpi=noirq pci=noacpi
          initrd  /initrd.img-2.6.31-19-generic
  }
  ### END /etc/grub.d/10_linux ###

  ### BEGIN /etc/grub.d/20_memtest86+ ###
  menuentry "Memory test (memtest86+)" {
          linux16 /memtest86+.bin
  }
  menuentry "Memory test (memtest86+, serial console 115200)" {
          linux16 /memtest86+.bin console=ttyS0,115200n8
  }
  ### END /etc/grub.d/20_memtest86+ ###

  So memtest86+ will not be found on (hd0,5), because it is on the (hd0,1). We should have instead
  ### BEGIN /etc/grub.d/20_memtest86+ ###
  menuentry "Memory test (memtest86+)" {
          set root=(hd0,1)
          linux16 /memtest86+.bin
  }
  menuentry "Memory test (memtest86+, serial console 115200)" {
          set root=(hd0,1)
          linux16 /memtest86+.bin console=ttyS0,115200n8
  }
  ### END /etc/grub.d/20_memtest86+ ###

  Best regards.

  Guillaume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/521730/+subscriptions




More information about the foundations-bugs mailing list