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

Carl Karsten carl at personnelware.com
Wed Jun 8 18:19:35 UTC 2016


fix: grub-install  /dev/md126

Steps: 
I booted into installer rescue mode

~ # mkdir target
~ # mount /dev/md126p1 target
~ # mount -t proc none /target/proc
~ # mount -o bind /dev /target/dev
~ # mount -t sysfs sys /target/sys
~ # chroot /target /bin/bash
root at dhcp225:/# grub-install  /dev/md126
Installing for i386-pc platform.
Installation finished. No error reported.
root at dhcp225:/# 

reboot, grub comes up, all is well.

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

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