Install and Run Proxmox on Laptop Hardware
Вставка
- Опубліковано 25 сер 2024
- #ProxMoxVE #Hypervisor #VirtualMachines #Laptop
Full steps can be found at i12bretro.gith...
What is Proxmox VE?
Proxmox VE is a complete, open-source server management platform for enterprise virtualization. It tightly integrates the KVM hypervisor and Linux Containers (LXC), software-defined storage and networking functionality, on a single platform. With the integrated web-based user interface you can manage VMs and containers, high availability for clusters, or the integrated disaster recovery tools with ease. - www.proxmox.co...
The Hardware
The laptop I used in this video is an Asus G74Sx. It sports a 4 core/8 thread i7-2670QM @ 2.20 GHz, 16GB of DDR3 RAM, a Nvidia GeForce GTX 560M with 2GB of vRAM and a Kingston 120GB SSD.
Things You Will Need
- A USB flash drive, at least 8 GB amzn.to/3wkR5ju | amzn.to/3qkrJ1p | amzn.to/3Nhu9b9
Preparing the Installation Media
01. Download the Proxmox VE .iso file www.proxmox.co...
02. Download the Ventoy installer www.ventoy.net...
03. Extract the downloaded .zip file
04. Run Ventoy2Disk.exe
05. Plug in a USB flash drive at least 4 GB in size
06. Click the refresh icon
07. Select the flash drive from the device dropdown
08. Click the Install button
09. After the installation completes, copy the downloaded Proxmox VE .iso to the Ventoy partition
10. Safely remove the USB flash drive
11. Plug the flash drive into the target laptop and power it on
12. Boot to the flash drive
13. Select the Proxmox VE .iso from the Ventoy menu
Installation and Setup
01. Select Install Proxmox VE and press Enter
02. Click the I agree button to accept the EULA
03. Select the appropriate Target Harddisk from the dropdown ≫ Click Next
04. Set the Country, Time zone and Keyboard Layout ≫ Click Next
05. Enter a password and confirm, Enter an email address ≫ Click Next
06. Give the Proxmox device a hostname, confirm the network settings ≫ Click Next
07. Click the Install button
08. Wait for Proxmox to be installed and configured
09. After the installation succeeds, take note of the IP address and port
10. Click the Reboot button
Installing a Desktop Environment
01. Log back into Proxmox
02. Run the following commands
update software repositories
apt update
install available software updates
apt dist-upgrade -y
install xfce desktop environment
apt install xfce4 chromium lightdm sudo -y
create a new user account
adduser ≪%username%≫
follow the prompts to set the user's password
add the new user to the sudo group
usermod -aG sudo ≪%username%≫
reboot
reboot now
03. After the reboot, a graphical login screen should be displayed
04. Log in with the new user account
05. Launch the Chromium web browser and navigate to localhost:8006
06. Welcome to Proxmox VE running on laptop hardware
Optional Configuration
01. Launch a terminal and run the following commands
elevate to root
sudo su
disable proxmox commmercial repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
add the proxmox community repo
echo "deb download.proxmo... $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" ≫ /etc/apt/sources.list.d/pve-community.list
update software repositories
apt update
remove no subscription nag popup
if running promox 6
sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm
if running proxmox 7
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
restart pveproxy service
systemctl restart pveproxy.service
download the dark theme setup script
wget raw.githubuser...
run the downloaded script
bash ./PVEDiscordDark.sh install
Source: pve.proxmox.co...
Connect with me and others ###
★ Discord: / discord
★ Reddit: / i12bretro
★ Twitter: / i12bretro
you're the man very good video, there is a lot of people that don't have two computers or two laptops, thanks man
Glad it was helpful. Thanks for the comment
Nice video. Just my 0.02 background music doesn't enhance tutorial videos. If you must I suggest the volume be very low. It's really distracting to some folks. Thank you
I slept @ 0:01 😂
This is what I was looking for! Thank you.
Awesome! You're welcome
This is what I was looking for , big thanks
Glad to hear it!
Just wanted to say that your videos are awesome. They have helped me so much with Proxmox and installing a desktop environment on top of it so i don't have to log into another computer to view the vms? Amazing and thanks again!
Question (and maybe a future video idea): Do you know if it's possible to run a light desktop on top of an OpenMediaVault install, similar to what you've done here for Proxmox? Thanks!
Thank you for the comment. OMV is built on top of Debain just like Proxmox, so I would think the same process would yield similar results. Let me know if you give it a try and how it goes
This is absolute gold, not just for Proxmox desktop and dark mode, but somehow I hadn't heard of Ventoy before and had been doing it the hard way. Thanks for the video!
Awesome, glad it was helpful. Thanks for the comment
thank you, just what i was looking for, as a noob the videos are realy easy to fallow
You're welcome, glad they are useful for you
@@i12bretro quick question: got an Acer Veriton N N4640G with an i5-6500T (4 cores 4 threads) 8gb ram, and i orderd an Intel PRO 1000 VT, 10/100/1000, 4 Porturi RJ-45... i want to make a opnsense/pfsense with some adsblokers and a plex or jellyfin sv for movies... whats the best setup for this ? proxmox > opnsense as vm and another vm like truenas scale for plex ? how to i split the cpu cores and ram ?
Your CPU is going to be a hurdle. Running all that on just 4 cores is going to be tough. I've never tried it, but TrueNAS can run VMs. I wonder if you install TrueNAS as the main OS with plex or jellyfin, then run your firewall as a VM inside TrueNAS.
Alternatively, you could try installing Proxmox and running your media server and firewall as lxc containers to reduce the overhead (cpu/ram) needed to run everything you want. I'm not sure which setup will be better for your on your hardware
@@i12bretro i was also thinking of running truenas scale as main os then pfsense as vm in it... do you have by chance a tutorial on that ? i realy dont need plex or jelly if it take up that many resources... i only want to have access to a external 6tb ssd that i have some media on it so i dont keep my pc open all the time
I don't, but it sounds like an interesting setup and should meet your needs. Good luck
Great video :)
I am considering doing this on a laptop as well, as I like the idea of using an old study laptop for this and a convenient built-in UPS. Do you know a way to control the battery charging? I would like to keep it at a set percentage eg. 50%, to put less stress on the battery. Also maybe some graceful shutdown functions relating to this :)
Thanks sir! Blessings!👏🏻
Thanks!
Nice ... I didn't know if ProxMox can have a dark theme :) ... Thank you
You're welcome. I love the dark theme. Wish Proxmox would add it as a feature
@@i12bretro Yes, exactly ... If Rancher and Kubernetes Dashboard already have it ... Why not ProxMox ? ... :)
This! And with a handy install script too!
Thank you for this. I wanted to experiment with PVE clusters, but I didn't have enough x86_64 clients (many arm64/aarch64). I had a laptop that I was just using occasionally (with Arch, BTW), and now it's switched over to PVE without issues. I would mention an ethernet connection, USB ethernet dongle, or laptop docking station is required as PVE doesn't come pre-installed with wireless network backends like wpa_supplicant or IWD, making wifi implementation impossible until these packages are installed.
I'm going to go digging in my old hardware boxes and get more of these old laptops setup. I'm just waiting for my wife to ask "Why do you have a dozen old laptops running?" to which I will reply "Proxmox goes CLUSTERRRRRR!"
HAHA, "mind your business dear."
I tried to set up my laptop over wifi and couldn't figure it out. My Linux cli command knowledge is a 2/10 if that. I'll just plug it into the modem and try it. I couldn't find anywhere that the packages for wifi aren't even there. Thanks!
Here's the official word on wifi from Proxmox pve.proxmox.com/wiki/WLAN
@@i12bretro Yup for now I'm using Ethernet and found out how to keep the system running with the laptop folded. It's setup and working good now! Thanks for the quick reply.
Good deal, enjoy!
OK so far so good, now I want two VM's on it, Windows11 and Linuxmint and actually use those OSes with sound wifi and everything. Don't need both at the same time, usage as "dual boot" is good enough. It must be possible but I am on a dead end at the moment...
So i take it that you have to be hardwired to your router b\c i didn't see a wifi setup being done? how can i set up my wifi so i can install a desktop etc?
Correct I use wired networking. Here's a link to the official Proxmox documentation on wifi. They recommend against it, but offer some tips
pve.proxmox.com/wiki/WLAN
@@i12bretro thank you. I found that link just after I found your video.
Glad to hear it. Were you able to get wifi working following their documentation?
@@i12bretroSo this is basically a Proxmox GUI distribution then. How do you set up wifi on the Proxmox GUI? I understand how to set it up on a Virtual Machine but not the Proxmox GUI you showed me. I think the article you referenced is only for Virtual Machines on Proxmox not Proxmox itself. How do you connect to wifi on this Proxmox GUI? Did anyone do it?
Can you install proxmox on laptop and create vm to use laptop screen like a normal laptop with proxmox running in background
In theory. This is called iGPU passthrough. I haven't been able to get it working reliably. It's very dependent on the hardware you have. But if you can figure out iGPU passthrough it *could* work
hey mate I tried following this but my laptop is not connected to any LAN so how do I get Proxmox to download updates via the laptops Wifi?? any help much appreciated
Proxmox uses a static IP address, so you likely need to edit /etc/network/interfaces and set the static IP address and gateway to something on your local network subnet so it can reach the internet
Great video with nice explanation. I finally managed to get a desktop 🖥️ environment.
Btw I want to try the GPU passthrough in my laptop, i watched lots of videos , guides forums and what not but all of them either bricked my proxmox and just hanged up while booting. It would be very very helpful of you make a video on this , i really appreciate your help
My specs are:
Ryzen 5600H
8gb ddr4 ram
1650 graphics
500gb nvme (windows only)
500gb hdd ( proxmox )
Thanks for the comment and glad you've got the desktop working. I have 2 video tutorials for GPU passthrough, however, they are specifically for a dedicated PCI GPU. Passing through the integrated GPU (iGPU) isn't as easy, and in my testing, usually doesn't work because of hardware limitations. Searching iGPU passthrough on the Proxmox forum will provide alot of insight and some guides to try, but I've only had it work well once
@@i12bretro yeah you are right I tried to look everywhere but there is seemingly no guide about (igpus). The some which are there are for Intel igpus , or dedicated ones. Seriously this is pain for me now I can't run my macos without using the xfce4 🥲
It's Little sad that I have to stop here after screwing my head for last few weeks.....
Hey there! Great video, though i do have a question:
Does installing and setting up proxmox erase/reset the entire drive? (i dont really want to lose my personal files, i do not have any bootloader except the one that comes preinstalled with windows or whatever it is lol)
Yes, it is a Linux operating system, so it would overwrite the drive.
@@i12bretro oh no
@@i12bretro hey, is there any way by which i could take a backup of my entire pc and the restore ot once installing proxmox?
Great video. One doubt I have do we require a static IP address or dynamic will work ?
Proxmox out of the box uses a static IP. It's set during the installation
@@i12bretro sorry I am new to this. So as per my understanding, it will automatically set up up IP address during installation. I don't have to change my network provider from dynamic to static IP address.
Proxmox will only be available on your local network, not publicly via the internet, so nothing changes from the ISP perspective
Long time no watching. How are you doing so far?
Is it possible to install another shell?
Hiiii Thanks a lot for all those super great videos/guide, how will work if I passthrough the GPU (the dedicated one of the laptop) to the VM's??? I mean do I need to use an external monitor in that case?
I haven't found a reliable way to pass the integrated GPU to a VM. I've been trying for over a year with limited success
great tutorial
Thanks!
Really nice video, btw is there any chance we can see through the main video server port (hdmi or vga) the same way we see our operating systems through vnc?
You'd have to pass the integrated GPU to a specific VM. I haven't had much luck getting it to work
@@i12bretro Perfect, thx for the info!
Hey Man, I installed xfce..
It's works fine on first boot and login but after some time it's asks for login and password again and after I login it's shows black screen but the stays running, I have tried many ways to solve it, Can you help me??
Thanks for making this video. I'm planning to install Proxmox on my laptop. But I got some questions. Can I install Proxmox on external SSD? Is it true that when I install Proxmox on my laptop, it will erase the bootloader of another OS on my laptop, e.g. Windows Boot Manager? Your reply will be much appreciated.
Yes, you can install to external SSD (or even a USB flash drive). If you install to a separate drive, it doesn't have to overwrite the Windows bootloader. You could remove or disconnect the Windows hard drive prior to installing Proxmox to avoid any accidental changes to your existing setup.
hey thanks for this superb video and i'm planning to run this on my old laptop can u suggest me the specs of the laptop should me i think my laptop is intel dual core can i run proxmax on that for some of the docker cointainers running on it ... ?
Dual core isn't going to be very beneficial for running a full hypervisor and VMs. It really just comes down to more cores and RAM will allow you to run more VMs and containers. On dual core I'd recommend just running as a dedicated Docker host to remove the overhead of the hypervisor
@@i12bretro then i can build my own pc with i5 6th gen is that's enough??..
Yeah, that's gonna work better for you
Thanks for reply but i have problem when it comes to Installing a Desktop Environment commands it tells me there is no package
You might need to add the community apt repo
ua-cam.com/video/1liGVX6oSrE/v-deo.html
Sorry if this is dumb, but can you install proxmox alongside windows? As in dual boot proxmox and windows?
You can, but why should you? I set up a VM in Proxmox with a Windows environment. Just connect to it with the RDP tool you prefer. Remmina, NoMachine, Spice, whatever you like most.
Hello, i have a desktop and i want to turn it in to a server with proxmox. But i want to still be able to use the desktop(monitor, keyboard,mouse) to acess VMs, but instead of a GUI install, can i just acess vnc and acess the VM from comand line on proxmox server?or Open a browser and acess the config link? Even if i need romote acess to do the first configurations like, VM creations.
Check this video out. I've honestly not tried running it on the Proxmox host itself, but it almost sounds sort of like what you want to do
ua-cam.com/video/gWzBl4De47w/v-deo.html
I have proxmox unable to contact the repository when updating it. What should I do?
Check your network configuration, I think it's in /etc/network/interfaces
Verify the subnet and gateway are accurate for your network. It also only supports wired LAN out of the box. I have a video coming on configuring wifi
I didn't specify a subnet when installing
Or you can somehow connect a wireless network (Wi-Fi) ?
Thanks, i have a question, how do You screen record while the machine is booting?
I use this HDMI to USB capture device amzn.to/3L3ex9b
hey, is there any way by which i could take a backup of my entire pc and the restore ot once installing proxmox?
There is, but it's a very advanced technique. I've used CloneZilla for this before. I don't recommend it unless you're really comfortable with all the different technologies involved
@@i12bretro can u suggest any videos?
Can you explain better what you're trying to do?
@@i12bretro i want to take a backup of my windows machine then install proxmox (and a windows vm) then restore the backup on that vm
This is called p2v, or physical to virtual. Here's a link to the Proxmox wiki pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE
Im on a dell laptop, how to disable proxmox from shutting down when i closed the lid. Cheers
This should provide some options to try wiki.debian.org/Suspend#Disable_suspend_and_hibernation
I've a amd64 laptop, I'd like to install proxmox and use it anywhere I go... But, I'm concerned about the wifi DRIVERS, should I reinstall them once the installation of proxmox is complete?
Or can they be chose from a list of possibile drivers during the installation procedure?
Can I run dockers inside proxmox with kali linux dockers?
Wifi is going to depend on your hardware. Alot of them just work with Linux, but it's not as simple as installing a driver like in Windows if it doesn't work.
Proxmox can definitely run Docker containers as described
@@i12bretro on which distro is proxmox based on? Because in Kali I've got the wifi kernel for my intel wifi... Could it be that i will find the same kernels available for proxmox or smthng? What do you suggest I do?
Proxmox is built on top of Debian, but runs on a kernel based on Ubuntu pve.proxmox.com/wiki/Proxmox_VE_Kernel
Great video is it possible to install Sonnet Solo10G PCIe Card into proxmox running mac Monterey?
I'm not familiar with that. I can only say I've had no problem passing physical pci devices to a VM in Proxmox, so in theory it's possible
It’s a 10 gb Ethernet pci so you can run pro tools Carbon interface for recording
Nice! I use pro tools as well. I've read some pci devices don't play well with passthrough, but I've done it with NICs and a USB 3 card with no issues. If you give it a try report back how it goes
Hi, i12bretro. , I installed this on my A515 with Intel AX201 wifi card , is there is a way to wifi work, I may use this as multiple OS.
Here's the official word on wifi
pve.proxmox.com/wiki/WLAN
Hello, I installed a killer M.2 wifi/ble card of my Proxmox device, how do i pass it through to a VM on proxmox ? any ideas?
I've never tried, but see if the m.2 device shows in the lspci output. Here's a video showing the basic steps of passing physical hardware to a VM ua-cam.com/video/x01oOUltTfY/v-deo.html
@@i12bretro Thanks. will try
Hi there , what is different between Proxmox & vmware or VirtualBox , why we must use Proxmox instead of vmware ? thnx
Proxmox and VMware ESXi are two different type 1 hypervisors, or operating systems built specifically to run virtual machines. VirtualBox and VMware are type 2 hypervisors, which is software that runs on top of your existing OS that allows you to run virtual machines.
One huge difference between proxmox and VMware ESX is cost. If you want full management GUI, clustering, load balancing, containers you have to pay a LOT for VMware. It's also per CPU socket on each server. It's even more if you want do a cloud solution. PMX gives you a large subset of thiose featurs for free and the support cost for commercial environments is a lot less. I use VMware at work I work for a storage company. But at home it's all Proxmox. The Proxmox backup server is great also. Now that Broadcom is buying VMware I don't expect the cost of ESX to go DOWN but up. There are so many HOWTO: videos on Proxmox as well. I hope you gave it a try
I'd also like to add that ESXi is not designed for consumer hardware, and has strict server-hardware only requirements. The current version of ESXi will only run on 13th generation servers or higher (Dell Poweredge R#3x, R#4x, etc..). ESXi is a very robust system, but very exclusive, and can be very pricy, usually costing thousands for individual licenses. There are free versions, but with much of the functionality very limited. I had the opportunity to get a one-year free version of the full datacenter and workstation suites, and it was the most streamlined virtual machine hypervisor I've ever used, but it also had its drawbacks. It doesn't run native containers (LXC/Docker), and all the software is proprietary, including the drivers. If something isn't supported the way you intend to use it, it simply won't be a possibility in VMware.
I'm very happy Proxmox is built on Debian, which is a solid Linux distro itself.
In cases where you don't want it to log you in from the light OS is it possible to go directly to the root as if it was never installed?
I'm not understanding your question
@@i12bretro oh my bad, whenever u boot in proxmox it automatically boots u to xfce4 but is it possible to not boot into xfce4 and let it boot directly to root coz I've had some issues with the OS sometimes
Yes, you can run "systemctl set-default multi-user.target" to set the default environment back to the shell. Then run startx from the console to start xfce only when you need to use it
Thanks a lot, that's sickk
How to install wlan or wifi adapter in proxmox?
pve.proxmox.com/wiki/WLAN
How you doing to access internet
I use wired networking. If you require wifi you need to install/configure it
pve.proxmox.com/wiki/WLAN
will my already installed win11 cant be boot again i am so confused
Proxmox is an operating system. It would replace your Windows 11 install
@@i12bretro can I dual boot and why do people use that os in browsers why not boot directly
I don't think there's an "easy" way to dual boot. You'd have to dual boot a vanilla Debian server install, then install Proxmox manually. The Proxmox installer doesn't have many options for partitioning and expects to use the whole drive. Proxmox is Debian server, with a custom kernel. There's no desktop environment by default, so once it's installed the VMs are controlled via a web interface. You can do alot of the same things via command line, but the web UI makes it easy
Can we add wifi modules?
pve.proxmox.com/wiki/WLAN
Bro i cant open browser on debian proxmox,how resolve?
Are you getting an error? Do you have a browser installed and when you click the icon it doesn't launch?
@@i12bretro yeah, bro but i watched youtube for fixing it, it was done, add "--no-sandbox" In folder usr>share>aplications>browser>properties>laucher>command edit there
Exactly i wanna install mac os vm on proxmox but i got problem for pcie passtrought on laptop, im using core i5 11 gen
Yeah, I've been trying to figure out working iGPU pass-through for months. I've seen some have it working in forums, but I've only gotten it working in specific linux live discs
@@i12bretro wow its crazy, im cant wait bro😀
can we install macos on laptop with proxmox??
You mean MacOS as a guest VM?
@@i12bretro yes, can we install it on laptop? and using its monitor itself as the main monitor so that we dont need to access it from another pc?
If your laptop has good enough specs, you should be able to install MacOS as a guest VM. I haven't been able to successfully configure the second part of your question. Normally you can pretty easily pass a dedicated GPU to a VM in Proxmox using PCI passthrough, but most laptops use an integrated GPU, and I haven't found a reliable way to pass that to a VM.
It's completely counterproductive to put background music to technical explanations; it's a bit like trying to write on a textured background...
This video seemed interesting, but after a minute of trying to understand your words despite the three guitar chords in the background, I went looking for another video on the same subject.
Only about 25% of Internet users have English as their first language: the rest have to make a greater or lesser effort to understand you.
By making it harder to listen to your videos, you're cutting yourself off from roughly three-quarters of your audience...
You gut a sub and like because this video will help me. Since you got the sub and like can you post a video on how to load vfio-pci?
This tutorial discusses PCI passthrough (ua-cam.com/video/x01oOUltTfY/v-deo.html) and enabling vfio-pci
@@i12bretro I tried but I can't get the stupid vfio-pci driver working, besides I'm using an nvidia gpu
The steps to enable vfio are the same. I don't have any nvidia GPUs at the moment so I can't offer any specific advice on that. Check the Proxmox forums to see if anyone has had success with your specific GPU