[Bug 1043094] Re: Install mdadm into target if installing on a RAID
ben-Nabiy Derush
bennabiy at parchmentpress.net
Wed Jul 9 19:06:01 UTC 2014
Still in 14.04 / LinuxMint 17
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1043094
Title:
Install mdadm into target if installing on a RAID
Status in “ubiquity” package in Ubuntu:
Confirmed
Bug description:
As part of the ongoing discussion about dropping alternates [1] I
wanted to find out whether it's currently possible at all to install
on a RAID with Ubiquity. Turns out it is possible [2], but there are
two post-installation steps which are not obvious and should be fixed.
Creating partitions with gparted and building a RAID with mdadm on the
live system works well. Ubiquity detects the devices and you can
partition /dev/md0 and install on it just fine. The trouble starts
because you need to install mdadm into the target system, for which I
ran the following steps:
* mount /dev/md0p1 /target, chroot /target
* apt-get install mdadm; that fails because /etc/resolv.conf is empty (yay resolvconf), so exit chroot, apt-get download mdadm, copy to /target/tmp, chroot again, dpkg -i
* that fails because it cannot access /dev etc, so back out of the chroot, bind-mount /dev/, back into the chroot, dpkg --configure -a, get scared by the warnings about not being able to load MD suppport (turns out they are harmless)
It would be nice if Ubiquity could install mdadm into the target
system together with its other setup if any of the target partitions
is /dev/md*.
[1] https://lists.ubuntu.com/archives/ubuntu-devel/2012-August/035675.html
[2] https://lists.ubuntu.com/archives/ubuntu-devel/2012-August/035680.html
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.5.0-12.12-generic 3.5.2
Uname: Linux 3.5.0-12-generic x86_64
ApportVersion: 2.5.1-0ubuntu2
Architecture: amd64
Date: Wed Aug 29 07:13:52 2012
EcryptfsInUse: Yes
InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=de keyboard-configuration/layoutcode=us
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1043094/+subscriptions
More information about the foundations-bugs
mailing list