I have a Virtualbox based Virtual Machine (VM) where the guest is 'Oracle Enterprise Linux', the host is 'Windows 8.1 Professional'. The Linux guest does not have X Windows (Gnome, etc...) installed. Please see the inline attachment, I think this will help you understand what I'm wanting to do and am asking below. Notice how the Virtualbox software window will expand the entire width/height of my monitor if I maximize the window.... Even if I maximize the Virtualbox window, the 'Linux VM' portion of the winodow does not expand along with it. How can I somehow get the Linux VM portion of the window to be a greater width/height without installing X windows on this guest VM?
Thank you in advance
Expanding width\height of VM without X installed?
-
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: Expanding width\height of VM without X installed?
If the guest is running in text mode, and the guest OS doesn't let you change display resolutions, then the only option VirtualBox can offer you is scale mode (View | Switch to scale mode while the VM is running).
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Expanding width\height of VM without X installed?
Goggle "vga=791"
What you are wanting requires that you set the framebuffers at boot time. Usually in gurb/grub2, by adding a definition to the boot line.
What you are wanting requires that you set the framebuffers at boot time. Usually in gurb/grub2, by adding a definition to the boot line.
Re: Expanding width\height of VM without X installed?
I ended up seeing this recommendation based on the Google search you recommended at http://pierre.baudu.in/other/grub.vga.modes.htmlPerryg wrote:Goggle "vga=791"
What you are wanting requires that you set the framebuffers at boot time. Usually in gurb/grub2, by adding a definition to the boot line.
I went to the menu.lst file located at /boot/grub on my guest VM, looked at the contents of this file with the vi editor and see the contents below.
The vga= syntax doesn't look to be located within this file. I'm still researching based on your recommendation.
Re: Expanding width\height of VM without X installed?
Thank you for this feedback. I will end up using this solution if this guest OS doesn't support the resolution change that perryg is suggesting. I was able to use the 'Switch to Scale' option as you suggested. It definitely is better then what I had, not the preferred solution since the resolution doesn't get better, it only increases the font size of everything on the screen.mpack wrote:If the guest is running in text mode, and the guest OS doesn't let you change display resolutions, then the only option VirtualBox can offer you is scale mode (View | Switch to scale mode while the VM is running).
After getting into 'Switch to Scale' mode, how do you get back out of it... nevermind see the solution to this new at: http://stackoverflow.com/questions/1071 ... virtualbox
Last edited by gibbsw on 29. Apr 2015, 17:25, edited 2 times in total.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Expanding width\height of VM without X installed?
That's because you have to add it. Find the line that resembles the following and add the proper value I have indicated in red.The vga= syntax doesn't look to be located within this file
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda7 ro vga=791
Re: Expanding width\height of VM without X installed?
Thank you perryg. Your suggestion took effect after I restarted the guest VM. On Oracle Enterprise Linux I just needed to add vga=791 right before the "initrd" syntax in the /boot/grub/grub.conf file. Screenshot of working file is inline below for anyone else trying to do this.
mpack: Thank you also for your feedback, this will also come in use, I wasn't aware that this feature existed.