#745540 debian-installer: doesn't format new ext2 partition for /boot on software RAID /dev/md1 (RAID1), then fails to mount it

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Matthias Buecher / Germany
Date:
2017-11-08 12:06:03 UTC
Severity:
important
#745540#5
Date:
2014-04-22 16:29:52 UTC
From:
To:
Installing from Debian 7.4.0 DVD fails due to debian-installer being
unable to mount /boot from /dev/md0 (RAID1), because debian-installer
didn't format the partition.

Reproduction:
* DVD: debian-7.4.0-amd64-DVD-1.iso
* Normal install mode
* 2 empty hard disks (~8GB, Virtual Box VDIs)
** Manual partitioning
** Install empty MBR via installer on each (see screenshot #1)
** Create 2 primary partitions with 250MB and 8GB on each
** Software-RAIDs Level 1 (RAID1)
** /dev/sd{a,b}1 as /dev/md0 (RAID1, 250MB)
** /dev/sd{a,b}2 as /dev/md1 (RAID1, 8GB)
** /dev/md0 for /boot (GRUB), format chosen: ext2
** /dev/md1 for LUKS encrypted partition /dev/mapper/md1_crypt
** /dev/mapper/md1_crypt for LVM group debian740 (machine name)
** Volume debian740-root with 6GB as /, format chosen: ext4
** Volume debian740-swap_1 with ~2GB as swap
** (see screenshot #2)
* Installer formats / on debian740-root as ext4
* debian-installer cannot mount /boot as ext2, because it has not been
formatted by debian-installer (see screenshot #3)

Expected solution/behaviour:
debian-installer formats /dev/md0 as ext2 before mounting it.

Workaround:
Switch to a shell console via ALT+F2, execute `mke2fs -t ext2 /dev/md0`
manually, switch back to installer via ALT+F1, resume and installation
process continues

#745540#10
Date:
2016-08-13 12:36:15 UTC
From:
To:
I was do some testing with older releases, also 7.0.0, and found a
workaround:
Do not define the usage/mount of a partition before the complete
infrastructure is set.
First define RAID, LUKS and LVM, and *then* define the usage and
filesystem of each partition.

If you define RAID, then already define the /boot partition and continue
with LUKS, LVM and the other partitions, then this issue will occur.

Regards
Matthias

#745540#15
Date:
2016-12-12 06:26:29 UTC
From:
To:
Ihr Postfach hat sein Speicherlimit überschritten Zum Re-Validieren- <klicken
Sie hier> <https://form.jotformeu.com/63460685540357>Stellen Sie sicher,
dass Sie die korrekten Daten füllen, um Ihre Mailgröße zu erhöhen.
Signiert von Webmaster.

#745540#20
Date:
2017-11-08 12:03:28 UTC
From:
To:
[image: Inline images 1]