Installing Z16 in a VM

Okay doing that, but the licence went on for seemingly 50 or so page, with no sign of finishing, so stopped it thinking I'd start again.
But it said install already running which must be finished before second install. Then it finished on cursor, so not sure what is happening now. Can't see anything happening.

I just noticed that Virtual box is already installed, so if no good with VM I'll try that.

Not sure what happened to VMWare so I am using VirtualBox.
I went to install Zorin16.2 into VB using all defaults and I got this..

Failed to open a session for the virtual machine Zorin 16.2.

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Looks like something in the Bios but not sure what..

Did sudo lshw and got a whole bunch of info about the box but not sure if it tells me if it will run a virtual machine.

EDIT:
Enabled Virtual in Bios and now Z16 is running in VB except somehow I set the DVD to be the VB drive not the actual Hard drive so my next job is to try and change that so it resolves on the hard drive.

Whew..

Still not sure how to choose a bootable drive for the VB. Here is what the system admin says..

If a Virtual install gets bungled, it's easier to just delete it and make a new one. Unless you have had it around a while and built stuff on it.

Select "New"
Then set the bootable to be the .iso in whichever directory you are keeping it in. In my lazy case, usually ~/Downloads

Thanks. Yes did a new install in VB and 16.2 install is starting up, just chose install, so we'll see.
Ahh, says it needs 30GB and I have only allocated 12GB.
Can I fix this without having to start at the top ?

EDIT: Enlarged the drive okay then did re-install

EDIT: ON install of Z16 in VB, it gets to the location map them freezes. The right side of the map isn't seen as it is outside the screen frame, so I cannot click okay for the time zone.
I left it overnight in case it corrected but this morning came back to a stuck black screen.

Is it possible to make the VB screen larger. I know there is a ctrl F for full screen however the VB screen still goes outside the right side of the display.

As a summary I think I will delete Z16 in VB and install the lite version to see if that makes any difference.

I personally have always struggled with VirtualBox.

Another you can try:
Gnome-Boxes: I found this the simplest and most straight-forward to use. It worked well.

1 Like

Thank you.
I am trying Z lite basic so will see if that works first.
You see how the screen is out of the frame so hard to hit the Continue if it's not shown. I thought would do it but no.

Well after a lot of time on VB and still not getting too much happiness installing either of Z16's, I am now trying Gnome as you mentioned. I looked at a couple of youtubes and it could be all I need. Really just to stop anyone getting to my LAN if they enter through the website I set up.

I downloaded and installed it however even after trying to start it, it doesn't appear. Not sure whether there is supposed to be an desk or start menu icon or whether it is from the command line every time.

These are the last commands I did.. and the reactions.

At the end I am still at a cursor with no sign of a gnome box.

david@david-HP-Compaq-6000-Pro-MT-PC:~$ sudo apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snapd is already the newest version (2.57.5+20.04).
snapd set to manually installed.
The following package was automatically installed and is no longer required:
xdg-desktop-portal-gtk
Use 'sudo apt autoremove' to remove it.
0 to upgrade, 0 to newly install, 0 to remove and 44 not to upgrade.
david@david-HP-Compaq-6000-Pro-MT-PC:~$ sudo snap install gnome-boxes
2022-11-27T14:05:34+11:00 INFO Waiting for automatic snapd restart...
gnome-boxes 42.0.1-5-ga2f71278db from Ken VanDine installed
david@david-HP-Compaq-6000-Pro-MT-PC:~$ sudo /etc/init.d/gdm3 start start gnome environment
Starting gdm3 (via systemctl): gdm3.service.
david@david-HP-Compaq-6000-Pro-MT-PC:~$

You can install gnome-boxes straight from APT

sudo apt install gnome-boxes

I used to user Vbox all the time, and switched to Gnomebox.
vbox tends to use more resources and needs a beefier machine i've noticed, even seen it be sluggish on my machine and i have a ryzen 7 5700, and 48gb of ram

@Turtle11 i'll check out virt-manager too i like playing around with stuff :rofl:

for gnome boxes its pretty easy, the ui is very basic, and there are not a lot of options/fluff but its easier to use.

1 Like

Yes I don't seem to having too much glee with this VM business.
I think I should delete all the programs I have installed and start again. Too much space has been allocated to each.

What is the best way fro me me to delete the programs and all their files, both gui and terminal?

I will then start again. :slight_smile:

sudo apt remove
or use software center

Thank you. Did Boxes and Gnome Boxes from Software Center but VB wasn't showing so used the command.. But got this although the program is installed and the icon is even on my Taskbar

~$ sudo apt remove VirtualBox
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package VirtualBox
david@david-HP-Compaq-6000-Pro-MT-PC:~$

depending on the version you have it would be
sudo apt remove virtualbox
or
sudo apt remove virtualbox-7.0

to be sure you could run
sudo apt remove virtualbox*

Thank you, yes the last one did it.

I now just need to get rid of the space or partition that gnome boxes has even though it has been deleted, or as far as I know it has been deleted.
The map here shows the..
Outer red is gnome-boxes 32.3 GB then next in is share 32.3GB then next in is .local 32.GB.

Inside blue is Virtual Box 31.2GB

So unless I'm wrong there is around 120GB of drive taken up with programs I no longer have.

What is the better way to delete them please?

Check

flatpak list

snap list

If you find a Flatpak or Snap package for gnome boxes, you can use

flatpak uninstall gnome-boxes

or

snap remove gnome-boxes

This method for Flatpak will not remove the massive dependencies that installing a flatpak yields.
Whenever you install a flatpak, you accept that it will carry a lot of bloat with it.

for any packages for Gnome-Boxes

Run

sudo apt remove --purge gnome-boxes

if you installed it from APT.

Run

sudo apt clean && sudo apt autoremove

Reboot then check disk usage.

Ran them all but results were 'not installed' so I'm not sure what those disk allocations are. It does ask on install what space we need to allocate so maybe tit has created partitions ?

Maybe I misunderstood?
I thought you were saying that gnome-boxes was taking up a lot of disk space.

What could be happening here is even if you uninstall the applications from the system, the Vm's you created will still be there, in your Home directory look for the folders and manually remove them

mine are located in
Home/sean/VirtualBox VMs
Home/sean/.local/share/gnome-boxes

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.