can't boot a VM automatically

lordcroci

New Member
Feb 6, 2018
7
0
1
32
Hi there,
I have a VM with xpenology 6.0 installed, I managed to copy from usb into /var/lib/vz/images/100/ the synoboot.img

then I edited the 100.conf file, with nano /etc/pve/qemu-server/100.conf adding:

args: -device 'piix3-usb-uhci,addr=0x18' -drive 'id=synoboot,file=/var/lib/vz/images/100/synoboot.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot'

and specifying the boot number before with:
boot synoboot
then trying with:
boot: 4

with synoboot, nothing to do.. The VM Does not boot automatically, but i have to press esc and select number 4
with number 4 specified, the VM stuck on Booting from hard disk.... but does not do anything!

I spent literally 4 hours looking for a solution.. but on the web there is nothing.
Can anyone be so kind to help me please?
Thanks a lot!

Lordcroci
 
args: -device 'piix3-usb-uhci,addr=0x18' -drive 'id=synoboot,file=/var/lib/vz/images/100/synoboot.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot'
add the 'bootindex=99' to your drive config, so qemu knows to boot from this device first.

Code:
qm showcmd <vmid>
Check how the qemu command line would look like.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!