How do I bypass "No common CD-ROM drive was detected" error during custom image install?
I'm trying to install a Buster alpha-3 netinst image on my Linode but I keep receiving:
No common CD-ROM drive was detected
The installer fails with the error at the stage of mounting the CD. When I start a shell in the installer, there are also no drives or cd devices listed under /dev.
How can I skip the requirement for a CD-ROM?
The link below should help point you in the right direction:
You may also have some success reaching out to other community members through out IRC chat:
Thank you for saving us a few keystrokes, [@Woet] (/community/user/Woet)!
I'm answering my own question here since it might be of use to others.
The main problem is that the Linode documentation on installing a custom distribution is incomplete.
In addition to the steps documented in the link, I had to:
The "Installer" profile has to set the "VM Mode" to "Full-virtualization". With this the disk devices are now seen in the /dev directory. I don't understand why this is necessary.
After booting to the installer, start a shell and mount /dev/sdb1 to /cdrom. Again it's not clear to me why this is necessary since the Debian installer will do this by default when installing to real hardware.
After these two additions I can boot and proceed with the install.
Still it said:
~ # mount /dev/sdb1 /cdrom
mount: mounting /dev/sdb1 on /cdrom failed: no such file or directory
After running the linode with full virtualization and I executed this in the shell
I've solved this problem, actually you don't need to execute the shell, if you use graphic install you can specify the installation path to /dev/sdb. In my case the disk is /dev/sdb not /dev/sdb1 (if u follow the tutorial it should be /dev/sdb)
Now, the only thing I need to do is automated this using preseed.cfg, I will share what've done later.