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

My name plmalternate at gmail.com
Mon Aug 1 21:26:20 UTC 2016


BTW, all my linux systems are 1-partition-each, no seperate ~s, or swaps
or boot. Keeping it simple. They are on 2 drives, one external, one
internal. Grub is on /dev/sda with config files on sda5, which is the
one that boots. Some are on primary and some on logical partitions. Sda1
and sda2 are Win-7. I have maybe 7 'nix systems, most but not all of
which are 14.04s. And this happened after I defragged the W7 and shrunk
its main partition (sda2)(what a collasol PITA - MS makes that hard
deliberately, the farstards), put in a new sda6, restored an fsarchiver
backup of sda5 to it, reset it to a new UUID, and did update-grub. When
it didn't work, I used all the native tools to purge grub* and
reinstall. dpkg kept returning errors which I couldn't fix with any dpkg
or apt-get commands, despite hours of trying. To my surprise Synaptic
had no trouble fixing that. But no matter how many times I purge and
reinstall, it is the same issue now.

One more work-around I just thought of, in light of some of the comments
above, that may be worth trying:

-After purging grub* and manually rm'ing any grub related files I can
find on the system that installed grub to sda, which I already tried, go
on and rm any grub related files I can fine on ALL partitions before
reinstalling. Maybe?

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