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

EvilSupahFly 554307 at bugs.launchpad.net
Tue Jan 19 19:33:54 UTC 2016


Yesterday, I installed KALI beside my existing Ubuntu 15.04, and I'm
still seeing this issue. When I ran 'update-grub' from Ubuntu, all menu
options boot Ubuntu but with problems. When I ran 'update-grub' in KALI,
everything changes to KALI but also with problems.

I have one common dedicated boot partition which loads the respective
Kali or Ubuntu partitions with Kali being on a completely different HD:

$ blkid
/dev/sda1: LABEL="BOOT" UUID="883242e7-e8da-40d2-aab7-40a2f771aa6b" TYPE="ext4" PARTUUID="fa43222a-01"
/dev/sda3: UUID="5bb6dc47-4b57-4610-9e4d-6d4e604a171f" TYPE="swap" PARTUUID="fa43222a-03"
/dev/sda4: LABEL="UBUNTU" UUID="dcd42ae2-281e-4101-9d64-fb0301c6eb37" TYPE="ext4" PARTUUID="fa43222a-04"
/dev/sdb1: LABEL="KALI" UUID="c5f8b7c2-82b6-4c22-a69e-6b4954ee5d5f" TYPE="ext4" PARTUUID="d60d1859-01"
/dev/sdc1: LABEL="HOME" UUID="8d6dae46-274c-4401-89dd-26c536549ebd" TYPE="ext4" PARTUUID="e7e0802f-01"

To fix this, I had to manually change the UUID's in /boot/grub to
reflect Ubuntu and Kali userland respectively.

-- 
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:
  Confirmed

Bug description:
  Binary package hint: os-prober

  My Partitions:
  sda5 swap
  sda6 lucid
  sda7 karmic

  linux-boot-prober doesn't take the root partition as kernel root
  paraameter for my karmic installation.

  matthias at netbook:/boot/grub$ ls -l /dev/disk/by-uuid/
  insgesamt 0
  lrwxrwxrwx 1 root root 10 2010-04-02 23:08 199233d9-7174-445d-81df-eb9c95af871f -> ../../sda7
  lrwxrwxrwx 1 root root 10 2010-04-02 23:08 1E4F-1E00 -> ../../sda2
  lrwxrwxrwx 1 root root 10 2010-04-02 23:08 523cd06e-f460-4c88-b1e9-5382df4e5d37 -> ../../sda6
  lrwxrwxrwx 1 root root 10 2010-04-02 23:08 82A8C040A8C03507 -> ../../sda1
  lrwxrwxrwx 1 root root 10 2010-04-02 23:08 837c2ad3-a209-4668-b864-a79320c5094b -> ../../sda5

  matthias at netbook:/boot/grub$ linux-boot-prober /dev/disk/by-uuid/199233d9-7174-445d-81df-eb9c95af871f
  unshare failed: Operation not permitted
  /dev/disk/by-uuid/199233d9-7174-445d-81df-eb9c95af871f:/dev/disk/by-uuid/199233d9-7174-445d-81df-eb9c95af871f:Ubuntu, Linux 2.6.31-16-generic:/boot/vmlinuz-2.6.31-16-generic:/boot/initrd.img-2.6.31-16-generic:root=UUID=523cd06e-f460-4c88-b1e9-5382df4e5d37 ro quiet splash
  ...

  I suspect that when I try to boot my karmic, it boots the karmic
  kernel with lucid userland -> nothing works.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: os-prober 1.36
  ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-19-generic i686
  Architecture: i386
  Date: Sat Apr  3 01:15:03 2010
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: os-prober

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