首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在通过http安装时,为ubuntu使用的正确的virt位置url是什么?

在通过http安装时,为ubuntu使用的正确的virt位置url是什么?
EN

Ask Ubuntu用户
提问于 2022-12-22 12:32:34
回答 1查看 514关注 0票数 1

我试图使用虚拟机管理器在vm中安装Ubuntu。

然而,我确实得到了以下错误,这使我相信,我没有指出正确的网址。

手动选择Ubuntu 20.04 LTS作为操作系统可以让我回答更多的问题,但最终还是失败了。

我读过virt-install手册,其中说:

代码语言:javascript
复制
   -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

由此,我得出https://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/应该是一个有效的url,但它不起作用。

我已经在文件夹结构中单击了更深的部分,并且希望/猜到我在图片中尝试的url将是好的(即https://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/ubuntu-installer/amd64/),但是行为是相同的。

这个网址应该是什么?这不再是一个有用的功能了吗?

EN

回答 1

Ask Ubuntu用户

发布于 2022-12-23 07:35:53

从下载的ISO安装工作。

Drop TLS,它适用于焦距:http://se.archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64

Jammy似乎已经完全重组了安装程序,所以我仍然无法确定要为它使用哪个url。

http://se.archive.ubuntu.com/ubuntu/dists/jammy/main/installer-amd64/current/legacy-images/index.html

尝试新Ubuntu安装程序,Legacy Ubuntu安装程序不再可用。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1446772

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档