Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Don't be afraid to experiment. No harm done if you screw it up a few times, you will get use to it.
Don't try to fix things, it take more time than start from scratch.
Don't be afraid to experiment. No harm done if you screw it up a few times, you will get use to it.
Don't try to fix things, it take more time than start from scratch.
Been there - done that, several times by now.
Nowhere does it say I have created "guest operating system".
Irregardless what I am running - I cannot get from whatever it is to "QtCreator".
I keep getting into some kind of "shell"...
I just do not see in any tutorials how to get to the "meat and potatoes" - real application.
My task is NOT to have "Virtual BOX " running without access to application. Useless.
Been there - done that, several times by now.
Nowhere does it say I have created "guest operating system". Irregardless what I am running - I cannot get from whatever it is to "QtCreator". I keep getting into some kind of "shell"...
I just do not see in any tutorials how to get to the "meat and potatoes" - real application.
My task is NOT to have "Virtual BOX " running without access to application. Useless.
You, AGAIN need to read the documentation. You are apparently not understanding what Virtualbox is, despite having many people tell you. You 'build' a new computer in VirtualBox, by allocating empty disk space, a portion of your RAM, and some of your CPU. You attach whatever ISO image or bootable device to it (again, actually following the tutorial leclerc78 provided, among the THOUSANDS of others), and build your system. That's it...your new Virtual computer is ready to run. Boot it up, and use it. You can share drives/network interfaces/etc. Not sure what else you're expecting.
Running Linux? Then why don't you just install/use QTCreator on your existing system?? What's the problem doing that?? And barking orders and making demands such as:
Quote:
show me such tutorial
...then ignoring everything you've been told/asked won't work out well.
I have tried to follow your threads on the subject without much success, but I suspect that you, and those trying to help, are lost in a multi-layered X-Y problem. You do still appear to not grasp what virtualbox actually does for you, but the problem you are trying to solve appears, to me anyway, to be an attempt to allow different users on different OS's or OS instances, to edit the same project files using QT-Creator.
You first asked about sharing home directories on a multi-boot system, from which discussion virtualbox was suggested as one alternative means to the end you wanted. You then opened a thread about implementing virtualbox in which some good advice was provided, but did not lead to a solution because your expectations were not aligned with what virtualbox actually does. Now in this new thread you are asking how to add a guest OS to virtualbox, but your expectation is still focused on sharing access to Qt-Creator projects in a multi-boot system.
If this is more or less correct then you need to step back and try to define as clearly as possible exactly what it is that you are really trying to accomplish. I would suggest that you re-read your previous threads regarding the problem you have in mind to solve, and try to understand the terminology used in the GNU/Linux sphere and not interpret it in terms of your previous non-Linux experience. Most of the advice given seems to be correct for the questions asked, but I suspect there is still a disconnect between what you are asking and the terminology used, and what you are actually trying to accomplish on a Linux platform.
It really just takes time and exposure/effort to learn how to do things on a new and unfamiliar-to-you platform. The best way forward is always to try to define at each step exactly what you are trying to accomplish and avoid becoming lost in the maze!
Meditate on the word "NEW" then click on it.
At the same time open the instruction web page ...
The worst that can happen to you is a Guest that does not work, your Host is intact - that's the beauty of VMs.
If you really do have an ISO file of Ubuntu then it is the correct file to boot to. Use it to install your client.
If you have a live usb then it gets much more difficult. Just download a new iso and build your VM.
Let's back up.
I used "live CD " ISO on USB drive to install my OS.
Perhaps VM ISO and "Just download a new iso and build your VM." is two different ISO's ??
and what do you referring to as "VM" ?
I did not install " Virtual box manager " from ISO .
If that is what you are referring to.
I no longer need that ISO to run that particular OS - it is on my SATA HDD and works just fine..
I am using "VirtualBox manager " software to build "guest" operating system and it apparently needs operating system(?) ISO.
But it wants it on CD or optical drive which I do not have.
I have not found a way to satisfy the ISO requirement via USB .
I am not sure if "no boot device " is related to this issue.
I did managed to install an "extension" software , using "VirtualBox manager " and downloading it from internet.
So my question is - if the OS ISO is needed why cannot I get it same way - download from repository ?
" Just download a new iso and build your VM. "
New ISO of what ?
Why am I building "VirtualBox manager" ? - if that is your reference.
My "virtualBOx manager " is installed and running
it is the "guest" operating system I am having issues with.
An iso we nomrally consider it to be a single file with the last extension being .iso.
Once you copy that by some creator like dd or rufus or liveusbcreator then it is no longer an iso file.
VM = Virtual Machine.
The boot media can be any of few resourced for a Virtual Machine.
Normally one boots to an optical drive or an ISO file. (selected in the manager or wizard)
After they install it they boot to the virtual hard drive. That was allocated when you created the client. You have to manually make the entries if no wizard exists to fill in entries.
Some folks have pointed to tutorials. The one mentioned I looked at seemed to go step by step.
Maybe we can find a new tutorial for you?
VirtualBox is a program. You install/installed it.
Extensions only help you once you have created and installed a client under the Virtuabox program.
So... maybe we can start all over?
Did you use the manager to create a client virtual computer?
An iso we nomrally consider it to be a single file with the last extension being .iso.
Once you copy that by some creator like dd or rufus or liveusbcreator then it is not longer an iso file.
VM = Virtual Machine.
The boot media can be any of few resourced for a Virtual Machine.
Normally one boots to an optical drive or an ISO file. (selected in the manager or wizard)
After they install it they boot to the virtual hard drive. That was allocated when you created the client. You have to manually make the entries if no wizard exists to fill in entries.
Some folks have pointed to tutorials. The one mentioned I looked at seemed to go step by step.
Maybe we can find a new tutorial for you?
VirtualBox is a program. You install/installed it.
Extensions only help you once you have created and installed a client under the Virtuabox program.
So... maybe we can start all over? I am game, lets do that.
Did you use the manager to create a client virtual computer?
1. I downloaded VirtualBox manager software from this site https://www.virtualbox.org/wiki/Downloads
2. I installed VirtualBox manager on one of mine operating system - Ubuntu 20
3. I executed VirtualBox manager
4. In VirtualBox manager I run "New"....
Up to this point there is NO ISO involved anywhere , no "guest operating " system nor client.
If the above is missing something or the terminology used is not as expected - let's talk about that before we continue.
1. I downloaded VirtualBox manager software from this site https://www.virtualbox.org/wiki/Downloads
2. I installed VirtualBox manager on one of mine operating system - Ubuntu 20
3. I executed VirtualBox manager
4. In VirtualBox manager I run "New"....
Up to this point there is NO ISO involved anywhere , no "guest operating " system nor client.
If the above is missing something or the terminology used is not as expected - let's talk about that before we continue.
almost there. I will just add "step" to your numbering above for my reply.
step 1 = correct
step 2 = correct
step 3 = correct
step 4 = correct = this is where you build your new Virtual computer. you followed the "New" wizard? if not:
Press "New". follow the wizard.
choose a computer type, 32 or 64 bit, and a base system type - windows, Linux, BSD etc. there should be some system types provided- ubuntu, debian, etc to choose from if you dont know.
give it some ram - usually by a slider adjustment.
give it some CPU cycles or a core or 2, depending on your hardware.
create a virtual harddisk - it will occupy some of your harddrive space, so make sure you have sufficient empty partition space - NOT UNALLOCATED HARDDRIVE space.
It will then create a blank slate for your new virtual computer, the same as if you bought all the parts at a shop and assembled them yourself. a computer without an operating system.
I see you didnt skimp out on your new purchase, it comes with an optical drive (virtual of course)!
step 5: (the missing step) highlight or right mouse click the new virtual computer you have just created.
choose=> settings (top of the virtual box manager or mouse menu)
choose => storage
here you will find and entry that says "storage devices". there will be several entries here, one of which will be a symbol that represents a optical disk with "empty" beside it.
click on the optical disk. to the right a window will appear that will give you the ability to attach(insert) your downloaded operating system .iso file to the "virtual optical drive" just as you would a real cd/DVD.
I have a real optical drive so it shows up on my system as "Controller:IDE".
you do have a downloaded OS.iso file from ubuntu / mint / fedora... etc somewhere on your Ubuntu 20 computer?
the one you made your ubuntu20 install boot usb from?
now you can press "Start", and if you have done everything correctly, your virtual computer will now boot from your .iso.
If it is a Live disk, you will now have to install it inside the virtual computer as if it was a real computer.
all of the above is freely available on line.
google search : create virtualbox machine from iso
returns: About 2,810 results (0.26 seconds)
Last edited by Benmc; 02-27-2021 at 03:41 AM.
Reason: poor spelling
Up to this point there is NO ISO involved anywhere , no "guest operating " system nor client.
Installing an operating system within VirtualBox is its entire purpose. In post 2, you were given a link to the Oracle site with instructions on using VirtualBox. In post 3, you indicated you had already seen/used it but from your further posts, it appears that if you did, you stopped at 6.8, Virtual Machine added. You need an iso of some operating system on the Host OS (Ubuntu), OR you need a DVD with an OS installer on it. Also possible to boot from a usb but booting from an iso or DVD is simpler.
The instructions above by Benmec are fairly detailed but if you can't follow them, do an online search as suggested. There are many tutorials on installing and using VirtualBox.
Also, from above posts, it doesn't seem as though you understand the purpose of VirtualBox which others have tried to explain above. You indicate in your initial post that you have installed "extensions". That's useless until you install some operating system within Virtualbox. Might to an online search for what is virtualbox or virtualbox purpose. The point at which you are now, you have the software installed but it is not being used.
The question astrogeek asked is still not cleared. Is this about allowing multiple users to access and work on some code? For this purpose there are version control systems, no need to re-invent bicycle.
And why downloading VirtualBox from Oracle? I'm sure Ubuntu has it in their repository. An user who does not know how to install software for his/her distro has quite a bit to learn, messing with version control and virtual machines may be slightly over the head ... or what?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.