[Bug 554307] Re: linux-boot-prober yields wrong uuid for kernel root parameter

RĂ¼diger Kupper ruediger.kupper+launchpad at gmail.com
Wed May 9 16:48:44 UTC 2018


Hi Philip,
glad to hear that I'm not fully mistaken ;-). It may not be a very frequent use case having different Linux installs in parallel, but solving this will really improve things for those users.
Thank you!

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

Title:
  linux-boot-prober yields wrong uuid for kernel root parameter

Status in os-prober package in Ubuntu:
  Triaged

Bug description:
  When os-prober detects another install on a system with a shared
  /boot, it sets up a menu to boot that install, but passes the kernel a
  root= argument directing it to mount the root partition of the install
  running os-prober instead of the partition on which the other system
  was found.  Example:

  menuentry '<name of first linux OS> (on /dev/sda2)' [...] {
          [...]
          set root='(hd0,msdos1)' # <- this is the boot partition, /dev/sda1
          search --no-floppy --fs-uuid --set=root <UUID of /dev/sda1>
          linux /vmlinuz-x.x.x root=UUID=<UUID of /dev/sda2> [...]
          initrd [....]
  }
  menuentry '<name of second linux OS> (on /dev/sda3)' [...] {
          [...]
          set root='(hd0,msdos1)' # <- this is the boot partition, /dev/sda1
          search --no-floppy --fs-uuid --set=root <UUID-of-/dev/sda1>
          linux /vmlinuz-y.y.y root=UUID=<UUID of /dev/sda2 (!!!)> [...]
          initrd [....]
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/554307/+subscriptions



More information about the foundations-bugs mailing list