Install Linux in a new virtual machine using an ISO downloaded from the distribution source.
Boot the installer from that image.
Which operation is appropriate?
Attach the ISO to the VM's virtual optical drive and select that drive as a boot device in the virtual firmware.
Detailed explanation
Incorrect. An ISO is not initialized as a virtual hard disk for this purpose.
Correct. Attach the ISO to a virtual CD/DVD drive and boot from it.
Incorrect. Renaming the extension does not change how the hypervisor treats the image.
Incorrect. Copying an ISO into /etc after boot does not start the installer.
Try it yourself
An example you can run in a temporary verification environment.
file linux.isoExpected result
手元にISOがある場合はISO 9660等の形式情報。ファイルがなければ未実行Key points
- Virtual optical drive
- ISO image
- Boot device
Notes
- Environment: 一般的なハイパーバイザー
- Use a disposable VM or test account when validating installation and SSH behavior.
- Exact command output can vary slightly by distribution and OpenSSH version.
Foundation review
Identify the scope
Attaching an image, selecting a boot device, and installing onto a virtual disk are separate operations.
Check the side effect
After installation, detach the ISO or lower its boot priority so the guest does not re-enter the installer.