Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #261242

Re: Virtualization under Bookworm

From Paul van der Vlis <paul@vandervlis.nl>
Newsgroups linux.debian.user
Subject Re: Virtualization under Bookworm
Date 2023-08-27 15:10 +0200
Message-ID <H7nGF-4LCS-7@gated-at.bofh.it> (permalink)
References <H74um-4z2B-1@gated-at.bofh.it> <H7nGF-4LCS-9@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


Op 26-08-2023 om 18:40 schreef Carl Fink:
> Hi,
> 
> I have a project that I'd like to work on in a virtual machine hosted on 
> my Bookworm system. In the old days (5-10 years ago) I used VirtualBox, 
> just from inertia. I haven't really virtualized since then.
> 
> What's the current recommendation for someone who just wants to create a 
> one-off VM to run Debian under Debian? As this is not my job or even 
> main hobby, ideally it should have setup at least as easy as VirtualBox 
> was back in the day.
> 
> System is an ASUS ExpertCenter PN52 (Ryzen 7 6800, 32 GB of RAM, 2 
> terabyte SSD).

I can advice virt-manager, it is like Virtualbox was, but the modules 
are allready in the kernel so don't have to be compiled like with 
Virtualbox. And virt-manager is in Debian, Virtualbox is not in Debian 
so far I know.

Some advices:
You have to add yourself to the group libvirt, something like:
adduser carl libvirt

And it's important to start the virtual network by default:
virsh net-autostart default

To start a virtual machine in one click so without starting virt-manager 
first I make a script like this:
----
#!/bin/bash
sudo /usr/bin/virsh start win11
virt-manager --connect qemu:///system --show-domain-console "win11"
----

It seems to be faster when you use another driver for your virtual disk. 
There are many manuals for setting it up. It's not really difficult.

With regards,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Virtualization under Bookworm Carl Fink <carlf@panix.com> - 2023-08-26 18:40 +0200
  Re: Virtualization under Bookworm James Bloom <jabloom99@gmail.com> - 2023-08-26 19:30 +0200
  Re: Virtualization under Bookworm john doe <johndoe65534@mail.com> - 2023-08-26 19:40 +0200
  Re: Virtualization under Bookworm Mario Marietto <marietto2008@gmail.com> - 2023-08-26 21:00 +0200
    Re: Virtualization under Bookworm Carl Fink <carlf@panix.com> - 2023-08-26 21:50 +0200
      Re: Virtualization under Bookworm "Andrew M.A. Cater" <amacater@einval.com> - 2023-08-26 22:00 +0200
      Re: Virtualization under Bookworm Mario Marietto <marietto2008@gmail.com> - 2023-08-26 22:10 +0200
        Re: Virtualization under Bookworm Carl Fink <carlf@panix.com> - 2023-08-27 00:10 +0200
          Re: Virtualization under Bookworm Mario Marietto <marietto2008@gmail.com> - 2023-08-27 01:30 +0200
  Re: Virtualization under Bookworm Oliver Wenston <place4876@gmail.com> - 2023-08-26 21:50 +0200
  Re: Virtualization under Bookworm Paul van der Vlis <paul@vandervlis.nl> - 2023-08-27 15:10 +0200
  Re: Virtualization under Bookworm Stefan Monnier <monnier@iro.umontreal.ca> - 2023-08-27 18:00 +0200

csiph-web