[Bug 1676924] [NEW] Grub installer crashes during install onto pre-existing partitionable md RAID
Tony Travis
tony.travis at minke-informatics.co.uk
Tue Mar 28 15:26:25 UTC 2017
Public bug reported:
# Boot from Ubuntu 16.0.4 LTS USB-stick
# Try Ubuntu without installing
# Terminal on the live USB desktop
sudo -i
apt update
apt install mdadm
for i in /dev/sd[acde]; do parted $i -- mklabel msdos; done
for i in /dev/sd[acde]; do parted $i -- unit MiB mkpart primary 0% 100%; done
for i in /dev/sd[acde]; do parted $i -- set 1 raid on; done
for i in /dev/sd[acde]; do parted $i -- set 1 boot on; done
mdadm -C /dev/md0 -l 10 -n 4 /dev/sd[acde]1
# Run Ubiquity installer
# Crash during grub-install to boot sector of RAID component drives /dev/sd[acde]
# Fix
mount -bind /proc /target/proc
debian_chroot=CHROOT chroot /target
apt update
apt install mdadm
grub-install /dev/sda
grub-install /dev/sdc
grub-install /dev/sdd
grub-install /dev/sde
# edit /etc/default/grub
root at ubuntu:/target/etc/default# diff -Naur grub.dist grub
--- grub.dist 2017-02-15 20:36:33.000000000 +0000
+++ grub 2017-03-28 16:03:02.383707194 +0100
@@ -8,7 +8,7 @@
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
-GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
+GRUB_CMDLINE_LINUX_DEFAULT="bootdegraded=yes"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# leave CHROOT
exit
# Reboot from /dev/sda
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.63.3
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CasperVersion: 1.376.2
Date: Tue Mar 28 16:03:57 2017
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash ---
LiveMediaBuild: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
ProcEnviron:
LANGUAGE=en_GB.UTF-8
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: grub-installer (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug ubiquity-2.21.63.3 ubuntu xenial
--
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/1676924
Title:
Grub installer crashes during install onto pre-existing partitionable
md RAID
Status in grub-installer package in Ubuntu:
New
Bug description:
# Boot from Ubuntu 16.0.4 LTS USB-stick
# Try Ubuntu without installing
# Terminal on the live USB desktop
sudo -i
apt update
apt install mdadm
for i in /dev/sd[acde]; do parted $i -- mklabel msdos; done
for i in /dev/sd[acde]; do parted $i -- unit MiB mkpart primary 0% 100%; done
for i in /dev/sd[acde]; do parted $i -- set 1 raid on; done
for i in /dev/sd[acde]; do parted $i -- set 1 boot on; done
mdadm -C /dev/md0 -l 10 -n 4 /dev/sd[acde]1
# Run Ubiquity installer
# Crash during grub-install to boot sector of RAID component drives /dev/sd[acde]
# Fix
mount -bind /proc /target/proc
debian_chroot=CHROOT chroot /target
apt update
apt install mdadm
grub-install /dev/sda
grub-install /dev/sdc
grub-install /dev/sdd
grub-install /dev/sde
# edit /etc/default/grub
root at ubuntu:/target/etc/default# diff -Naur grub.dist grub
--- grub.dist 2017-02-15 20:36:33.000000000 +0000
+++ grub 2017-03-28 16:03:02.383707194 +0100
@@ -8,7 +8,7 @@
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
-GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
+GRUB_CMDLINE_LINUX_DEFAULT="bootdegraded=yes"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# leave CHROOT
exit
# Reboot from /dev/sda
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.63.3
ProcVersionSignature: Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11
Uname: Linux 4.8.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CasperVersion: 1.376.2
Date: Tue Mar 28 16:03:57 2017
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash ---
LiveMediaBuild: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
ProcEnviron:
LANGUAGE=en_GB.UTF-8
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1676924/+subscriptions
More information about the foundations-bugs
mailing list