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

Bug#756831: mountmedia: /hd-media unmounted during an installation

Package: mountmedia
Version: 0.22
Severity: normal
Tags: d-i

I have a USB stick with the hd-media kernel and initrd, a preseed file
and firmware-7.5.0-i386-netinst.iso. Booting is with grub. The preseed
file has a late_command which copies files from /hd-media to /target.

1. With an ethernet connection the install is flawless.

2. With a wireless connection the late_command fails. This is because
   /hd-media is unmounted when "Detect network hardware" is activated.
   The WiFi device requires non-free firmware.

Commenting out the line "umount $dir 2>/dev/null || true" in mountmedia
gets 1. The behaviour would appear to be connected more with the
provision of firmware than the type of connection. I'm unsure what is
going on but the "fix" does point to mountmedia as being involved in the

Identical inconsistent behaviour was discussed at


I have CCed Julien Groselle because he may have some further insight.

I did not test the Jessie images because the changelog for 0.23 doesn't
indicate any relevant intervening change in mountmedia.

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

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

Reply to: