Installing Proxmox VE 7.x on Debian Bullseye for custom partition layout | Homelab Operations Center

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so proxmox has a pretty great installer and for most people you should just be using the proxmox installer to install proxmox but every now and then you encounter a situation where the proxmox installer does something you don't really want it to do so today we're going to install proxmox 7 on top of debian bullseye and we're doing that because this little guy here has emmc storage that proxmox's installer doesn't agree with so the most common reason to install proxmox on top of debian is because you want to use a custom partition layout for the boot partition and that's my reasoning in this case too whatever your reasoning is you can walk through it with me proxmox has a guide on their website for how to do this with proxmox 6 and debian buster and there's a couple little minor changes for proxmox 7 and debbie and bullseye and i'll be sure to point them out yeah like and subscribe can rub his head on my thin client so here we are in the debian installer we're going to click install and run through the install process it's just like any other debian install you basically pick nothing except the ssh server and then once the install is finished we install proxmox on top of it so i'm going to call this node pve 3040 because it's my dell 3040 and i'm going to use it in a video coming up root password so with debian you can either choose to install with a root password and it will not install sudo or you can install with an initial user account and not set a root password and then the initial account will have sudo permissions proxmox really likes to have a root user password so we're going to set a root password here but we still have to create a new user anyway and because they don't have pseudo permissions they can't really do anything so they're kind of useless but they have to be here anyway because the installer wants to create them so now the whole reason we're installing proxmox on top of debian so we can set up the disks how we want them in my case i'm using something with such a small internal drive that it would be pointless to install lvm or zfs on top of it so i just want to use ext4 for the whole thing in your case you might want to do some other partition arrangement or whatever and that's why you would use proxmox on top of debian so here i've got half gig es esp which is the efi system partition 14 gig zxt4 one giga swap if i would have done that with lvm i would not have had much space at all and there's there's no point in putting vms on a 14 gig disk anyway and we continue write changes to disk debian is asking us if we want to install a desktop and this is a server so no we don't no debian desktop no gnome so debian says it's done and time to reboot so let's go so this particular box i'm on has a bug in the uefi where the grub loader needs to be at the removable media path here because the uefi completely ignores every other configuration so launch the debian installer into rescue mode i'm telling it for scrub installation to removable path and i say yes and then we'll reboot into the new debian system so the system is booted up we're gonna log in as root and i'm gonna change the terminal font for you guys so it looks a little bit better okay hopefully this looks decent for you guys so before we install proxmox we need to configure the networking and proxmox is very particular that the interface must have a static ip address and the host name must be mapped to the ip address in the hosts file so first we're going to set the static ip address so right now after the debian install we defaulted to dhcp so we need to set that to enp1s0 static we need to set the address and the netmask and the gateway now we need to edit the hosts file so proxmox is happy so by default debian has this line here for pve 340 at paladin and this line is correct but the address needs to be what the static ip address is which in my case is 172.27.1.154. and up here it also wants localhost.localdomain and the ipv6 stuff is all correct so it's important that you have the host name of your system and the host name of your system at your domain set to your static ip address in the hosts file proxmox will be very angry if that's not true so just to verify so we got our rip address back so now we just need to do if down followed by if up so that it reloads network configuration and then check our ip address and what do you know there it is 172.27.1.154 20. perfect so now we need to add the proxmox app repository so we're going to create a new file in the sources.list.d folder so slash etsy slash apt sources.list.net and the new file we're going to call pve install depot that list and we'd add so proxmox is repository is http download.proxmox.com debian slash pve and bullseye and pve no subscription there we go that file is created now we need to add the proxmox gpg key and if you read the proxmox wiki it tells you the file is called proxmox ve release6.x.gpg and you might think you need to go to 7.x.gpg but that is actually not true the file is not named that at all get the gpg key with wget http download proxmox dot com slash dot com slash debian and the file is called proxmox release a bullseye a gpg and we need to put that in a specific folder so that apt will find it so etsy at trusted.gpg.d and then we'll put the file there so we downloaded the gpg key for this now we can act update and it should find the new repository and it did and then we're going to do an apt full upgrade just to make sure everything is up to date before we install proxmox so now that we've done the apt update we should be able to install proxmox entirely from packages so app to install roxmox ve and they also want two other packages post fix and open iscsi so installing the proxmox ve package should install the proxmox kernel and all of their other changes that's a lot of packages there all of those are getting installed so now post fix is asking us for configuration and we're just going to say local only yep let's keep going boxmox has one last thing they want they want us to remove os prober app remove os dash prober that should be pretty quick it's done so now we're going to reboot and it should come up into proxmox so it still says debian gnu linux but if you look it's actually loading the 5.13.19 pve kernels it's loading the proxmox kernel like it should just the grub entry doesn't say proxmox it says debian so here we are welcome to proxmox virtual environment now we can hop over to the web browser and finish setting it up so we get the usual warning because proxmox defaults to a self-signed certificate so we say continue we log in as our root account that we set up during the debian install and there we go so we have local storage on disk we don't have local lvm or local zfs because we didn't set those up but we're good to go so if you actually want to use this for virtual machines and containers you should go over here and fix the networking so we created networking that has enp1 s0 set up with an ip address and normally in proxmox you would create a linux bridge and then assign the ip address to the bridge instead of to the interface directly and that way you can bridge your virtual machines in containers so i'm going to do that here so i'm going to remove this and we have pending changes so we can't apply anything now until we fix our entire configuration so now we're going to create a linux bridge so on the bridge added enp1s0 as a port now we're going to apply configuration look down here and see what it's going to do so it's going to remove auto enp1s0 and static and we're going to get a bridge named vmbr0 with the ip address that is the same ips we're currently using and the bridge port is enp1s0 so we like that we're going to apply that done so just to make sure we're still able to connect to the server it still has the correct ip address so now we're ready to use this the whole reason i made this video was so i could get proxmox installed on my dell wise 3040 little thin client here because i needed it for a future video so stay tuned because you're going to see this guy running proxmox in just a little bit
Info
Channel: apalrd's adventures
Views: 28,370
Rating: undefined out of 5
Keywords:
Id: dYzMbm0p7FM
Channel Id: undefined
Length: 11min 41sec (701 seconds)
Published: Mon Apr 11 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.