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.
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.
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. 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.
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: 一般的なハイパーバイザー
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.