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


Groups > linux.debian.user > #261208 > unrolled thread

Virtualization under Bookworm

Started byCarl Fink <carlf@panix.com>
First post2023-08-26 18:40 +0200
Last post2023-08-27 18:00 +0200
Articles 12 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  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

#261208 — Virtualization under Bookworm

FromCarl Fink <carlf@panix.com>
Date2023-08-26 18:40 +0200
SubjectVirtualization under Bookworm
Message-ID<H74um-4z2B-1@gated-at.bofh.it>
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).

Thank you.

-Carl Fink

[toc] | [next] | [standalone]


#261211

FromJames Bloom <jabloom99@gmail.com>
Date2023-08-26 19:30 +0200
Message-ID<H75gK-4zxY-9@gated-at.bofh.it>
In reply to#261208

[Multipart message — attachments visible in raw view] — view raw

Carl:

I use VirtualBox on Debian 12, and I run virtual Windows 11 and Linux machines with no issue. I also tried GNOME boxes and had no direct problems, but I went back to using VirtualBox because it was compatible with my cloud storage setup - I can save a VirtualBox virtual machine file in the cloud server and access it from my desktop and laptop without issue, whereas GNOME boxes wouldn’t work if I did that - there were always boot errors. But GNOME boxes otherwise seemed to work great.

James

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Carl Fink <carlf@panix.com>
Sent: Saturday, August 26, 2023 9:29:30 AM
To: debian-user@lists.debian.org <debian-user@lists.debian.org>
Subject: Virtualization under Bookworm

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).

Thank you.

-Carl Fink

[toc] | [prev] | [next] | [standalone]


#261212

Fromjohn doe <johndoe65534@mail.com>
Date2023-08-26 19:40 +0200
Message-ID<H75qp-4zBv-15@gated-at.bofh.it>
In reply to#261208
On 8/26/23 18:29, Carl Fink wrote:
> 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.
>

I use Virsh and virt-manager when desired.

Your mileage may very!

--
John Doe

[toc] | [prev] | [next] | [standalone]


#261213

FromMario Marietto <marietto2008@gmail.com>
Date2023-08-26 21:00 +0200
Message-ID<H76FP-4Ajn-1@gated-at.bofh.it>
In reply to#261208

[Multipart message — attachments visible in raw view] — view raw

For sure you can't miss qemu + kvm,they are the most powerful tools for
virtualization. With qemu and kvm you can pass through to the guest OS even
your gpu. With virtualbox or vmware you can't.

On Sat, Aug 26, 2023 at 8:40 PM James Bloom <jabloom99@gmail.com> wrote:

> Carl:
>
> I use VirtualBox on Debian 12, and I run virtual Windows 11 and Linux
> machines with no issue. I also tried GNOME boxes and had no direct
> problems, but I went back to using VirtualBox because it was compatible
> with my cloud storage setup - I can save a VirtualBox virtual machine file
> in the cloud server and access it from my desktop and laptop without issue,
> whereas GNOME boxes wouldn’t work if I did that - there were always boot
> errors. But GNOME boxes otherwise seemed to work great.
>
> James
>
> Get Outlook for iOS <https://aka.ms/o0ukef>
> ------------------------------
> *From:* Carl Fink <carlf@panix.com>
> *Sent:* Saturday, August 26, 2023 9:29:30 AM
> *To:* debian-user@lists.debian.org <debian-user@lists.debian.org>
> *Subject:* Virtualization under Bookworm
>
> 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).
>
> Thank you.
>
> -Carl Fink
>
>

-- 
Mario.

[toc] | [prev] | [next] | [standalone]


#261218

FromCarl Fink <carlf@panix.com>
Date2023-08-26 21:50 +0200
Message-ID<H77sd-4APq-1@gated-at.bofh.it>
In reply to#261213

[Multipart message — attachments visible in raw view] — view raw

Well, last time I looked (at least six or seven years ago) it was a 
weird maze of fiddling to get QEMU/KVM set up. Is it easier now?

