#Proxmox Stuff
1 messages · Page 1 of 1 (latest)
Ah, you chose pre-enrolled keys for the EFI disk. That enables secure boot which you don't want.
Stop the VM. Re-create the EFI disk without that, then when booting press ESC in the Console to get into the boot mananager.
Device Manager > Secure Boot Configuration > Attempt Secure Boot > Deselect > ESC > ESC > Reset
https://i.imgur.com/tSefGCm.png
Takes forever to shutdown lol
That's why I said Stop.
Click the task, cancel it, then do a Stop.
Shutdown attempts to "press the shutdown button" but there's no one listening at this time
Also see here for more recommended changes to the settings and why: <#general-archived message>
Perfect. Now ESC > ESC > Reset and it "should" work
For processor I'd suggest changing the processor type to host (best performance and allows the VM to access the CPU's features such as AES and so on).
For the disk(s) you should disable pre-enrolled keys (also enables secure boot), enable discard (makes thin allocation work) and SSD emulation (feels right) if the storage is on one.
In options you should enable the guest agent (proper backups/snapshots, stats, shutdowns and so on) and disable tablet for pointer (wastes CPU).
Since you enabled pre-enrolled keys you might have to disable secure boot manually in the boot manager by pressing ESC while booting.```
I'd recommend you apply the other settings I linked though
just copying it here
Hmm. Strange but okay
Seems to be running now, lemme see if I can do those changes
Some of them need a cold boot. You can see that by the orange color. Best done initially
-
Install PROXMOX
-
Create a VM
https://www.youtube.com/watch?v=sZcOlW-DwrU&ab_channel=CraftComputing
https://ostechnix.com/import-qcow2-into-proxmox/
GENERAL > VM ID '101'
GENERAL > NAME 'HASS'
GENERAL > START AT BOOT
OS > DO NOT USE ANY MEDIA
SYSTEM > BIOS 'UEFI'
EFI DISK > TURN OFF PRE ENROLLED KEYSSYSTEM > QEMU AGENT
CPU > CORES '4'
MEMORY > MEMORY '3072'
- Download .qcow2 and attach
Hardware Tab of VM
Detach Disk
Remove Diskwget https://github.com/home-assistant/operating-system/releases/download/11.1/haos_ova-11.1.qcow2.xz
unxz haos_ova-11.1.qcow2.xz
qm disk import 101 haos_ova-11.1.qcow2 local-lvmHardware Tab of VM
Select Unused Disk
Edit and OKOptions
Add disk to Boot Order #1
- Boot Machine
Press ESC
Device Manager > Secure Boot Configuration > Attempt Secure Boot > Deselect > ESC > ESC > Reset
Where in my install list would I do those things?
I'm not sure how to answer that. Some of those are set when creating the VM, some are set in Hardware/Options. I told you everything you need though.
If you did all the changed I suggested you can post pictures again and I can make recommendations if you wnat
https://i.imgur.com/ic8Uqdf.png
This correct?
Yes
Looks fine as well
Yep
You can change most of this after creation as well, you don't have to create a new VM, btw. I guess you just want to get a feel what to choose in the future?
https://i.imgur.com/bwVUCkP.png
Assuming you meant this one?
Yeah, setting one up for my parents rn. Debating to redo our one at home
Currently we use HAOS on a laptop but networking within haos sucks
https://i.imgur.com/JTW5eXw.png
https://i.imgur.com/uIbzNlM.png
I use a few extra options but yes
I'm actually not a fan of HAOS myself (google HAOS dns) but people use it and I want to help them so I gotta be familiar with it as well, hence it goes in a VM.
Yeah dns on it has been a pain in the ass. Hence why we're debating moving it to a vm
It's certainly easier to snapshot/backup and troubleshoot it in a VM.
how would you use grafana and vscode without HAOS tho. The plan is for my parents to work on it and not me
I run my production HA and others in separate docker containers "managed" through docker compose.
Ah alright
that'd make sense
Is that a lot harder to set up at front
my linux skills are quite rusty. Ít's been a while
How do you use hacs elements then? Is there an easy way to use that
I basically have one big VM that runs all my main stuff. I've migrated a few things to LXC containers and other VMs now.
Not really. You just have to add them to the sidebar with panel_iframe.
HACS works fine in a container install.
And then this in the configuration.yaml
panel_iframe:
grafana:
title: "Grafana"
url: "http://ip:3000"
icon: mdi:someicon
require_admin: true
Is it possible to setup stuff beforehand so I don't have to takeout HASS for like a week while I figure stuff out
Set up what exactly?
You can run clone the VM, test stuff there and then when it works apply it on the other
It's currently only HAOS.
Dont really have any other device here that functions as a server
Proxmox Stuff
So on our home server i would do:
Backup HAOS
Install proxmox
Import HAOS
Create a new vm for the future hass
Then in the new vm I can mess arround
Yep. Make snapshot, mess around, restore. It's what I do when I test something in HAOS
I automated my snapshots but still: https://github.com/Corsinvest/cv4pve-autosnap
How much stuff do you manage
My HA is very simple actually. Most of my stuff is still in Node RED
https://i.imgur.com/Hx4iLvO.png
Ours looks very nice but havent had the time to make 90% of it work
Mine is rather boring. I mostly use a few functional HACS things, not visual. I want my HA to be rather stable so I try not to use so much of it
Do you know how I can disable the laptop going to sleep when I close the lid
Proxmox VE is on the laptop?
yeah
echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf
systemctl restart systemd-logind
See if that works. Also see here: https://old.reddit.com/r/homelab/comments/fbyfee/disable_laptop_lid_to_use_it_as_a_server/
Jup that worked thanks
There's two proxmox discord servers, btw
Invite me through dms, might be useful when I'm redoing our own one
I can post them here, should be fine:
https://discord.gg/8R2W3jCWtw
https://discord.gg/QEk2Evu
None of these are mine (I don't run any public ones) but it always feels a bit wrong to post other servers. Even the esphome one.
Would you say setting up LXC containers for different services is worth it?
So one LXC Container for HASS Itself, one for grafana and influx
If so do I create ubuntu containers or something else?
Worth depends what you gain from it. I run most things in one VM in docker containers. I only use LXC if I have to
Ah alright, would you have any suggestions for a secure connection to another proxmox server in another network
I can't seem to find any guides
Someone said wireguard but couldnt help me with it so I'm very confused
I use tailscale for my remote PVE: https://tailscale.com/kb/1133/proxmox/
Assuming you meant over the net.