[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#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
Version: CD/DVD: debian-7.4.0-amd64-DVD-1.iso
Severity: important
Tags: d-i

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


-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Attachment: Debian740_debian_installer_boot_on_raid_ext2_bug_01_install_new_mbr.png
Description: PNG image

Attachment: Debian740_debian_installer_boot_on_raid_ext2_bug_02_partition_scheme.png
Description: PNG image

Attachment: Debian740_debian_installer_boot_on_raid_ext2_bug_03_error.png
Description: PNG image

Attachment: Debian740_debian_installer_boot_on_raid_ext2_bug_04_console4.png
Description: PNG image


Reply to: