User Mode Linux

CptCharis

Well-Known Member
Hello @wizardfromoz

I understood that my friend and shell provide the correct command
but my question is what did i download with your original command?
bcz something download for sure.
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
Yep, needs both, as far as I understand it.

Go to Menu - System - Software Manager and type in virtualbox and you'll see what I mean?

Cheers

Wiz
 

atanere

Well-Known Member
In another thread, I was helping a new user to install VirtualBox in Windows so he could run Linux that way. Your case is a little different since you've just completed installing VirtualBox inside Linux (and you want to run more Linux distros to test them out)... but the steps to create new virtual machines will be about the same. Take a look at this post for a pretty detailed description of how to create the new virtual machines directly from the Linux .iso files. This will save you from needing to burn each .iso to a DVD or USB.

I would give each new virtual machine (each new Linux) at least 20 GB of hard drive space. I usually just give the virtual machines the amount of RAM that VirtualBox suggests... it may not seem like enough, but they have usually run okay, and you definitely need your "host" system (Mint) to not be short of RAM. When you want to get rid of virtual machines, also called "guests," use VirtualBox to remove them, and tell it to also delete all the files so those 20 GB files do not fill up your system. Some virtual machines may go full screen when you run them, but some may be restricted to a smaller window. I'm not sure why... I'm not an expert with VirtualBox. Like anything, there can be problems sometimes... but hopefully Google or others will help find solutions if you have any trouble with it.

Cheers
 

CptCharis

Well-Known Member
Dear guys, dear sir @atanere

I followed your instructions & also I tried some different ways such as increase RAM more than default value and /or HDD space use but in any case when I press the green button "start" my laptop is freezing and follow msg appear

Code:
You have the Auto Capture Keyboard option on
This will cause the virtual Machine to Automatically "X"
I google it and found this :
https://www.virtualbox.org/ticket/8596
but is solved since V. 4.1.12
my version is V. 5.0.40

After searching I found also this:

The option to control the Input options exists in the Virtual Box , it can be found in

Preferences->Input->Keyboard->Keyboard Settings

in the Virtual Machine Manager window.

There you can check or uncheck the option of auto capture as intended and enable it whenever necessary.
But again freezing once Green start arrow button is pressed. (without the capture msg)
Anyway still searching , if you have something let me know pls
Thanks in advance.
 
Last edited:

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Capta just look over your shoulder in the mirror and see if there is a sign on your back saying "Kick Me" ... one of the crew may have placed it there. :D

Looks like my road trip we were taking has been cancelled for the immediate future, so in 24 hours I can expand the size of my partition housing LM 18.3 MATE to accommodate a VM and I'll put virtualbox on it and we can learn together.

Hopefully someone more knowledgeable than I in VMs (virtual machines) will swing by in the meantime.

Cheers

Wiz
 

atanere

Well-Known Member
I'm also running Linux Mint 18.3, and I've just installed VirtualBox from the Synaptic package manager. First off, I did not get a menu entry to launch it, but it worked to run it from the terminal. I'll go get an .iso file to try the install steps for a new virtual machine and be back in a little while.

Cheers
 

atanere

