Latest Debian11 don't boot, installed via Vagrant image 'generic/debian11'

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JohnDoe42
Posts: 2
Joined: 5. Nov 2019, 03:12

Latest Debian11 don't boot, installed via Vagrant image 'generic/debian11'

Post by JohnDoe42 »

Hi,

I use this Vagrantfile to create a new VM:

Code: Select all

Vagrant.configure("2") do |config|
  config.vm.box = "generic/debian11"
  config.disksize.size = '1024GB'
  config.vm.network "private_network", ip: "172.16.1.12"
  config.vm.synced_folder "/mnt/foobar", "/vm_share"
  config.vm.provider "virtualbox" do |v|
    v.gui = true
    v.memory = "8192"
    v.cpus = 4
  end
end

Code: Select all

$ vagrant box update
==> default: Checking for updates to 'generic/debian11'
    default: Latest installed version: 4.2.16
    default: Version constraints: 
    default: Provider: virtualbox
==> default: Box 'generic/debian11' (v4.2.16) is running the latest version.

Code: Select all

vagrant box add --name debian11 debian-11-amd64_virtualbox.box --force; vagrant up; vagrant ssh
Thu May  4 07:40:25 PM CEST 2023
==> default: VM not created. Moving on...
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'debian11' (v0) for provider: 
    box: Unpacking necessary files from: file:///mnt/pra/debian-box/debian11/debian-11-amd64_virtualbox.box
==> box: Successfully added box 'debian11' (v0) for 'virtualbox'!
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'generic/debian11'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'generic/debian11' version '4.2.16' is up to date...
==> default: Setting the name of the VM: debian11_default_1683222136358_35462
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2200 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Resized disk: old 131072 MB, req 1048576 MB, new 1048576 MB
==> default: You may need to resize the filesystem from within the guest.
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
Then in GUI, I get a stuck VM early when booting, with a white cursor blinking.

The oldest build was running as a charm with exactly the same config, before I ran 'vagrant box update'

Not allowed to post images.

Anyone knows what can I do?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Latest Debian11 don't boot, installed via Vagrant image 'generic/debian11'

Post by scottgus1 »

JohnDoe42 wrote:Not allowed to post images.
Yes you are. Pictures can be posted using the forum's Upload Attachment tab on the first day first post.
Image
JohnDoe42 wrote:I use this Vagrantfile
We don't support Vagrant-influenced Virtualbox here. Vagrant handles that support.

However, if you can open Virtualbox directly, make a fresh standalone VM yourself, and demonstrate the same problem, then we can help.
JohnDoe42
Posts: 2
Joined: 5. Nov 2019, 03:12

Re: Latest Debian11 don't boot, installed via Vagrant image 'generic/debian11'

Post by JohnDoe42 »

Post locked, can't edit.

Image
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Latest Debian11 don't boot, installed via Vagrant image 'generic/debian11'

Post by scottgus1 »

JohnDoe42 wrote:Post locked, can't edit.
Very true. Edits don't show in the emails.

IMG tags to 3rd-party websites don't show either. No mention of using IMG tags or 3rd-party websites was instructed. Please follow instructions to get help. Crop to the pertinent part and resize if the picture is too big.
Post Reply