CentOS Window too large

Discussions related to using VirtualBox on Windows hosts.
Post Reply
LesD
Posts: 21
Joined: 23. Apr 2013, 10:30

CentOS Window too large

Post by LesD »

I installed an appliance (PIAF-Purple) running under CentOS 6.3

It starts up fine in my Windows 7 host but the console window is too high (too many lines) for my screen and I have to keep scrolling.

I need to shorten it by about 6 lines.

How can I adjust this?

Thanks
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: CentOS Window too large

Post by noteirak »

Change the resolution in the guest.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
LesD
Posts: 21
Joined: 23. Apr 2013, 10:30

Re: CentOS Window too large

Post by LesD »

How do you do that?

I know how to do that in Windows but not in CentOS.

I was not aware that the Console had a resolution to change.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: CentOS Window too large

Post by mpack »

Did you install the guest additions? See Guest Additions chapter of user manual if not. After that simply dragging the window border will change the guest display size.
LesD
Posts: 21
Joined: 23. Apr 2013, 10:30

Re: CentOS Window too large

Post by LesD »

I started to do that but then spotted an option on VB "Switch to Scale mode". That shrinks the window quite small but I can then drag the edge to the max that will fit.

I did not finish the install of guest additions as I do not see any significant benefit in a text based interface.

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

Re: CentOS Window too large

Post by Perryg »

If you are running a text based guest with no X, you need to set the guests framebuffer to the size you want it to be.
LesD
Posts: 21
Joined: 23. Apr 2013, 10:30

Re: CentOS Window too large

Post by LesD »

After some trial and error (breaking the boot in the process) I set vga= in grub.conf to 876 and it is now a confortable size - small window and large characters.

Thank you
Post Reply