I'm doing an unattended installation of Ubuntu-14.04-server with a USB drive on different type of servers (HP Proliant ML110, ML310, ML350).
In some cases, the USB drive is incorrectly mounted on /media
instead of /cdrom
, making the installation process stop with the following message:
[ Detect and mount CD-ROM ]
Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can insert it an try again.
I managed to identify some cases where this error occurs:
- on the ML110 and ML310: when the hard drive is empty
- on the ML350 Gen9: even if the hard drive is partitioned.
I think it comes from the debian-installer
that, at an early stage of the installation, tries to mount a partition from the first drive on /media
. And then mounts the USB drive in /cdrom
.
In the above cases, the hard drive is detected later during the installation process, making the USB drive the first drive and therefore mounting it on /media
and not on /cdrom
.
For the persons for which a manual intervention is not a problem, I found a workaround that I will describe in an answer below. But for an unattended installation, this is not a solution.
Can we force the installer to mount the USB drive on a specific mont-point?