Anand Buddhdev
2023-Jan-13 18:17 UTC
[CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory
On 13/01/2023 18:50, Kaushal Shriyan wrote: Hi Kaushal,> virt-install --name demoreactui --ram 8096 --disk > path=/linuxkvmguestosdisk/demoreactui.img,size=20 --vcpus 2 --os-variant > ubuntu20.04 --network bridge=br0 --graphics none --console > pty,target_type=serial --location > /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd > --extra-args > 'console=ttyS0,115200n8 serial' > > ERROR Error validating install location: Validating install media > '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd' > failed: Could not start storage pool: cannot open directory > '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper': > No such file or directory > > Any clue and I look forward to hearing from you. Thanks in advance.The --location option takes a path to an ISO image. You have extra stuff after the ISO path. -- Anand
Kaushal Shriyan
2023-Jan-14 02:07 UTC
[CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory
Hi, virt-install --help Use '--option=?' or '--option help' to see available suboptions See man page for examples and full option syntax. # virt-install --option help usage: virt-install --name NAME --memory MB STORAGE INSTALL [options] virt-install: error: unrecognized arguments: --option help # # virt-install --option=? usage: virt-install --name NAME --memory MB STORAGE INSTALL [options] virt-install: error: unrecognized arguments: --option=? # # virt-install -help --option=? usage: virt-install --name NAME --memory MB STORAGE INSTALL [options] virt-install: error: argument -h/--help: ignored explicit argument 'elp' # I need help to Use '--option=?' or '--option help' to see available suboptions. Any examples? I am getting the above error. Please advise. Thanks in advance. Best Regards, Kaushal On Fri, Jan 13, 2023 at 11:47 PM Anand Buddhdev <anandb at ripe.net> wrote:> On 13/01/2023 18:50, Kaushal Shriyan wrote: > > Hi Kaushal, > > > virt-install --name demoreactui --ram 8096 --disk > > path=/linuxkvmguestosdisk/demoreactui.img,size=20 --vcpus 2 --os-variant > > ubuntu20.04 --network bridge=br0 --graphics none --console > > pty,target_type=serial --location > > > /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd > > --extra-args > > 'console=ttyS0,115200n8 serial' > > > > ERROR Error validating install location: Validating install media > > > '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd' > > failed: Could not start storage pool: cannot open directory > > > '/var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper': > > No such file or directory > > > > Any clue and I look forward to hearing from you. Thanks in advance. > > The --location option takes a path to an ISO image. You have extra stuff > after the ISO path. > > -- > Anand >
Maybe Matching Threads
- failed: Could not start storage pool: cannot open directory: ... No such file or directory
- failed: Could not start storage pool: cannot open directory: ... No such file or directory
- failed: Could not start storage pool: cannot open directory: ... No such file or directory
- failed: Could not start storage pool: cannot open directory: ... No such file or directory
- ERROR Could not find an installable distribution at ....