Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created VM not initialize #1

Closed
hellresistor opened this issue Dec 8, 2021 · 14 comments
Closed

Created VM not initialize #1

hellresistor opened this issue Dec 8, 2021 · 14 comments
Assignees

Comments

@hellresistor
Copy link

Hello. I have Run this command bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/haos_vm.sh)"
And executed success.

BUT VM wont start

Start LOG proxmox:

()
kvm: device requires 67108864 bytes, block backend provides 131072 bytes
TASK ERROR: start failed: QEMU exited with code 1
@tteck
Copy link
Owner

tteck commented Dec 8, 2021

I can't reproduce this.

Did the script finish successfully?
Did you change any hardware settings?
Have you tried removing the VM and running the script again?

@tteck tteck self-assigned this Dec 8, 2021
@hellresistor
Copy link
Author

Script finishes successfully but with a warning.

The issues are the same.
whiskerz007/proxmox_hassos_install#125

@tteck
Copy link
Owner

tteck commented Dec 8, 2021

You have it misconfigured. After this script finishes, do nothing but Start the VM (make NO changes)
I see that your EFI disk size is too small, amoung other things

Here's what it should look like.
Screenshot 2021-12-08 6 46 57 AM
.

@hellresistor
Copy link
Author

I have checked that.

I have run script now. Just changed the RAM
and keep getting this size
now

@tteck
Copy link
Owner

tteck commented Dec 8, 2021

What PVE version?
How was Proxmox installed?
local-lvm?

@hellresistor
Copy link
Author

i am follow this to prepare my proxmox

https://forum.proxmox.com/threads/how-to-run-pve-7-on-a-raspberry-pi.95658/

I have dono much things on this system. i will follow that steps again

@tteck
Copy link
Owner

tteck commented Dec 8, 2021

I do not advise nor support running Proxmox on a Raspberry Pi
These scripts doesn't support it.

@tteck tteck closed this as completed Dec 8, 2021
@hellresistor
Copy link
Author

hellresistor commented Dec 8, 2021

qm set $VMID \
  -efidisk0 ${DISK0_REF},size=128K \
  -sata0 ${DISK1_REF},size=32G > /dev/null

hmmm... ?? @tteck 🐙

@tteck
Copy link
Owner

tteck commented Mar 29, 2022

@hellresistor are you still running PiMox?

@hellresistor
Copy link
Author

yes

@tteck
Copy link
Owner

tteck commented Jul 16, 2022

@hellresistor willing to test a HAOS script for me?

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/pimox-haos.sh)"

@hellresistor
Copy link
Author

hellresistor commented Jul 17, 2022

@tteck selecting Default/Enter


| __ () | | | | /\ / __ \ / |
| |__) | | || | / \ | | | | (
| / |v3| __ | / /\ | | | |_ \
| | | | | | | |/ ____ \ |
| |
) |
|
| || || |// __/|__/

Using Default Settings
Using Version 8.2
Using VM ID 101
Using VM Name pi-haos8.2
Using 2vCPU
Using 4096MiB RAM
Using Bridge vmbr0
Using MAC Address 00:60:2F:FB:08:74
Using VLAN Tag NONE
Start VM when completed yes
✓ Using local for Storage Location.
✓ Virtual Machine ID is 101.
https://github.com/home-assistant/operating-system/releases/download/8.2/haos_generic-aarch64-8.2.img.xz
✓ Downloaded haos_generic-aarch64-8.2.img.xz
✓ Extracted Disk Image
✓ Created Pi-HAOS VM pi-haos8.2

  • Starting Home Assistant OS VM...kvm: -drive if=pflash,unit=1,format=raw,id=drive-efidisk0,size=67108864,file=/var/lib/vz/images/101/vm-101-disk-0.raw: The sum of offset (0) and size (0) has to be smaller or equal to the actual size of the containing file (4194304)
    start failed: QEMU exited with code 1
    ‼ ERROR 255@340 Unknown failure occured.

maybe this my problem.. i will try again. need clean the actual running machine . and will run again.

@tteck
Copy link
Owner

tteck commented Jul 17, 2022

Thank you! I'm trying

@hellresistor
Copy link
Author

hellresistor commented Jul 17, 2022


| __ () | | | | /\ / __ \ / |
| |__) | | || | / \ | | | | (
| / |v3| __ | / /\ | | | |_ \
| | | | | | | |/ ____ \ |
| |
) |
|
| || || |// __/|__/

Using Advanced Settings
Using Version 8.2
Using VM ID 102
Using VM Name piha
Using 1vCPU
Using 1024MiB
Using Bridge vmbr0
Using MAC Address 00:60:2F:BD:FD:AC
Using VLAN Tag NONE
Start VM when completed no
Are these settings correct(y/n)? y

✓ Using local for Storage Location.
✓ Virtual Machine ID is 102.
https://github.com/home-assistant/operating-system/releases/download/8.2/haos_generic-aarch64-8.2.img.xz
✓ Downloaded haos_generic-aarch64-8.2.img.xz
✓ Extracted Disk Image
✓ Created Pi-HAOS VM piha
✓ Completed Successfully!


i have need set this, because on this RPI i have running my promox with pi-hole, not sure with that all resources will break my network (maybe yes, on my last try, some months ago)
Try running it, i get this

"kvm: -drive if=pflash,unit=1,format=raw,id=drive-efidisk0,size=67108864,file=/var/lib/vz/images/102/vm-102-disk-0.raw: The sum of offset (0) and size (0) has to be smaller or equal to the actual size of the containing file (4194304)
TASK ERROR: start failed: QEMU exited with code 1"

, maybe my storage is not enough :\ Tomorrow i will try again, removing pi-hole and re-set my network dnsmanager. today I cant do that . But if is Hw-card size i cant do nothing, I just have here 12GB sd card to whole system/vms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants