Package: installation-reports Boot method: CD Image version: http://cdimage.debian.org/cdimage/release/7.4.0/i386/iso-cd/debian-7.4.0-i386-netinst.iso Date: Mar 2 09:05:53 Machine: QEMU Partitions: 4G 1 1048576-4064280575 4063232000 primary ext4 /dev/sda1 5 4065329152-4293918719 228589568 logical linux-swap /dev/sda5 Base System Installation Checklist: [O] = OK, [E] = Error, [ ] = didn't try it Initial boot: [O] Detect network card: [O] Configure network: [ ] Detect CD: [O] Load installer modules: [O] Clock/timezone setup: [O] User/password setup: [O] Detect hard drives: [O] Partition hard drives: [O] Install base system: [O] Install tasks: [E] Install boot loader: [E] Overall install: [O] Comments/Problems: Installation fails when the iso is the *second* cdrom. This test was done because of real life cases. Here is the command line used to test the installer in QEMU kvm -net none -boot d -cdrom /dev/cdrom -drive file=/path_to_iso/debian-7.4.0-i386-netinst.iso,index=3,media=cdrom disk.img There is no network as it is not what is to be tested. There are 2 optical drives: the real one and the netinst iso. There is no disk in the real one so the boot continues with the iso. /dev/sr0 is empty and /dev/sr1 is the netinst iso. At some point after the base system installation, apt-setup fails: ### SYSLOG ### Mar 2 09:15:44 in-target: Setting up console-setup (1.88) ... Mar 2 09:15:48 main-menu[264]: INFO: Menu item 'apt-setup-udeb' selected Mar 2 09:15:49 apt-setup: umount: can't umount /target/media/cdrom0: Invalid argument Mar 2 09:15:49 apt-setup: umount: can't umount /target/media/cdrom1: Invalid argument Mar 2 09:15:49 apt-setup: Using CD-ROM mount point /media/cdrom/ Mar 2 09:15:49 apt-setup: Identifying.. Mar 2 09:15:49 apt-setup: [636493caf48da23d66882b6f022bdafd-2] Mar 2 09:15:49 apt-setup: Scanning disc for index files.. Mar 2 09:15:49 apt-setup: Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures Mar 2 09:15:50 kernel: [ 598.471749] ISO 9660 Extensions: Microsoft Joliet Level 3 Mar 2 09:15:50 kernel: [ 598.474954] ISO 9660 Extensions: RRIP_1991A Mar 2 09:15:50 apt-setup: Using CD-ROM mount point /media/cdrom/ Mar 2 09:15:50 apt-setup: Identifying.. Mar 2 09:15:50 apt-setup: [2bcf937bf77c4547b28ba57100d6d106-2] Mar 2 09:15:50 apt-setup: Scanning disc for index files.. Mar 2 09:15:50 apt-setup: Mar 2 09:15:50 apt-setup: W Mar 2 09:15:50 apt-setup: : Mar 2 09:15:50 apt-setup: Failed to mount '/dev/sr0' to '/media/cdrom/' Mar 2 09:15:50 apt-setup: Mar 2 09:15:50 apt-setup: E Mar 2 09:15:50 apt-setup: : Mar 2 09:15:50 apt-setup: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture? Mar 2 09:15:50 apt-setup: Mar 2 09:18:50 apt-setup: warning: /usr/lib/apt-setup/generators/40cdrom returned error code 1; discarding output ### SYSLOG ### Of course, this problem does not occur when the iso is /dev/sr0 At this point, we get the following message ### UI ### [!!] Configure the package manager apt configuration problem An attempt to configure apt to install additional packages from the CD failed <Go Back> <Continue> ### UI ### Then 'in-target' process is unable to locate some packages (cf syslog): laptop-detect, discover, installation-report, popularity-contest Choosing <Continue> leads to grub installation failure ### UI ### [!!] Install the GRUB bootloader on a hard disk GRUB installation failed! The 'grub-pc' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot. <Go Back> <Continue> ### UI ### The reason is the same. syslog gives: in-target: Unable to locate package grub-common Of course, we can go on without grub. Installation ends properly. We are forced to install grub by ourselves. This is not what a user wants. Hope this helps, -- igor
Attachment:
lsb-release
Description: Binary data
Attachment:
hardware-summary.gz
Description: GNU Zip compressed data
Attachment:
partman.gz
Description: GNU Zip compressed data
Attachment:
status.gz
Description: GNU Zip compressed data
Attachment:
syslog.gz
Description: GNU Zip compressed data