Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Can't install Debian Stretch in VirtualBox
Can't install Debian Stretch in VirtualBox
Someone suggested I try changing a copy of Debian 8 Stable VB guest to testing. I changed the repos to testing, updated everything then the guest would no longer boot. Just end up with a black screen with a cursor. I then downloaded the Debian Stretch daily build, installed it and after a restart ended up with the same result. Any ideas why 'Stretch' won't run as a guest in VitualBox?
TIA.
TIA.
Those that can, do. Those that can't, tell us how to.
Re: Can't install Debian Stretch in VirtualBox
Hi,
I ran into the same problem (installing debian strech in virtual box / host: win7) today, but was able to resolve it by installing a couple of additional packages in the guest system.
- start the virtual machine
- once you're seeing the blank screeen with the (flashing) underscore (_) change to a terminal by using CTRL + ALT + F2 (or one of the other F keys) (a terminal login should be displayed after using this combination) (alternatively one may boot the recovery mode which does not start any X11 instance but provides a terminal)
- install (in the guest system) dkms
- install (in the guest system) the linux header package for the installed kernel (e.g. linux-headers-3.16.0-4-686-pae) - if not yet installed
- install (in the guest system) virtualbox-guest-dkms
- restart the guest system
Afterwards you should see the login screen
I ran into the same problem (installing debian strech in virtual box / host: win7) today, but was able to resolve it by installing a couple of additional packages in the guest system.
- start the virtual machine
- once you're seeing the blank screeen with the (flashing) underscore (_) change to a terminal by using CTRL + ALT + F2 (or one of the other F keys) (a terminal login should be displayed after using this combination) (alternatively one may boot the recovery mode which does not start any X11 instance but provides a terminal)
- install (in the guest system) dkms
- install (in the guest system) the linux header package for the installed kernel (e.g. linux-headers-3.16.0-4-686-pae) - if not yet installed
- install (in the guest system) virtualbox-guest-dkms
- restart the guest system
Afterwards you should see the login screen
Last edited by morks on 2015-06-11 08:08, edited 4 times in total.
- kalle123
- Posts: 352
- Joined: 2015-03-21 11:17
- Location: Rhineland - Germany
- Has thanked: 4 times
- Been thanked: 12 times
Re: Can't install Debian Stretch in VirtualBox
What host? You installed those 3 packages in host or guest?morks wrote:Hi,
I ran into the same problem today, but was able to resolve it by installing a couple of additional packages.
- install dkms
- install the linux header package for your kernel (e.g. linux-headers-3.16.0-4-686-pae) - if not yet installed
- install virtualbox-guest-dkms
- restart
Afterwards you should see the login screen
br
Re: Can't install Debian Stretch in VirtualBox
host: Win7kalle123 wrote:
What host? You installed those 3 packages in host or guest?
br
install these packages in the guest system (Debian Stretch)
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Can't install Debian Stretch in VirtualBox
If you had the same problem, a blank screen with a flashing cursor, how did you manage to install anything? Did you manage to switch to another virtual terminal and get a login screen on the CLI?
MX Linux packager and developer
Re: Can't install Debian Stretch in VirtualBox
I think he means to say that he installed dkms, headers, vbox-guest-dkms, and virtualbox-guest-dkms into the host;morks wrote:I ran into the same problem (installing debian strech in virtual box / host: win7) today, but was able to resolve it by installing a couple of additional packages in the guest system.
- install dkms
- install the linux header package for your kernel (e.g. linux-headers-3.16.0-4-686-pae) - if not yet installed
- install virtualbox-guest-dkms
- restart
Afterwards you should see the login screen
since, all this has to be installed in the host for use by the guest.
MX18: Lenovo T430: Intel Ivy Bridge i5-3320M, 8 GB RAM, 4.19.0-1-amd64, 119 GB SSD
- kalle123
- Posts: 352
- Joined: 2015-03-21 11:17
- Location: Rhineland - Germany
- Has thanked: 4 times
- Been thanked: 12 times
Re: Can't install Debian Stretch in VirtualBox
morks wrote: host: Win7
install these packages in the guest system (Debian Stretch)
Richard wrote: I think he means to say that he installed dkms, headers, vbox-guest-dkms, and virtualbox-guest-dkms into the host;
since, all this has to be installed in the host for use by the guest.
Re: Can't install Debian Stretch in VirtualBox
once the blank screen with the flashing cursor (in my case it was an underscore) is displayed I was able to change to a terminal by pressing CTRL + ALT + F2. Alternatively one can also boot into the recovery mode.stevepusser wrote:If you had the same problem, a blank screen with a flashing cursor, how did you manage to install anything? Did you manage to switch to another virtual terminal and get a login screen on the CLI?
Nope, all the packages from my second post needs to be installed in the guest system (as my host is a Win7 machine, deb packages cannot be installed there).Richard wrote: I think he means to say that he installed dkms, headers, vbox-guest-dkms, and virtualbox-guest-dkms into the host;
since, all this has to be installed in the host for use by the guest.
btw. I try to keep the steps in the second post up to date...
Re: Can't install Debian Stretch in VirtualBox
I've alse installed Stretch in Oracle VM VirtualBox 5.0.8 and the screen in blinking asking for login.
When I put the login name and password (is not easy: it's blinking) goes to terminal, not to graphical interface.
When I try
#apt-get install dkms
the answer is can't access to repo
What can I try?
When I put the login name and password (is not easy: it's blinking) goes to terminal, not to graphical interface.
When I try
#apt-get install dkms
the answer is can't access to repo
What can I try?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Can't install Debian Stretch in VirtualBox
What desktop environment did you pick at install? GNOME 3 is the default, and it requires 3D accelerated graphics in the guest, which A) have to be enabled in the machine's settings, and B) require the guest additions be compiled and installed in the guest after the install. Even then, the 3D is limited.
What happens if you pick a less demanding desktop, such as xfce4 or lxde?
About the repo error, you can try "apt-get update", to build a package database. If that throws errors, you may not have a net connection in the guest, or something is wrong with /etc/apt/sources.list (see its contents with cat /etc/apt/sources.list)
What happens if you pick a less demanding desktop, such as xfce4 or lxde?
About the repo error, you can try "apt-get update", to build a package database. If that throws errors, you may not have a net connection in the guest, or something is wrong with /etc/apt/sources.list (see its contents with cat /etc/apt/sources.list)
MX Linux packager and developer
-
- Posts: 42
- Joined: 2012-07-11 20:38
- Location: India
Re: Can't install Debian Stretch in VirtualBox
What worked for me was switching from gdm to lightdm. The gdm of stretch (at least on testing) seems to have some disagreement with virtualbox. Hold down the shift key right from the bios screen, then boot into recovery mode, then install lightdm using apt-get, and finally choose lightdm in the configuration screen that follows.