How do I bypass "No common CD-ROM drive was detected" error during custom image install?

Linode Staff

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?

5 Replies

Hi,

The link below should help point you in the right direction:
http://multibootusb.org/page_faq/#debian-error-no-common-cd-rom-drive-was-detected-during-installation

You may also have some success reaching out to other community members through out IRC chat:
--> (https://www.linode.com/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.

(https://www.linode.com/docs/tools-reference/custom-kernels-distros/install-a-custom-distribution-on-a-linode/)

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct