Run VIRTUAL MACHINES on your RASPBERRY PI TODAY!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 62

  • @tcbquick
    @tcbquick 3 หลายเดือนก่อน +4

    45 years IT professional here IBM. GREAT JOB! keep it up. This video gives a lot of insight to folks that it may ignite some lightbulbs in their head they didn't even know they had. Even if they don't actually perform the hands on of doing it.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      Yeah, if I can do anything to spark a thought in someone's head, I'm a happy man!!

  • @alevans51
    @alevans51 4 หลายเดือนก่อน +3

    I really like this capability. Thanks!

    • @jeffs_piinthesky
      @jeffs_piinthesky  4 หลายเดือนก่อน

      Really happy you found it useful and thank you for the support!

  • @diodeskies9087
    @diodeskies9087 4 หลายเดือนก่อน +2

    Very cool and well done. Cheers

    • @jeffs_piinthesky
      @jeffs_piinthesky  4 หลายเดือนก่อน

      Thank you so much!!! Really appreciate the support!!

  • @roberthealey7238
    @roberthealey7238 3 หลายเดือนก่อน +1

    You could carry it further by running containers, docker or podman, or even more nerdy fire up a kubernetes cluster of PI’s.

    • @jeffs_piinthesky
      @jeffs_piinthesky  2 หลายเดือนก่อน

      Absolutely. Not sure on schedule right now, probably early next year...but I'll be doing a pi cluster video running containers managed via kubernetes 😃

  • @lesh4357
    @lesh4357 3 หลายเดือนก่อน +5

    Have you looked at Incus. It is the successor to LXC (because of Canonical/Ubuntu).
    It can do containers, virtual machines and now docker images.
    I have it on my X86-64 laptop, and should be putting it on my Pi's soon.
    I intend to run various services in containers rather than install directly in OS.
    Makes upgrades / conflicts easier to manage.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน

      I haven't seen that, no. Sounds very interesting! Please let me know how you get on with it!

    • @paulchung780
      @paulchung780 หลายเดือนก่อน

      @@jeffs_piinthesky Incus Linux Containers are hands-down the best way to run lightweight virtual machine environments on a Raspberry Pi. I have several of them with various desktops running simultaneously on my devices and they are indistinguishable from full-blown virtual machines.

  • @Xmoo123
    @Xmoo123 5 วันที่ผ่านมา +1

    I'm trying to do the same thing on my rpi 5 16GB but I'm getting an error. failed to setup uefi did not find any eufi binary path for arch 'aarch64'

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 วันที่ผ่านมา

      Interesting. The UEFI boot message would suggest there's some issue with the '/boot/efi' structure of the disk you're trying to boot from. Which OS are you trying? Ubuntu? I guess the other immediate thing that springs to mind is double checking you have the arm64 version. That's a mistake I've made multiple times where I've downloaded an amd64 iso instead.

    • @Xmoo123
      @Xmoo123 2 วันที่ผ่านมา

      Problem was needing a seperate command for installing the UEFI/boot packages. Wanted to install Kali Linux as VM. Installer would always work but crash at about 95%. So just install Kali directly on the RPi5.

  • @thesimplicitylifestyle
    @thesimplicitylifestyle 3 หลายเดือนก่อน +1

    I love my Raspberry pi ai! 😎🤖

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      You and me both!!!! One of the most amazing inventions of the last 20 years!!!

  • @jyvben1520
    @jyvben1520 3 หลายเดือนก่อน +4

    on debian, "ip ad show" works but so does "ip ad", another option is "hostname -I" gives pure ip address ( -I as in INDIA )

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      Thank you for the clarification! Much appreciated!

    • @paulchung780
      @paulchung780 หลายเดือนก่อน +1

      "ip a" also works.

    • @jyvben1520
      @jyvben1520 หลายเดือนก่อน +1

      @@paulchung780 yeah, i mostly use this, why did i forget it here ... thinking too much about hostname probably

  • @whiteb0rd
    @whiteb0rd 2 หลายเดือนก่อน +3

    Jeff, can you do a video on how to install one of the raspbian OS images into virt-manager? Specifically, I'd like to run raspbian within raspbian, and hopefully, be able to install one of the OSs in a vm that you would normally install onto an SDcard with the imager. Please assume starting with a .img file which you would burn with imager to an SDcard.

    • @jeffs_piinthesky
      @jeffs_piinthesky  2 หลายเดือนก่อน +1

      I've added it onto the list!! Thank you for the suggestion!!!

    • @TheExstud
      @TheExstud 8 วันที่ผ่านมา

      I second this, having a hard time getting a converted qcow2 of RPIOS booting.

  • @lyletaylor3728
    @lyletaylor3728 3 หลายเดือนก่อน +1

    I think this is fun an interesting from a geek perspective (kind of like Jeff Geerling trying to get a full PCIe video card running on the Pi for 4k gaming :) ), but are there real use cases where you think this would be the "right" or preferable thing to do vs just using docker containers? That's a serious question - like I said, this is fun, and the VMs are probably still much faster than the computers I used to get through college, but I'm wondering how useful this could really be where it would be a preferred solution.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน

      I direct you to my comment in the video where I said "I'm not sure we're even there yet"...I 100% agree with you. Especially on lower grade hardware like SBC's it's hard to find genuine use cases for VM's.
      That said, the one I normally go back to is if your target runtime is something very specific and you want to run in an identical environment.
      With containers, the processes ultimately run in the context of the host. Just do a ps -ef on the host and you'll see them. In VM's, the processes are truly sandboxed in that environment.
      But again, fundamentally I do think you're absolutely right.

    • @paulchung780
      @paulchung780 หลายเดือนก่อน

      The "right" use case for a virtual machine is when you need to make use of a kernel different from the host, you need to use a different computer architecture, or where security is of utmost concern and you need a properly isolated sandboxed environment. The essence of a container is that it uses the host's kernel and therefore cannot provide these features. Having said that, there are large areas of overlap. For instance, if you just need to say, use a different Linux distribution or a different desktop environment, you would be better off using a container as it is faster and uses fewer resources. Docker can do this but my choice would be to use Linux Containers (LXC).

  • @ujl-is-a-good-game
    @ujl-is-a-good-game หลายเดือนก่อน

    Maybe you could try using the Pi 5 or 4 as a home theater pc!
    I did it on my Pi 5 and now it is the only thing i use for gaming.

    • @jeffs_piinthesky
      @jeffs_piinthesky  23 วันที่ผ่านมา

      Awesome job!!! What are you running?? Kodi or something similar???

    • @ujl-is-a-good-game
      @ujl-is-a-good-game 22 วันที่ผ่านมา

      @@jeffs_piinthesky I use Steam Big Picture mode on top of Ubuntu 24.04

    • @ujl-is-a-good-game
      @ujl-is-a-good-game 22 วันที่ผ่านมา

      The version from Pi-Apps

  • @tcbquick
    @tcbquick 3 หลายเดือนก่อน +2

    I would have loved to have a pi5 to replace my multi million dollar IBM VM MAINFRAMES....from the 1960's

  • @stephenhookings1985
    @stephenhookings1985 3 หลายเดือนก่อน +1

    Wondering how this compares to proxmox or docker containers?

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน

      I run Proxmox on my home server to provide easy management of my (large) VMs such as my Windows gaming VM. As per a prior video, smaller stuff I run on a PI5 NAS running OpenMediaVault which works beautifully.
      I'm a huge fan of Docker and it is great because it's far more lightweight. However under the hood, the actual processes are running on the host as opposed to in a sandboxed VM so it is different.

    • @paulchung780
      @paulchung780 หลายเดือนก่อน +1

      Running virtual machines this way does away with having to install the fancy browser-based GUI of Proxmox (which consumes around 1.5-2.0 GB of RAM on a Pi). Proxmox is optimised for the x86_64 architecture so it doesn't work properly and isn't supported on a Pi anyway. Docker containers are focussed on running single applications or single processes. They *ARE* able to run different Linux operating systems just as virtual machines do but, if this is what you want, you'd be better off using Linux Containers (LXC). They are not as secure as virtual machines (as they use the host's kernel) but they are much faster and consume far fewer resources.

  • @luctorres6375
    @luctorres6375 3 หลายเดือนก่อน +2

    Interesting video. It is worth it to buy a Raspberry PI 5 ?

    • @primeral
      @primeral 3 หลายเดือนก่อน

      I have a Pi5 running 8 useful docker containers with excellent reliability using minimal electricity.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      Great question. PI5 obviously has better processing grunt than prior models but it's really all about what you'd like to do with it. For me personally, I do a lot of work with video so lack of h/w video encode in the PI5 is a problem (it is there in PI4). So I think the big question is would you benefit from the beefier CPU or better IO (including the new PCIe interface). VMs aside, the 2GB PI5 is a good, budget option for playing with the device but obvs that little memory will restrict viable use cases.

  • @MrMilanoLau
    @MrMilanoLau 2 หลายเดือนก่อน +1

    Is it possible to run a Win10 VM on Rpi OS? Thanks.

    • @jeffs_piinthesky
      @jeffs_piinthesky  2 หลายเดือนก่อน

      That's something I'm trying to do. No success yet. Been trying to boot the windows arm release into a VM but whilst it hits the initial bootloader, it then just hangs before getting into the setup process. I'm trying both this and getting android running in a VM. I'll let everyone know if I go figure it out!!!

    • @MrMilanoLau
      @MrMilanoLau 2 หลายเดือนก่อน

      @@jeffs_piinthesky Thanks.

  • @BurkenProductions
    @BurkenProductions 3 หลายเดือนก่อน +1

    Well. You wanna run everything in a single or os.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      Sorry, not sure what you mean here.

  • @netbin
    @netbin 3 หลายเดือนก่อน +1

    what about rpi3b+?

    • @clewis4744
      @clewis4744 3 หลายเดือนก่อน

      1 GB of memory will limit you.
      Docker might be better to try rather than virtual machines if you really want to try.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน

      Technically it should work on a pi3 though I've never tried it. But I'd suggest limiting it to really lightweight OS's such as Alpine to keep the load down or it'd just be pretty unresponsive.

  • @BurkenProductions
    @BurkenProductions 3 หลายเดือนก่อน +1

    You dont use efi boot in kvm machines,,. Like wtf

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +1

      It actually is using the tiano core EFI bios under the hood

  • @SpacyNG
    @SpacyNG 3 หลายเดือนก่อน +5

    Actually, a VM is the WORST choice for CPU, memory and disk utilization. As long as you use the same kernel, you get the best performance by a decade old concept called processes. Imagine installing a full Windows VM for every program you install. One Windows for Chrome, one Windows for Outlook, one Windows for your media player, etc. Pretty ridiculous, right?

    • @clewis4744
      @clewis4744 3 หลายเดือนก่อน +2

      Unless you want to run as a server, and keep web, apps, db, mail servers in separate VMs.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +4

      You both have a good point. The worst part of VMs is that they're carrying the bloat of the OS. However, in s/w dev and other use cases, it can be very useful to have a representative, local environment to test on.
      Docker is, of course, another technology which can be far more efficient in terms of what is ultimately running.

    • @kevinmcaleer28
      @kevinmcaleer28 3 หลายเดือนก่อน +1

      @@jeffs_piinthesky Docker all the way - great video Jeff; keep up the good work!

    • @SpacyNG
      @SpacyNG 3 หลายเดือนก่อน

      I didn't say VMs are bad. I love how far we have come with virtualization. Just that for RPi / SBCs and their limited ressources, they are the worst choice to use them. If you are willing to "waste" these ressources, you'll then get all the benefits, some of which you already mentioned.

    • @deldia
      @deldia หลายเดือนก่อน +1

      Agree. This is great to know for other reasons but efficiency isn’t one of them. The intro is wrong but the rest is good.

  • @SuspiciousArra
    @SuspiciousArra 3 หลายเดือนก่อน +1

    I would advise against any long term PI setup as the performance spent for the money is not good, they are extremely expensive. Not easy to get, issues with storage, pretty limited... A cheap and old miniature computer with a new storage device will always outperform anyhting PI related. Even running virtual machines on a Synology NAS Docker is better than PI. In last 10 years myself always sold all my PI computers, then keep getting back to them, hoping they are worthy and... sell them again.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน

      It's very much about what you use them for really. For example, using a mini computer in the garage to measure my cars distance from a wall would be a complete waste of resource whereas a pi zero or Pico works beautifully. But you do make a good point. Everyone should be mindful about what they want to do with any tech and get the right tool for the job.

  • @BurkenProductions
    @BurkenProductions 3 หลายเดือนก่อน +1

    Too much talking dude. Just show what the title says within 5 seconds.

    • @jeffs_piinthesky
      @jeffs_piinthesky  3 หลายเดือนก่อน +2

      Thanks for the feedback! I make chapters available so you can get to the parts you need easily.