Issues Installing Debian 9 on Virtual Box

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sethcstenzel
Posts: 4
Joined: 27. Sep 2019, 17:04

Issues Installing Debian 9 on Virtual Box

Post by sethcstenzel »

Environment:

Version 6.1.6 r137129 (Qt5.6.2)
Windows 10 Pro
Debian 9
debian-9.12.0-amd64-netinst

Problem: Unable to Install Debian 9 correctly.

I was unable to install Debian 9 on Virtualbox. Install kept failing and I was unsure why. I will attempt to get a screenshot, but really I'm just reporting this as I've already found a workaround that is fine for me.
When using the automated partitioning utility with Debian 9 the utility will over partition or see more disk than is available. This causes issues down the line, I'm not sure how exactly if it tries to write to swap that is not there or what. Looking around I can see others have had issues with installing db9 as well. For example, if I create a VHD with 32GB the db9 installer sees a disk with 35gb available. I'm assuming this causes over partition and issues down the road. The installer will fail.

My solution is simply to under partition. So I manually configure the ext4 partition and swap keeping it under the amount of VHD space I know I have. This appears to allow the installation to complete correctly.

I did a general search and didn't see this when I was having the issue, so I figured I'd make a post and if it is a duplicate and admin can do whatever with it. I would imagine since this doesn't happen with any other distro's I'm using this is an issue with DB9
Attachments
2020-05-05_12-33-22.png
2020-05-05_12-33-22.png (75.4 KiB) Viewed 877 times
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Issues Installing Debian 9 on Virtual Box

Post by Martin »

It's just a display issue in Debian. it seems that Debian is showing the size in 1000 bytes calculation not 1024.
Therefore 84 GiB = 90,2 GB
sethcstenzel
Posts: 4
Joined: 27. Sep 2019, 17:04

Re: Issues Installing Debian 9 on Virtual Box

Post by sethcstenzel »

Martin wrote:It's just a display issue in Debian. it seems that Debian is showing the size in 1000 bytes calculation, not 1024.
Therefore 84 GiB = 90,2 GB
I question if it just a display issue since as I stated, it will cause a failure to install. It would be different if it displayed wrong, but still installed and partitioned correctly.
Maybe it is an instance of using 1000 in one location and 1024 in another? Say if the automated partitioning utility is using the incorrect value for the actual partitioning.
Post Reply