How do I maximize by Linux Window in VB?

Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
I am running Ubuntu Linux (just to be trying it) in Virtual Box. Does anyone know how I can make my Ubuntu virtual machine actually take up the FULL SCREEN instead of a small square of the screen.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You have to install the guest additions to install vid drivers. Boot up the VM and when your desktop is loaded, go to Devices > "Install Guest Additions...". Once that is done, you will notice that the additions installers will be mounted at /media/VBOX...(I can't remember the full name but it can't be hard to find as there shouldn't be much in /media if anything). Open up a terminal and type the following:
Code:
sudo /media/VBOX<whatever the rest is>/VBoxLinuxAdditions-x86.bin
It might be called VBoxLinuxAdditions-x86.run but I'm not sure.

Once the additions are installed, reboot your VM and away you go. As an aside, you should always install the additions. It gives you some other features like shared folder support and pointer integration (so you don't have to click in the VM just to use it).
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
When you say the "media" folder, do you mean in the VM or in Mac OS X? I can't find it in either.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
In your Ubuntu VM. To correct my previous post, the image with the additions isn't mounted to /media/VBOX<and the rest>. Instead, it is mounted to /media/cdrom0. I know this as I just installed the additions in my new Ubuntu 9.10 VM.
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
Sorry, I can't find it. Will you take me through this one step at a time?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
No problem.

1. Once your Ubuntu VM is booted, go to Devices > Install Guest Additions. That will mount the installers and you should notice a CD icon on your desktop called something along the lines of "VBOXADDITIONS_<version number>". <version number> = the version number of VB.
2. Open up a Terminal window (Menu > Accessories > Terminal) and type the following:
Code:
cd /media/cdrom0/
sudo ./VBOXLinuxAdditions-x86.run
Enter your password, let it install the additions and then do as they ask by rebooting your VM.

I know this works - I did it last night and I just booted up my machine to get all the names right.
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
I tried and it says "No such directory found".
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
/media/cdrom0 should be there. What are the contents of your /media/ directory?
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
Sorry to be making this so difficult, but I see no media directory. I tried going to it. Not there. A search revealed nothing.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Trust me, you have one. Are you sure you're looking in the root directory? In other words, are you sure you're looking in /?
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
Ah! There we go.

I see "cdrom"
"cdrom0"
"floppy"
"floppy0"
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
As long as the vbox guest additions are mounted, you should see all the installers in cdrom0.
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
Alright. I tried opening it and it wouldn't do much. Should I try the Terminal again?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You have to execute the additions from the command line. So yes, you need to open up a terminal. Follow the instructions in post #6.
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
When I enter my passoword, it then said "command not found".
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Did you try to execute the guest additions from the /media/cdrom0 directory? You can't execute from any old directory. Either cd into the directory and execute from there or execute them using the whole path. In other words, you can be in any directory and type /media/cdrom0/<name of additions>.

One thing to note - there are different additions for 32-bit and 64-bit Linux guests. Make sure to execute the proper ones. If you have a 32-bit Ubuntu guest, execute the 32-bit ones. The same thing goes for 64-bit guests - execute the 64-bit additions installer if your guest is a 64-bit guest.
 
OP
iPod Nano
Joined
May 15, 2009
Messages
1,096
Reaction score
8
Points
38
Your Mac's Specs
White MacBook. iLife '09. iWork '09. Mac OS X 10.6
I put in the whole path. I don't know what version I've got. How could I find out?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top