LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-26-2021, 11:58 AM   #1
jan128
Member
 
Registered: Nov 2020
Posts: 201

Rep: Reputation: Disabled
how to add "guest" OS ?


I have this running on one of the multi boot operating system.

VirtualBox Graphical User Interface Version 6.1.16_Ubuntu r140961

Somehow I managed to add "extension" - download from Internet , however I cannot figure out how to add "guest OS" using the above.

None of the tutorials I have read so far are very intuitive.
Actually quite outdated.

Even not sure if I can use my USB ISO with Ubuntu OS - no optical disks here.

Cheers
 
Old 02-26-2021, 12:28 PM   #2
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
Follow this one
https://docs.oracle.com/cd/E26217_01...create-vm.html

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.
 
Old 02-26-2021, 12:43 PM   #3
jan128
Member
 
Registered: Nov 2020
Posts: 201

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by leclerc78 View Post
Follow this one
https://docs.oracle.com/cd/E26217_01...create-vm.html

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.

show me such tutorial
 
Old 02-26-2021, 12:57 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,745

Rep: Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925
Basically virtualbox is an emulator for actual physical hardware. Just like a physical system you need to install an operating system.

In addition VB is like having a network of computers on the same computer. To access other computers resources you need to create a network share.

When the guest is installed and running it will look like the real thing with a desktop or whatever options we're selected during the install process.

The optical drive of a guest by default is a virtual device. All you need to do is "insert" the ISO file into the drive and start the VM.
 
2 members found this post helpful.
Old 02-26-2021, 01:07 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jan128 View Post
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.
Wow, this seems familiar:
https://www.linuxquestions.org/quest...ox-4175691165/
Quote:
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.
 
2 members found this post helpful.
Old 02-26-2021, 01:20 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
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!

Hope this helps!
 
3 members found this post helpful.
Old 02-26-2021, 04:34 PM   #7
leclerc78
Member
 
Registered: Dec 2020
Posts: 169

Rep: Reputation: Disabled
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.
 
Old 02-26-2021, 07:16 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
"USB ISO with Ubuntu OS "

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.
 
Old 02-26-2021, 10:14 PM   #9
jan128
Member
 
Registered: Nov 2020
Posts: 201

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
"USB ISO with Ubuntu OS "

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.
 
Old 02-26-2021, 10:30 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
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?

Last edited by jefro; 02-27-2021 at 02:37 PM.
 
Old 02-27-2021, 12:06 AM   #11
jan128
Member
 
Registered: Nov 2020
Posts: 201

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
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.
 
Old 02-27-2021, 03:09 AM   #12
Benmc
Member
 
Registered: Jul 2020
Posts: 32

Rep: Reputation: Disabled
Quote:
Originally Posted by jan128 View Post
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
 
Old 02-27-2021, 06:14 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,537

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
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.

Last edited by yancek; 02-27-2021 at 06:50 AM.
 
Old 02-27-2021, 06:25 AM   #14
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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?
 
1 members found this post helpful.
Old 02-27-2021, 06:26 AM   #15
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by yancek View Post
There are many tutorials on installing and using VirtualBox.
Even with screenshots!

On the Oracle page, the ISO file appears in figure 6.10.

Last edited by berndbausch; 02-27-2021 at 06:27 AM.
 
  


Reply

Tags
virtual machine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I get this error on shutdown: "libvirt-guest.sh: Running guest on default URI: no running guests" linustalman Debian 18 02-22-2017 05:13 AM
VirtualBox: How to add Guest Additions ISO from guest machine Don_Nadie Linux - Virtualization and Cloud 15 01-20-2017 08:42 AM
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 03:06 AM
smb.conf file - "map to guest / guest ok = yes" query. uncle-c Linux - Server 1 09-16-2009 09:44 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration