Virtual grilling - Cook a BBQ into VirtualBox
Posted: Fri Nov 13, 2015 12:21 pm
I know, I know...
Here some tips for the adventurous:
1) Make it work:
The kernel 4.0 doesn't play good with VBox. So Cardboard and some of the recent spins still having that kernel will stall when tyrying to launch the X server. So at first boot after install:
- login as root
- install a newer kernel
- reboot
- then do the usual procedure; login as root, adduser, etc...
You may need to disable the respawning login too.
You can keep the kernel static. In that case a kernel 4.1.x LTS might be a good chice. The headers are not needed unless you decide to go with the guest packages bloat. This will pull a damned lot of packages and dependencies to make it happen.
2) Resolution:
If you are ok with the tiny default framebuffer resolution then skip this. If you want it nice and bigger you need to hack a little bit.
2a) Check the available modes:
You can use vbeinfo in the GRUB prompt or install hwinfo and run
Any of these two methods will list all the available resolutions you can use. I typically go with 1280x1024 for my 24" display.
2b) Set the modes:
Do something like this as su
This will try to use the three specified modes in that order with auto as a fallback/last resource.
2c) VGA mode:
If using GRUB2 the gfxmode method above is the recommended one since the old VGA way is currently deprecated, though still works, If the method above doesn't work for your machine or simply you prefer the old way, then do something like this:
It will give you a 1280x1024 resolution. Or for the typical and rather small 1024x768 go:
VGA modes
Enjoy if you can ;)
PS, If running a spin with the X don't forget to apply the Fix.
Anyway, I use BBQ spins in VBox daily and it's not that hard. They work nicely just having a few things into account.We don't support installations in VirtualBox, VMWare, qemu or others.
Here some tips for the adventurous:
1) Make it work:
The kernel 4.0 doesn't play good with VBox. So Cardboard and some of the recent spins still having that kernel will stall when tyrying to launch the X server. So at first boot after install:
- login as root
- install a newer kernel
- reboot
- then do the usual procedure; login as root, adduser, etc...
You may need to disable the respawning login too.
That's all it takes. I typically use a towo kernel, but it's up to you as long as it's a 4.1 or newer. You won't have all the VBox bells and whistles, it will be a barebones thing but fully functional without the need of any of the virtualbox guest packages. You won't have the guest-host clipboard, etc... but you can always use ssh and scp as I do. ssh is already enabled by default in many spins.machinebacon: Please check from a live system that the installed system's /etc/profile.d/ folder only contains bash_completion and no file starting with "zzz" (this is an autostarter script from Debian's live-config which unfortunately gets dropped into the live system via bootscripts -- in the meanwhile I fixed this on newer BBQ versions, don't quite remember which edition you are running)
You can keep the kernel static. In that case a kernel 4.1.x LTS might be a good chice. The headers are not needed unless you decide to go with the guest packages bloat. This will pull a damned lot of packages and dependencies to make it happen.
2) Resolution:
If you are ok with the tiny default framebuffer resolution then skip this. If you want it nice and bigger you need to hack a little bit.
2a) Check the available modes:
You can use vbeinfo in the GRUB prompt or install hwinfo and run
Code: Select all
hwinfo --framebuffer
2b) Set the modes:
Do something like this as su
Code: Select all
nano /etc/default/grub
GRUB_GFXMODE=1280x1024,1024x768,auto
GRUB_GFXPAYLOAD_LINUX=keep
update-grub
reboot
2c) VGA mode:
If using GRUB2 the gfxmode method above is the recommended one since the old VGA way is currently deprecated, though still works, If the method above doesn't work for your machine or simply you prefer the old way, then do something like this:
Code: Select all
nano /etc/default/grub
"GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=795"
update-grub
reboot
Code: Select all
"GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=792"
Enjoy if you can ;)
PS, If running a spin with the X don't forget to apply the Fix.