Well-Known Member
This will cause the virtual Machine to Automatically "X"
The notification bubble (small window) you posted above would show you a bit more info if you click on it (not the "X"). The "X" is simply to close the bubble/window. You may have a similar text bubble regarding the auto-capture of the mouse, and you can click on the "X" to close it also. I briefly mentioned these in the instructions (#24) although I called the notification "bubble" a "banner."

OK, I've played a bit now, and a Menu Icon appeared in Accessories on my Start Menu after rebooting my computer (the host computer, not the virtual machine). I installed Manjaro Linux into a virtual machine following the instructions (#6 - #24) that I linked to earlier. The install went fine, except that the default memory of 768 MB was not enough for Manjaro. So I had to start over and give it 1 GB (1024 MB). Also, after installing, it seemed to continue booting on the .iso file (in the "storage" section)... so I shut it down, went back into Settings/Storage and deleted the .iso (right-click on it and delete attachment) and then it booted properly on the installed virtual machine. It all seems to run okay now.

Some items to consider...

1. Let us know what Linux you are trying to install. That may make a difference... some may not work well in VirtualBox.

2. Did you "verify" the .iso file that you downloaded? That was step #4 in the instructions, but that person was using Windows. It is really a good idea to always verify a Linux .iso file to be sure that it is complete and not corrupted. If you install an operating system from a bad download, all kinds of things can be wrong with it (if it even boots at all... which yours is not right now, or so it seems). I don't remember if we've covered this step with you yet or not, so if you have any questions about how to verify the .iso just ask. Linux Mint has the tool built-in that you need to do this, but we need to know which Linux you are trying to install.... including whether 32-bit or 64-bit versions.

3. When first beginning with VirtualBox (steps #7 - #9 of the instructions)... you give the virtual machine a name, then select whether Windows or Linux, and then select a "version" of Linux. These are all on the same screen. The "version" should match what you are installing, or at least be close. The instructions I gave say to use Ubuntu as the version for Mint because Mint is based on Ubuntu. On my install today, I picked Arch Linux as the version because Manjaro is based on Arch. This is a possible source of trouble for you.

4. Freezing? I just want to try to make sure of this situation. Those notification bubbles about "auto capture" of your keyboard and mouse might be a clue to this problem. When a virtual machine is running.... the mouse and keyboard need to respond to commands from BOTH operating systems. This can be confusing, and different computers may handle this situation better than others. I noticed at times that if I moved my mouse into the Manjaro virtual machine "window"... that the mouse cursor would disappear. After installing and everything settling down it seems to work okay now, and the mouse works in both Manjaro and Mint seamlessly. But VirtualBox does provide a kind of fix if this is a problem... it probably shows in the lower right corner of the virtual machine window and says, "Right Ctrl"... meaning the right-hand Control key on the keyboard may help to restore mouse and/or keyboard function. Honestly, I'm not quite sure how it works because I've had good luck with VirtualBox and not too many troubles.

5. I did not go back and re-read this thread, but let's also confirm those 32-bit and 64-bit questions while we're trying to consider if you have a problem or not. If your Linux Mint is 64-bit... you MAY can run a 32-bit virtual machine, but I am not sure. If your Linux Mint is 32-bit, I am almost certain that it will not run a 64-bit virtual machine. Mixing these system specs is just a potential reason that you are having trouble with your install.

A number of things for you to consider, so let us know a bit more and we'll try to help you along. I'll be happy to install the same distros into VirtualBox that you are trying, but we still may have different degrees of success since we're using different computers.

Cheers
 

CptCharis

Well-Known Member
My dear sir @atanere good morning to you too.
Thanks a lot for your kind help

The notification bubble (small window) you posted above would show you a bit more info if you click on it (not the "X"). The "X" is simply to close the bubble/window. You may have a similar text bubble regarding the auto-capture of the mouse, and you can click on the "X" to close it also. I briefly mentioned these in the instructions (#24) although I called the notification "bubble" a "banner."
The issue is that once I can see this banner is already late , I cant use any more my laptop.:)

I installed Manjaro Linux into a virtual machine following the instructions (#6 - #24) that I linked to earlier. The install went fine, except that the default memory of 768 MB was not enough for Manjaro. So I had to start over and give it 1 GB (1024 MB).
I'm trying to Install Anarchy (by the way I run it from USB stick & it is a masterpiece, you have to try it.)
I understood also that default memory is not enough and I increased it up to 2 GB and HDD partition up to 25 GB.

During Anarchy installation I choose in Virtualbox both alternatives, as Arch and as other Linux OS.

Yes .ISO is verified.
I gave the name Anarchy
Both host and virtual OS are 64bit
I have also untick devises like floppies and optical drives to avoid useless process.
Screenshot at 2018-03-21 09-03-12.png
Screenshot at 2018-03-21 09-03-12.png


Screenshot at 2018-03-21 09-05-27.png



and finally this is the virtualbox review

Screenshot at 2018-03-21 09-03-21.png

I will try once again bcz I didnt know what is this Right click button

I think the problem is my machine Bcz my physical RAM is 4 GB.
Assumed that RAM is already occupied of Host OS so no more RAM for Client OS.
I will revert. Soon
Thanks again.
 
Last edited:

wizardfromoz

Super Moderator
Staff member
Gold Supporter
I'm going to work through this fast because I have to cook tea soon, and will explain in more detail later.

Capta:

1.Close out of virtualbox.

2.Go to File Manager (caja) and open it will default to home and delete folder on Virtual stuff

3. Go to Synaptic and mark for complete removal -
a. virtualbox (version is 5.0 something) and
b. virtualbox-qt if it is installed
c. click Apply to remove them

4. Once that is done go to https://www.virtualbox.org/wiki/Linux_Downloads and download the package for 5.2.8, 4th bullet point down, choose the one that says AMD64.

5.Give it a minute or two and when complete go to Downloads and double-click the file (which fires up GDebi - it may warn about something ignore the warning)

When the install is complete, look to see if VB is in your Menu under Accessories. If not, go to Terminal and enter

Code:
virtualbox
and see if it fires up. If it does, the look and feel may be a little different.

Set up again but choose do not install hard disk and navigate to choosing Anarchy, oh and having chosen Linux Other along the way :p

Let us know how you go and if it works we'll clean it up.

It seems there is a conflict between the VB 5.0 series and Linux Kernels in the 4.13 series

This article refers to the bug, but its instructions provide an incomplete result for me.

https://superuser.com/questions/1284705/virtualbox-5-0-40-freezes-on-ubuntu-16-04-lts-64-bit-for-no-clear-reason

... so I have used as described above and I now have the ability to run MX-17 and likely any other Distro, on my setup.

Cheers

Wiz
 

CptCharis

Well-Known Member
That's why you are a @wizardfromoz

Is working my dear friends in arms!!!
probably the problem was the edition.

I can't see Virtual box in GUI , only by terminal.
and the full screen is not really full but this is minors
Thanks again guys.

Time for game !!!!
 

atanere

Well-Known Member
Glad you got it working! I'm a little confused though, so maybe Wizard will explain it all a little better.

I am writing this post from Anarchy in VirtualBox... but I'm still on the older VirtualBox version installed with Synaptic package manager yesterday. I only gave it 1 GB of RAM, and it seems fine with that. I tried to install extra software, and that did not go well, so I did the installation over and just used the basic XFCE desktop with no additional software. I also needed to delete the .iso file in the Settings/Storage area again, or else it wanted to boot in live mode each time.

I'm not too familiar with Arch or any of its offspring, and now I have two in virtual machines. Sounds like a good opportunity for me to play with these and learn a little. Manjaro has been quickly rising on the DistroWatch rankings, and it may soon overtake Mint!

Cheers
 

atanere

Well-Known Member
I can't see Virtual box in GUI , only by terminal.
I had this problem with the Synaptic version too... the GUI menu item appeared in Accessories after rebooting the computer.

I will try once again bcz I didnt know what is this Right click button
It is the right-hand CONTROL KEY on the keyboard, not a right-click. VirtualBox calls this the Host Key, and it is to toggle the auto-capture of the mouse and keyboard, if needed. It can be used as Host key + other keys for other effects too.

and the full screen is not really full
Along the top of the "window" that Anarchy is running in, there are Menu items for VirtualBox... try clicking on the View Menu, and down at the very bottom mine shows "Virtual Screen 1" which opens up to show more display size options. Try a few of these, increasing in display size... you can probably get very close to full screen this way. Then... when you're close to full screen, you can use the "Host key + F" to go totally full screen (Right Ctrl key + F). I think you'll have to toggle out of full screen (Host + F) again if you want to do things in the host system.

Cheers
 

CptCharis

Well-Known Member
Dear @atanere

You are right at all !!!

I found it after rebooting and full screen is exactly as you mention.

I think this VBox is a very nice tool!!!

Lets play guys.

C u around.
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Morning all - I am just about too grab my 2nd coffee in order to approach being human :cool:

Short answer on GUI icon is as follows (this for the OP's 18.3 'Sylvia' MATE, but other Distros will have similar):

1. Go to Menu, right-click, choose edit Menu, and a popup window appears
2. In left pane choose Accessories, then over to the right side and choose + New Item
3. For Name use the name of the app, I just called it VirtualBox
4. Command is simply virtualbox
5. As you finish typing virtualbox the little icon at left should change from a platform on top of a spring (means launcher) to the familiar Virtualbox icon
6. OK changes and exit

You should now have a Menu item for VB, and which you can add to your Panel if you wish.

I will put together a summary of what I have done and why and bring it back here when complete.

Cheers

Wizard
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Not the wrapup I have promised ... yet... but soon.

Meantime, here is a pic from my Linux Mint 18.3 'Sylvia' MATE 64-bit (same as the OP) using the methods above, and featuring his Distro of choice, Anarchy which as you might guess, is Arch-based :D. And it is fullscreen. Only additions so far are Screenshot to Panel, and enlarging my mouse cursor to 48.




Looks wicked.

I'll have heaps more soon.

@CptCharis - Mate couple of questions :

1. Have you established a fullscreen mode yet?
2. When you exit VBox, choose Save State of Machine, then you can resume at any time with changes saved and
3. Being Arch-based, if you wish to use Terminal, it will involve some different commands, for example instead of apt-get, we use things like pacman and yaourt, but a lot is still the same.

Cheers

Wiz
 

CptCharis

Well-Known Member
Good morning to all fellow-suffering :D

@atanere
@wizardfromoz

In case you didn't find it yet. If you wnt to copy paste and/or drag & drop from Host to client & vice versa.

Make sure that your Virtual OS is stopped.
Choose (highlight) the OS that you want to make the change.
Go to setting.
General - Advance & under Share Clipboard & Drag'n'Drop choose from drop list "Bidirectional

Screenshot at 2018-03-22 10-39-12.png


C u around!!!
 


Members online


Latest posts

Top