Change Size of Ubuntu Minimal (no gui) in VB

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kotrunga
Posts: 4
Joined: 16. Aug 2017, 21:44

Change Size of Ubuntu Minimal (no gui) in VB

Post by kotrunga »

Hello!

I put Ubuntu 17.04 64bit minimal install on virtual box today. (It wont let me put a link to the .iso b/c I have a new account- if you want it just let me know)

However, I'm running into a problem that I've researched for a while and can't find a solution to.

How can I make it so that the window/terminal is larger than the default? I've done the guest additions thing before when I'm in linux with a GUI to enable different screen sizes, but how do I do that here?

I've tried changing the GRUB_GFXMODE value in /etc/default/grub as well as other things, and nothing is working so far.

Please help! Thank you.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by Perryg »

Without X the guest additions will not work for the video. You would need to adjust the framebuffers to a screen size you can live with. Ubuntu forums/help do have a way to do it.
In essence you edit grub and then compile grub then reboot. The steps are covered in the file telling you what to do.
kotrunga
Posts: 4
Joined: 16. Aug 2017, 21:44

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by kotrunga »

Thanks!

Where is this file that tells me what to do? Also, I've looked through the Ubuntu forums and haven't found anything that has worked. Is there a specific link I should check out?

Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by Perryg »

Edit /etc/default/grub
Then run update-grub

You may need to blacklist vboxvideo to get it to work properly
kotrunga
Posts: 4
Joined: 16. Aug 2017, 21:44

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by kotrunga »

Thank you for the help.

Unfortunately, I tried this and it still didn't work for me. Still not sure what to do.

Thanks
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by scottgus1 »

Virtualbox isn't Ubuntu. Are you sure you're asking in the right place?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by Perryg »

Yes this is not really a VirtualBox issue but the folks at Ubuntu don't seem to have a lot of patience these days. I know for a fact the following works as I use it all the time in various servers that use grub.

Edit /etc/default/grub and add the two lines specified below
sudo vi /etc/default/grub
grub-cli-framebuffer.png
grub-cli-framebuffer.png (3.08 KiB) Viewed 1263 times
then type sudo update-grub and press enter.

Then edit /etc/modprobe.d/blacklist.conf and add vboxvideo to the bottom of the file.

sudo vi /etc/modprobe.d/blacklist.conf
blacklist.png
blacklist.png (3.77 KiB) Viewed 1263 times
Then reboot the guest
kotrunga
Posts: 4
Joined: 16. Aug 2017, 21:44

Re: Change Size of Ubuntu Minimal (no gui) in VB

Post by kotrunga »

Thank you so much! This worked. I think the blacklisting is what did it; I had done the first step before, and that hadn't worked.

Thanks for the patience!
Post Reply