[Bug 1587889] Re: Installing grub on '/dev/md126p1 system doesn't boot

Carl Karsten carl at personnelware.com
Wed Jun 1 13:30:16 UTC 2016


I booted the installer into rescue mode:

~ # mount /dev/md126p1 /target 
~ # chroot /target grub-install --force "/dev/md126p1"
Installing for i386-pc platform.
grub-install: error: cannot find a device for /boot/grub (is /dev mounted?).

~ # mount
rootfs on / type rootfs (rw)
none on /run type tmpfs (rw,nosuid,relatime,size=404492k,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=2002416k,nr_inodes=500604,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/md126p1 on /target type ext4 (rw,relatime,data=ordered)

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

Title:
  Installing grub on '/dev/md126p1  system doesn't boot

Status in grub-installer package in Ubuntu:
  New

Bug description:
  Installed, xenial, machine wont boot.

  machine has 
  lspci ...
  00:1f.2 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 02)
  two disks that show up as sda/b

  pxe net install, preseed disk options:

  d-i user-setup/encrypt-home boolean false

  # d-i partman-auto/disk string /dev/sda
  d-i partman-auto/method string regular
  d-i partman-auto/choose_recipe select atomic

  # This makes partman automatically partition without confirmation.
  d-i partman-md/confirm boolean true
  d-i partman-partitioning/confirm_write_new_label boolean
  d-i partman/choose_partition select finish
  d-i partman/confirm boolean true
  d-i partman/confirm_nooverwrite boolean true

  d-i grub-installer/only_debian boolean true
  d-i grub-installer/with_other_os boolean true

  Installer syslog shows:

  May 31 22:03:46 grub-installer: info: Installing grub on '/dev/md126p1'
  May 31 22:03:46 grub-installer: info: grub-install does not support --no-floppy
  May 31 22:03:46 debconf: --> INPUT low grub-installer/force-efi-extra-removable
  May 31 22:03:46 debconf: <-- 30 question skipped
  May 31 22:03:46 debconf: --> GO
  May 31 22:03:46 debconf: <-- 0 ok
  May 31 22:03:46 debconf: --> GET grub-installer/force-efi-extra-removable
  May 31 22:03:46 debconf: <-- 0 false
  May 31 22:03:46 grub-installer: info: Running chroot /target grub-install  --force "/dev/md126p1"
  May 31 22:03:46 grub-installer: Installing for i386-pc platform.
  May 31 22:03:59 grub-installer: grub-install: warning: File system `ext2' doesn't support embedding.
  May 31 22:03:59 grub-installer: grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
  May 31 22:03:59 grub-installer: Installation finished. No error reported.
  May 31 22:03:59 grub-installer: info: grub-install ran successfully
  May 31 22:03:59 debconf: --> GET grub-installer/make_active
  May 31 22:03:59 debconf: <-- 0 true
  May 31 22:04:00 debconf: --> PROGRESS STEP 1
  May 31 22:04:00 debconf: <-- 0 OK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1587889/+subscriptions



More information about the foundations-bugs mailing list