You are not logged in.

#1 2021-12-20 16:49:59

thomasbb
Member
Registered: 2020-05-22
Posts: 52

[SOLVED] virt-install - location not working

Did I miss something:

$ sudo virt-install --name=myalpine --vcpus=1 --memory=1024 --location '/home/user/alpine-standard-3.15.0-x86_64.iso' --os-type generic --network network='default',model=virtio --nographics
ERROR    Error validating install location: Could not find an installable distribution at URL '/home/user/alpine-standard-3.15.0-x86_64.iso'

The location must be the root directory of an install tree.
See virt-install man page for various distro examples.

?

Last edited by thomasbb (2021-12-20 21:36:46)

Offline

#2 2021-12-20 19:26:37

Toolybird
Member
Registered: 2017-09-30
Posts: 92

Re: [SOLVED] virt-install - location not working

> Did I miss something

The man page says --location doesn't work for every ISO. Maybe try --cdrom instead ?

Offline

#3 2021-12-20 21:36:24

thomasbb
Member
Registered: 2020-05-22
Posts: 52

Re: [SOLVED] virt-install - location not working

Indeed, I had missed this point in the manual... Now I have

WARNING  CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media

Starting install...

The simpler is to find an URI and use the --location flag. Thank you though

Offline

Board footer

Powered by FluxBB