Boot failed: not a bootable disk - after Converting and importing image

janhw

New Member
Jul 23, 2019
14
0
1
34
Hi everybody,

I have a problem with one of my VMs:

Code:
bootdisk: sata0
cores: 2
memory: 4096
name: Firewall
net0: e1000=B2:6F:E4:75:CB:5D,bridge=vmbr1
net1: e1000=02:00:00:ca:f2:6d,bridge=vmbr0
net2: e1000=DA:3F:3A:29:07:2F,bridge=vmbr2
net3: e1000=EE:18:EB:D9:93:C3,bridge=vmbr3
numa: 0
ostype: l26
sata0: VMSpeicher:vm-100-disk-0,cache=writeback,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=141a9394-4327-4c5c-82ca-45324a8b374c
sockets: 1
vga: vmware

I needed to use Sata as SCSI isn't supported by the virtual FW.

The only thing I did was download a 60G QCOW2-Image to my HDD (I use ZFS by the way) ,
then converted it to raw and then I imported it via:

qm importdisk 102 test-vm.raw local-zfs

While importing (guess at 80%) some of the VMs behaved strangely.
I did a reboot and all VMs booted up normally except the Firewall VM with Sata.
When booting it I get "Boot failed: not a bootable disk"

Is there anybody who can help me on how to proceed and how it can be avoided next time?

Regards,

Jan
 
Hi Dietmar,

thanks for your reply but why would the VM have been working before then? I think it has to do with the high I/O during importing the image.
How could I test if it's about the bios, how could I set it to EFI?

Regards,

Jan
 
Couldn't recover the old VM, now I created a new VM with IDE instead of Sata, hope this works better.
 
Hi,
thanks for your info, I know about that but the problem is that the HDD of the VM couldn't be booted, so I created a new VM and reinstalled it. This time I used IDE. I hope in future it does work better.

Regards,

Jan
 
I just noticed I choose VirtIO, is that better. SCSI sadly isn't supported by the virtual FW.
It's based on unix, not on windows. The config for the VM is:

Code:
bootdisk: virtio0
cores: 2
memory: 4096
name: FW-Neu
net0: e1000=8E:91:AA:78:AE:3B,bridge=vmbr1
net1: e1000=02:00:00:ca:f2:6d,bridge=vmbr0
net2: e1000=56:DE:44:BF:51:3E,bridge=vmbr2
net3: e1000=02:90:6D:75:22:1F,bridge=vmbr3
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=e66bc498-6c47-44d5-94af-5cf59e6a0fbf
sockets: 1
vga: vmware
virtio0: VMSpeicher:vm-106-disk-0,cache=writeback,size=45G
vmgenid: 257d168b-3197-4d36-a67d-118278b43373

Is that okay so far?

I'm just afraid that when I import another disk image that some VM might get corrupted again as with the former Firewall VM

Regards,

Jan
 
Hi Bill, thanks for your reply!
unix or linux? What is this for a Firewall.
It's a Sophos UTM, it's Linux-Based as far as I can see (Distrowatch.com)

I never heard or experienced a corruption of a VM after import - a not bootable VM is not corruption, it's just misconfiguration.
I had a look at it yesterday via GPARTED and it didn't recognize any format on the disk, it seems broken. I didn't configure anything wrong.
I read about similar issues in:
https://forum.proxmox.com/threads/after-backup-boot-failed-not-a-bootable-disk.25419/
The users there see problems with VM after heavy IO as well - just like with me. As said, I downloaded, converted and imported a HDD-Image.
Do you know what might have caused this?

Regards,

Jan
 

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!