[Bug 1414124] Re: install reports unable to install grub to /dev/sdb

Eric Fontaine ericrfontaine at hotmail.com
Sat Jan 24 18:49:05 UTC 2015


I see from syslog there may be some issue with grub probe.  Here is
verbose output from both drives:

lubuntu at lubuntu:~$ sudo grub-probe -v -d /dev/sda
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: /dev/sda is not present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: /dev/sda is present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: /dev/sda is present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: opening hostdisk//dev/sda.
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-probe: error: unknown filesystem.

lubuntu at lubuntu:~$ sudo grub-probe -v -d /dev/sdb
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: /dev/sdb is not present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: /dev/sdb is present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: /dev/sdb is present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: opening hostdisk//dev/sdb.
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sdb is 125045424.
grub-probe: error: unknown filesystem.

lubuntu at lubuntu:~$ sudo grub-probe -vvv -d /dev/sda -t partmap
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: /dev/sda is not present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: /dev/sda is present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: /dev/sda is present.
grub-probe: info: Looking for /dev/sda.
grub-probe: info: /dev/sda is a parent of /dev/sda.
grub-probe: info: opening hostdisk//dev/sda.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/sda'...
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sda is 1953525168.
grub-probe: info: no partition map found for hostdisk//dev/sda.
grub-core/kern/disk.c:295: Closing `hostdisk//dev/sda'.

lubuntu at lubuntu:~$ sudo grub-probe -vvv -d /dev/sdb -t partmap
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: /dev/sdb is not present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: /dev/sdb is present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: /dev/sdb is present.
grub-probe: info: Looking for /dev/sdb.
grub-probe: info: /dev/sdb is a parent of /dev/sdb.
grub-probe: info: opening hostdisk//dev/sdb.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/sdb'...
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sdb is 125045424.
grub-probe: info: no partition map found for hostdisk//dev/sdb.
grub-core/kern/disk.c:295: Closing `hostdisk//dev/sdb'.

lubuntu at lubuntu:~$ sudo blkid
/dev/sdb1: UUID="c52299f6-cd58-438f-ace8-29c01aabc0cb" TYPE="ext4" PARTUUID="a9f35515-01"
/dev/sdc1: UUID="2015-01-23-17-18-24-00" LABEL="Lubuntu 15.04 amd64" TYPE="iso9660" PTUUID="17aeea70" PTTYPE="dos" PARTUUID="17aeea70-01"
/dev/sdc2: SEC_TYPE="msdos" UUID="A011-B0D9" TYPE="vfat" PARTUUID="17aeea70-02"
/dev/sdb5: UUID="44a7b82d-a953-47ad-943b-80b0cfd2cdfe" TYPE="swap" PARTUUID="a9f35515-05"
/dev/loop0: TYPE="squashfs"
/dev/zram0: UUID="97a6dca3-be0b-4d68-8284-d2cee99ed829" TYPE="swap"
/dev/zram1: UUID="c559506c-4fbc-40be-8dd8-4f4712b4ab76" TYPE="swap"
/dev/zram2: UUID="608b131b-973b-4293-b402-5019fd28ee13" TYPE="swap"
/dev/zram3: UUID="37b8930c-60d0-440f-9372-e07376aca9a5" TYPE="swap"
/dev/zram4: UUID="c7acb824-4541-4118-821c-4997057ce3fc" TYPE="swap"
/dev/zram5: UUID="ee979ee4-299f-4849-b914-90b984aee5dc" TYPE="swap"
/dev/zram6: UUID="1d709ffb-dd12-4ff4-a300-6eb696e592c2" TYPE="swap"
/dev/zram7: UUID="67760570-8335-4e28-bbfa-25d1014ee9e9" TYPE="swap"

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

Title:
  install reports unable to install grub to /dev/sdb

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  first, I don't know if this is a new bug, but I don't know what bug it matches.  The latest testing kubuntu installer almost finished, then report grub error could not install grub to /dev/sdb.  However, I then used terminal to sudo grub-install --root-directoyr=/mnt/ /dev/sdb
  which didn't report errors, and I assume will boot, but just reporting because installer did not work correctly out of box.

  My labtop (Dell M4500) specs:
  https://gist.github.com/anonymous/7102aceb5c082f15553c

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.349
  CurrentDesktop: KDE
  Date: Fri Jan 23 13:48:49 2015
  LiveMediaBuild: Kubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150123)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list