How to set up Virtualbox 1366x768 resolution for a Linux guest? - linux

I have been trying maybe weeks now to figure out how to configure VirtualBox to have 1366x768 resolution on a linux guest, which is on a windows 8.1 host.
My configuration:
Windows 8.1 as host
Linuxmint 17.1 as guest (tried ubuntu and debian too but no luck)
Virtualbox 4.3.26 and its extension pack
Laptop is powerful with 16GB ram and 4GB Nvdia
My problem is that it doesn't matter what I used, nothing worked.
Please do not post the answers on most known websites, I tried them already.

Once your VM is started, you need to run the VBox Linux Guest Additions.
First try to run it from the VirtualBox window's menu:
Devices >> Insert guest Additions CD image...
and follow the instructions.
If that fails, open a terminal and go to the directory where you CD reader is mounted (/run/media/ on Fedora or /media/ on Ubuntu for example).
Then type command sudo ./VBoxLinuxAdditions.run
Complete instructions can be found on the VirtualBox user manual
Once Guest Additions are installed, reboot your virtual machine. You should be able to resize your screen to your heart's content.

I installed the new VirtualBox 5.0.0_BETA2 and it solved my all problems. Great product is getting ready! Cant wait the latest release. more than a PERFECT software. Now you can remove top bar and/or bottom bar easily. Show what you need.
If you are having problem like me with 1366x768 I recommend you to install latest versin of VB even if it is Beta!

Related

CentOS "Kernel configuration is invalid" error when building Guest Additions

I've installed CentOS through VirtualBox on my Windows 10 machine. I know that installing guest additions (devices -> Insert Guest Additions CD image) will install guest additions, but when building the guest additions I get the following error:
ERROR: Kernel configuration is invalid. include/generated/autoconfig.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it
I've navigated to the /usr/src/ directory and executed the recommended commands, but I get:
make *** No rule to make target 'oldconfig'. Stop.
Not sure where to go from here.
I couldn't make this work, but do hear me out for a work around.
RHEL made a release of 7.6 on 30th October, 2018 which messed the Guest Additions on Virtual Box. Check this link for release schedules
With this screwed up Guest Additions I faced multiple troubles of:
Mouse right click not working on apps opened inside virtual box.
Mouse completely stopping to work after sometime.
The only vital solution was to upgrade to release 7.5 (I had also tried upgrading to VirtualBox 6.0 hoping the Guest Addition might compile on the latest kernel)
The steps I followed to upgrade from this blog link - Digitolle
Hope this helps.

Black Console after automated Debian UEFI install

I try to build a reproducible automated build environment based on Debian 8.1 Jessie.
I created a boot iso image based on a netinstall image and put a preseed.cfg file in int for automatic installation.
I managed to get it bootable with BIOS and UEFI and can install a KDE Developer Debian in VMWare Workstation 11 fully automated.
I have also a server iso image to install a debian Server with Jenkins, both with BIOS and UEFI Boot.
But after the installation, the Version with UEFI Boot shows a black Screen when started.
I can blindly log in, start the gui with "startx" and see my installed xfce desktop. When i quit xfce the console is usable and visible.
I tried suggested bootparameters "nomodeset" and "vga=Linux" that i found with google to no avail.
I also tried to debug the boot prozess, to find out which command leads to a blank screen, but i did not find the right place to delay the processes at bootup so i can see when the messages dissapear (quiet bootparameter was removed :-)
I also tried to reset the console to no avail.
Can anybode point me to a tool that does the same "switching" like X so the console is useable?
Can anybody give me some hints how to debug the bootprocess to find out which command is causing this behaviour?
I dont want to install X because this should be a headless server system later.
I managed to get my system to boot using the kernel command line modprobe.blacklist=vmwgfx, or placing 'blacklist vmwgfx' in /etc/modprobe.d/*.conf
I assume it is some bug in the vmwgfx module, however as this workaround works for me I have no immediate need to investigate further.

Installing Ubuntu on Oracle VM Virtual Box: Failed to open the optical disk file

I need to install Ubuntu 64-bit on Windows 7 64-bit using Oracle VM Virtual Box.
I downloaded Ubuntu Desktop iso file, opened the settings of VM and selected the disk image of Ubuntu.
After this the following error message appears. How to solve this issue?
UPDATE: I tried both 34-bit and 64-bit Ubunto. Both fail.
Either your ISO is broken or you selected the wrong OS when creating the virtual machine. Try to redownload the file from the Ubuntu home page and mount it again.
You can follow the steps from here. Eventhough its for Ubuntu 14.04, the steps will not change.

how to install linux OS from iso

Two questions, first question is, I want to start using Linux (the Lubuntu distro) as my operating system. I currently have Windows 7 but I don't want to dual boot or run Lubuntu in a virtual machine (which is what I've been doing).. I want to just uninstall Windows 7 and make Lubuntu my OS. Would I be able to do that with the Lubuntu ISO image file that the developers have on their website?
Second question is, I have a Windows 7 CD (which I used to upgrade from Windows Vista to 7). Once I make Lubuntu my only OS, am I able to switch back to Windows 7 with that CD? Do I just run the installation from the Windows 7 CD?
First question; Yes this is possible, you'll want to burn the ISO to a USB stick, then boot from your USB stick. Lubuntu will have an easy installation wizard from the live USB.
Here's a great guide for it.
Second question; You will not be able to do it directly with that CD, as having Vista as the main OS is a prerequisite for that CD to work. If you have a Vista installation CD laying around, then you can install that first, then do the Win7 upgrade.
I'll answer for you second question. You can do it.
But I not perfectly understood your first question. Would you like download an .iso file and install system from it?
P. S. Sorry for my English
There is no option of uninstalling windows.
Your best option, if you don't want to use windows anymore is to backup all your data and format the drive. The formating can be done via the ubuntu installer.
Steps:
1. backup all your data from the drive(partition) you will be formating
burn the iso to a cd/dvd
insert the cd/dvd into the cd/dvd drive and restart your PC
select boot from cd/dvd (by default the cd booting is on, but you may have to enable it in bios)
install ubuntu(the installation guide will guide you through the process)
enjoy Ubuntu
PS: you may want to consider intstalling ubuntu on another partition, this will enable you to choose the OS when you boot your PC

Installing Virtual PC in Fedora

I currently use a Windows 7 Home Basic. I need to run a certain application, which is, as of now not supported, i.e. compatible with/by W7HB. I tried downloading Virtual PC with XP mode, which does not support W7HB. Hence, I have installed Fedora as a dual boot, as there exists a separate edition of the application for Linux. As I am new to Linux CLI, I would like to install a version of XP in Fedora, i.e. via Virtual XP, assuming it supports. However, I am not able to find any suitable article for the same. Any suggestions...???
The easiest way to do this is to use VirtualBox.
There are 2 options:
run W7HB as the 'host' and install VirtualBox.Then install a guest operating system such as Fedora or WXP inside virtualbox.
OR
run Fedora as the host and install VirtualBox. Then install a guest operating system such as W7HB or WXP.
Be warned that if you install Windows in any form in a virtual machine you will need a Windows installation key. This may require a phone call to Windows support.
There are other solutions - VMWare, KVM, ... but IMHO VirtualBox is the simplest

Resources