I have created a virtual PC using Virtual Box. This machine has 4096 MB of RAM and a VDI virtual hard drive (dynamically allocated drive space).
I insert into the virtual disk drive the ISO image for Ubuntu 18.04, boot up the virtual PC, click "try Ubuntu", and then run the installer.
Once I get to the point where I click "install now", the installer lasts a few seconds then spits out the following message:
--------------------------------------------------
Installation Failed
The installer encountered an error while copying files to the hard disk
[Errno 5] input/output error
This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment.
--------------------------------------------------
My question is: why would this be a disk read problem? There is no physical disk drive involved here, so it couldn't possibly be a faulty disk. How do I trouble shoot this? I'm not quite sure where to start.
After thinking it was a problem with the dynamically allocated VDI, I decided to try again and this time create a partition scheme manually (and put the boot loader on /dev/sda1 rather than /dev/sda) so that the installer wouldn't have to attempt to write to any block of the hard disk that hasn't been dynamically allocated yet. Screenshots of this scheme can be found here. The purpose of the unallocated space between the partition for root (/) and the partition for swap is so that the dynamically allocated disk file isn't any larger than necessary (I need to be able to back it up). If more space is needed, the first partition can be resized.
No comments:
Post a Comment