On 8/26/23 14:53, Mario Marietto wrote:
> For sure you can't miss qemu + kvm,they are the most powerful tools 
> for virtualization. With qemu and kvm you can pass through to the 
> guest OS even your gpu. With virtualbox or vmware you can't.
>
> On Sat, Aug 26, 2023 at 8:40 PM James Bloom <jabloom99@gmail.com> wrote:
>
>     Carl:
>
>     I use VirtualBox on Debian 12, and I run virtual Windows 11 and
>     Linux machines with no issue. I also tried GNOME boxes and had no
>     direct problems, but I went back to using VirtualBox because it
>     was compatible with my cloud storage setup - I can save a
>     VirtualBox virtual machine file in the cloud server and access it
>     from my desktop and laptop without issue, whereas GNOME boxes
>     wouldn’t work if I did that - there were always boot errors. But
>     GNOME boxes otherwise seemed to work great.
>
>     James
>
>     Get Outlook for iOS <https://aka.ms/o0ukef>
>     ------------------------------------------------------------------------
>     *From:* Carl Fink <carlf@panix.com>
>     *Sent:* Saturday, August 26, 2023 9:29:30 AM
>     *To:* debian-user@lists.debian.org <debian-user@lists.debian.org>
>     *Subject:* Virtualization under Bookworm
>     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).
>
>     Thank you.
>
>     -Carl Fink
>
>
>
> -- 
> Mario.

[toc] | [prev] | [next] | [standalone]


#261220

From"Andrew M.A. Cater" <amacater@einval.com>
Date2023-08-26 22:00 +0200
Message-ID<H77BT-4ASX-1@gated-at.bofh.it>
In reply to#261218
On Sat, Aug 26, 2023 at 03:43:54PM -0400, Carl Fink wrote:
> Well, last time I looked (at least six or seven years ago) it was a weird
> maze of fiddling to get QEMU/KVM set up. Is it easier now?
> 
> On 8/26/23 14:53, Mario Marietto wrote:
> > For sure you can't miss qemu + kvm,they are the most powerful tools for
> > virtualization. With qemu and kvm you can pass through to the guest OS
> > even your gpu. With virtualbox or vmware you can't.
> > 
> > On Sat, Aug 26, 2023 at 8:40 PM James Bloom <jabloom99@gmail.com> wrote:
> > 
> >     Carl:
> > 
> >     I use VirtualBox on Debian 12, and I run virtual Windows 11 and
> >     Linux machines with no issue. I also tried GNOME boxes and had no
> >     direct problems, but I went back to using VirtualBox because it
> >     was compatible with my cloud storage setup - I can save a
> >     VirtualBox virtual machine file in the cloud server and access it
> >     from my desktop and laptop without issue, whereas GNOME boxes
> >     wouldn’t work if I did that - there were always boot errors. But
> >     GNOME boxes otherwise seemed to work great.
> > 
> >     James
> > 
> >     Get Outlook for iOS <https://aka.ms/o0ukef>
> >     ------------------------------------------------------------------------
> >     *From:* Carl Fink <carlf@panix.com>
> >     *Sent:* Saturday, August 26, 2023 9:29:30 AM
> >     *To:* debian-user@lists.debian.org <debian-user@lists.debian.org>
> >     *Subject:* Virtualization under Bookworm
> >     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).
> > 
> >     Thank you.
> > 
> >     -Carl Fink
> > 

Apt-install virt-manager - nice graphical virtual machine manager - and it
should pull in qemu and kvm

All the very best, as ever

Andy Cater
> > 
> > 
> > -- 
> > Mario.

[toc] | [prev] | [next] | [standalone]


#261221

FromMario Marietto <marietto2008@gmail.com>
Date2023-08-26 22:10 +0200
Message-ID<H77Lz-4BbO-3@gated-at.bofh.it>
In reply to#261218

[Multipart message — attachments visible in raw view] — view raw

If you want a powerful tool,you should spend some of your time on it. If
you want to use something easier,you will lose some features,at least.

On Sat, Aug 26, 2023 at 9:43 PM Carl Fink <carlf@panix.com> wrote:

