[Bug 1077622] Re: root= not set to UUID

Phillip Susi psusi at ubuntu.com
Fri Nov 30 21:49:56 UTC 2012


Do you have an initrd with this kernel?


** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

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

Title:
  root= not set to UUID

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  While creating my own custom usb boot stick grub does not properly set the root device to the UUID, but insits on sdi2. Of course, on booting from this stick sdi2 is not found and booting fails.
  Reason is this part of 10_linux

    initramfs=
    if test -n "${config}" ; then
        initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
    fi

    if test -n "${initrd}" ; then
      gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
    elif test -z "${initramfs}" ; then
      # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs.  Since there's
      # no initrd or builtin initramfs, it can't work here.
      linux_root_device_thisversion=${GRUB_DEVICE}
    fi

  
  Removing the  linux_root_device_thisversion= overrride there properly set it to the UUID .

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: grub-common 2.00-7ubuntu11
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Sun Nov 11 13:36:41 2012
  ProcEnviron:
   LANGUAGE=en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to quantal on 2012-01-08 (308 days ago)

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




More information about the foundations-bugs mailing list