Unable to download Ubuntu 20.04.3 iso for custom install
I am attempting to do a custom install of Ubuntu 20.04.03 using this guide https://www.linode.com/docs/guides/install-a-custom-distribution-on-a-linode/
All goes well until I go to download the Ubuntu iso with wget https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso
The 20.04.3 iso is 1.2G and the "Installer" disk on my Linode is 2.1G. The download starts successfully but errors out at 978.97M with the message 'Cannot write to 'ubuntu-20.04.3-live-server-amd64.iso' (No space left on device).'
I have tried deleting and reestablishing my "Installer" disk, but the download always stops with the same error.
df
indicates the disk only appears to have 996M of space, despite the Linode dashboard correctly indicating 2.1G. I have tried on a 40G disk and the same occures.
Any help appreciated.
2 Replies
If you didn't do so, you need to actually mount your disks after logging in to rescue mode. See https://www.linode.com/docs/guides/rescue-and-rebuild/#mounting-disks for how to do this. (There are use cases for rescue mode where you may want to do operations that require that those disks NOT be mounted, so that's why it's not done automatically.)
After you do that, you can use the mount
command to verify that the disk is mounted.
Thank you for this, I missed that in the instructions and thought it was taken care of in the rescue boot dialog window.
I followed the instructions in the link as follows:
`# mkdir -p /media/sda
`# mount -o barrier=0 /dev/sda /media/sda
which returned the following error squashfs: Unknown parameter 'barrier' mount: /media/sda: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
I tried deleting barrier=0
from the above, but returned another error.
FYI in the rescue dialog screen I selected the following options:
- /dev/sda:
Installer
- /dev/sdb:
Boot
- /dev/sdc:
none
- /dev/sdd:
none
- /dev/sdh:
Finix media
I am not really sure where to go from here.
Thanks again for the assistance.