> Well, last time I looked (at least six or seven years ago) it was a weird
> maze of fiddling to get QEMU/KVM set up. Is it easier now?
> On 8/26/23 14:53, Mario Marietto wrote:
>
> For sure you can't miss qemu + kvm,they are the most powerful tools for
> virtualization. With qemu and kvm you can pass through to the guest OS even
> your gpu. With virtualbox or vmware you can't.
>
> On Sat, Aug 26, 2023 at 8:40 PM James Bloom <jabloom99@gmail.com> wrote:
>
>> Carl:
>>
>> I use VirtualBox on Debian 12, and I run virtual Windows 11 and Linux
>> machines with no issue. I also tried GNOME boxes and had no direct
>> problems, but I went back to using VirtualBox because it was compatible
>> with my cloud storage setup - I can save a VirtualBox virtual machine file
>> in the cloud server and access it from my desktop and laptop without issue,
>> whereas GNOME boxes wouldn’t work if I did that - there were always boot
>> errors. But GNOME boxes otherwise seemed to work great.
>>
>> James
>>
>> Get Outlook for iOS <https://aka.ms/o0ukef>
>> ------------------------------
>> *From:* Carl Fink <carlf@panix.com>
>> *Sent:* Saturday, August 26, 2023 9:29:30 AM
>> *To:* debian-user@lists.debian.org <debian-user@lists.debian.org>
>> *Subject:* Virtualization under Bookworm
>>
>> 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).
>>
>> Thank you.
>>
>> -Carl Fink
>>
>>
>
> --
> Mario.
>
>

-- 
Mario.

[toc] | [prev] | [next] | [standalone]


#261222

FromCarl Fink <carlf@panix.com>
Date2023-08-27 00:10 +0200
Message-ID<H79DH-4Cmb-7@gated-at.bofh.it>
In reply to#261221
On 8/26/23 16:01, Mario Marietto wrote:
> If you want a powerful tool,you should spend some of your time on it. 
> If you want to use something easier,you will lose some features,at least.

Yep. That's why I specified that I was more interested in easy setup in 
the threadstarter ....

-Carl

[toc] | [prev] | [next] | [standalone]


#261226

FromMario Marietto <marietto2008@gmail.com>
Date2023-08-27 01:30 +0200
Message-ID<H7aT8-4D2y-9@gated-at.bofh.it>
In reply to#261222

[Multipart message — attachments visible in raw view] — view raw

So,surely go with virtualbox or vmware workstation.

On Sun, Aug 27, 2023 at 1:20 AM Carl Fink <carlf@panix.com> wrote:

>
> On 8/26/23 16:01, Mario Marietto wrote:
> > If you want a powerful tool,you should spend some of your time on it.
> > If you want to use something easier,you will lose some features,at least.
>
> Yep. That's why I specified that I was more interested in easy setup in
> the threadstarter ....
>
> -Carl
>
>

-- 
Mario.

[toc] | [prev] | [next] | [standalone]


#261219

FromOliver Wenston <place4876@gmail.com>
Date2023-08-26 21:50 +0200
Message-ID<H77sd-4APq-3@gated-at.bofh.it>
In reply to#261208

[Multipart message — attachments visible in raw view] — view raw

Hey Carl,

I am currently using Virtual Box installed through their official website
instructions. The screen's top left quadrant has some flashing problems in
a Fedora 38 guest, but otherwise works fine. If anyone here knows why that
is happening, please let me know. It is a NUC using an the Intel iGPU, not
Nvidia nor AMD GPUs.

Best of luck,
Oliver

On Sat, Aug 26, 2023 at 2:25 PM Carl Fink <carlf@panix.com> wrote:

> 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).
>
> Thank you.
>
> -Carl Fink
>
>

[toc] | [prev] | [next] | [standalone]


#261242

FromPaul van der Vlis <paul@vandervlis.nl>
Date2023-08-27 15:10 +0200
Message-ID<H7nGF-4LCS-7@gated-at.bofh.it>
In reply to#261208
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

[toc] | [prev] | [next] | [standalone]


#261243

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2023-08-27 18:00 +0200
Message-ID<H7qlb-4N72-9@gated-at.bofh.it>
In reply to#261208
> What's the current recommendation for someone who just wants to create
> a one-off VM to run Debian under Debian?

Last time I needed such a thing I used LXC.


        Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web