Estou tentando instalar o Ubuntu em uma VM usando o Virtual Machine Manager.
No entanto, recebo o seguinte erro, o que me leva a acreditar que não apontei para o URL correto.
A seleção manual Ubuntu 20.04 LTS
do sistema operacional me permite responder a mais algumas perguntas - mas, eventualmente, ele falha de qualquer maneira.
Eu li o virt-install
manual que afirma:
-l, --location
Syntax: -l, --location OPTIONS
Distribution tree installation source. virt-install can recognize certain distribution trees and fetches a bootable kernel/initrd pair to launch the install.
--location allows things like --extra-args for kernel arguments, and using --initrd-inject. If you want to use those options with CDROM media, you can pass the ISO to --location as well which works
for some, but not all, CDROM media.
The LOCATION can take one of the following forms:
https://host/path
An HTTP server location containing an installable distribution image.
ftp://host/path
An FTP server location containing an installable distribution image.
ISO Extract files directly from the ISO path
DIRECTORY
Path to a local directory containing an installable distribution image. Note that the directory will not be accessible by the guest after initial boot, so the OS installer will need another
way to access the rest of the install media.
Some distro specific url samples:
Fedora/Red Hat Based
https://download.fedoraproject.org/pub/fedora/linux/releases/29/Server/x86_64/os
Debian https://debian.osuosl.org/debian/dists/stable/main/installer-amd64/
Ubuntu https://us.archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/
Suse https://download.opensuse.org/pub/opensuse/distribution/leap/42.3/repo/oss/
Additionally, --location can take 'kernel' and 'initrd' sub options. These paths relative to the specified location URL/ISO that allow selecting specific files for kernel/initrd within the install
tree. This can be useful if virt-install/ libosinfo doesn't know where to find the kernel in the specified --location.
For example, if you have an ISO that libosinfo doesn't know about called my-unknown.iso, with a kernel at 'kernel/fookernel' and initrd at 'kernel/fooinitrd', you can make this work with:
--location my-unknown.iso,kernel=kernel/fookernel,initrd=kernel/fooinitrd
A partir disso, deduzi que https://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/
deveria ser um URL válido - mas não funciona.
Cliquei mais fundo na estrutura de pastas e esperava/adivinhei que o URL que tentei nas fotos seria bom (ou seja https://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/ubuntu-installer/amd64/
), mas o comportamento é o mesmo.
Qual deveria ser o URL? Este não é mais um recurso funcional?
Responder1
A instalação a partir de um ISO baixado funciona.
Abandone o TLS e ele funciona para foco:http://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64
Parece que Jammy reestruturou completamente o instalador, então ainda não consigo descobrir qual URL usar para ele.
Experimente o novo instalador do servidor Ubuntu
O instalador legado do Ubuntu Server não está mais disponível.