Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




16090 posts

Uber Geek

Trusted
Subscriber

#272020 5-Jun-2020 19:08
Send private message quote this post

I'm having a heck of a problem installing Ubuntu 18 / 20 on Virtualbox 6.1 / 6.2. I've installed Ubuntu plenty of times with no problems in the past, but I've tried about ten times across two computers in the past few hours with nothing but problems. I've validated the SHA256 so I know the image is fine. I'm trying on a brand new surface laptop 2 and on my old workhorse the i7 2060K.

 

Mostly the installation black screens before the proper install starts. Sometimes I get part or all of the way through the install. Sometimes the install finishes but when I run the OS I get messages like "fsck required". This time I got the message below.

 

I've tried 1GB - 8GB of RAM. I've tried different video RAM amounts. I've tried 1 - 4 CPUs. I've tried default and no virtualisation acceleration. I get different results but I haven't noticed any correlation yet.

 

Any ideas at all? Not really sure where to go from here other than back to VirtualBox 5.x, which has worked fine in the past.

 

 

 


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
1015 posts

Uber Geek

Trusted

  #2499253 5-Jun-2020 19:13
Send private message quote this post

TBH My experience with virtual box was never really that flash hot. 

I ran it natively, Ran it with vagrant and sometimes it just didnt quite work well. Doing the exact thing you described with it wanting to do virual disk checks etc. 

 

Dont use any thin provisioning.... that just makes it worse. Use a fixed disk size.

 

 

 

If possible just run it on a R Pi. Or if you dont need a gui use a docker container.




16090 posts

Uber Geek

Trusted
Subscriber

  #2499272 5-Jun-2020 20:10
Send private message quote this post

I've always had good luck with it in the past, no problems at all. I am using variable disk sizes.

 

I need it on my work laptop, and I do find a GUI helpful at times for what I do with them, so container not so useful.

 

I've just found a tip to turn Windows features "Hyper-V" and "Virtual Machine Features" off, even though it's meant to work with VirtualBox 6. One was enabled on each machine. I'll give that a shot now.


 
 
 
 


545 posts

Ultimate Geek

Subscriber

  #2499276 5-Jun-2020 20:20
Send private message quote this post

Hyper-V is free under Windows10, use that :)


/dev/null
9386 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2499278 5-Jun-2020 20:30
Send private message quote this post

Are you using the Linux for Windows subsystem?

 

I'm having a problem with Virtualbox + VMWare as I am using the Linux for Windows subsystem (version 2) which uses Hyper-V for parts of it behind the scenes, looking online it appears this basically causes virtualization conflicts. I've never had the best of luck with Virtualbox as a whole but had this exact problem with VMWare on my PC.







16090 posts

Uber Geek

Trusted
Subscriber

  #2499281 5-Jun-2020 20:36
Send private message quote this post

I did enable Windows Subsystem for Linux on the laptop today, but not on the PC. The laptop is working with Ubuntu 20 now I turned Hyper-V and "Virtual Machine Features" off, with WSL enabled. All three are off on the desktop and it's not working. I get a black screen instead of the Ubuntu install window.

 

Ubuntu 16 that I created with my old PC was working fine until I broke it during an upgrade to Ubuntu 20 today. I figured I'd just install a new one in a few minutes. Hours later...

 

I don't much care which virtualisation product I use, I've just always used Virtualbox. Can I run Ubuntu within Hyper-V in much the same way as virtualbox @nztim?

 

 


1463 posts

Uber Geek


  #2499291 5-Jun-2020 21:22
Send private message quote this post

I use ubuntu on hyper-v.  More recently I have been trying out WSL (2.0) with the Ubuntu shell to see how it works.

 

 





Software Engineer
   (the practice of real science, engineering and management)




16090 posts

Uber Geek

Trusted
Subscriber

  #2499292 5-Jun-2020 21:25
Send private message quote this post

I have Ubuntu 20 installing on Hyper-V on my PC now, that worked fine. I might try it on the laptop as well, instead of VirtualBox.

 

I also had WSL2 running, but prefer an actual VM for some things. WSL is fairly immature, after you use it I found I had to reboot as it kept using a lot of RAM.


 
 
 
 


/dev/null
9386 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2499294 5-Jun-2020 21:40
Send private message quote this post

The black screen issue sounds like a conflict likely because Hyper-V is enabled or running. I have the same thing currently.





545 posts

Ultimate Geek

Subscriber

  #2499295 5-Jun-2020 21:41
Send private message quote this post

timmmay:

 

Can I run Ubuntu within Hyper-V in much the same way as virtualbox @nztim?

 

 

Trying it now


545 posts

Ultimate Geek

Subscriber

  #2499296 5-Jun-2020 21:42
Send private message quote this post

michaelmurfy:

 

The black screen issue sounds like a conflict likely because Hyper-V is enabled or running. I have the same thing currently.

 

 

I have had the black screen with Ubuntu on virtual box (with no other Hypervisor Running)


/dev/null
9386 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2499297 5-Jun-2020 21:43
Send private message quote this post

nztim:

 

I have had the black screen with Ubuntu on virtual box (with no other Hypervisor Running)

 

Interesting - could it be perhaps GPU acceleration? I'll attempt to install it within Hyper-V at a later stage but WSL works incredibly well for my needs now anyway.







16090 posts

Uber Geek

Trusted
Subscriber

  #2499300 5-Jun-2020 22:01
Send private message quote this post

Hyper-V is installing Ubuntu fine. It's incredibly slow - it took about 15 minutes to install on my laptop SSD, I decided to install on a spinning disk on my PC and it's got to have taken an hour with the disks chugging along.

 

I like that with a VM I can copy / move the VM to other PCs. I don't think I can do that with WSL.


545 posts

Ultimate Geek

Subscriber

  #2499301 5-Jun-2020 22:12
Send private message quote this post

@timmmay @michaelmurfy Installed 20.04 straight away on Hyper-V on my laptop (HP EliteBook G2)

 

Click to see full size

 

Interestingly it wouldn't boot the ISO as a Generation2 Virtual Machine (might need to tweak secure boot)

 

 




16090 posts

Uber Geek

Trusted
Subscriber

  #2499304 5-Jun-2020 22:31
Send private message quote this post

Yeah I had to use Gen1 as well. It's working fine. I think I'll get rid of Virtualbox and just use Hyper-V for this now. Thanks for the suggestion, really helpful @nztim!


874 posts

Ultimate Geek


  #2499380 6-Jun-2020 08:45
Send private message quote this post

nztim:

 

Interestingly it wouldn't boot the ISO as a Generation2 Virtual Machine (might need to tweak secure boot)

 

 

You can use Gen 2 (and probably should). See the note about secure boot here: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v  Looking at my VM I've disabled secure boot (probably cause I didnt realise changing it as in the docs would work 😊)

 

You will also want to get xrdp going on your VMs. This'll make the experience of using the Linux desktop MUCH better.  E.g. you can copy paste from your Windows into your Linux desktop.  There's some scripts for that here: https://github.com/microsoft/linux-vm-tools  I followed a set of instructions online somewhere (cant find them now of course but similar to this https://www.phillipsj.net/posts/hyper-v-enhanced-session-with-popos/).


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

National Institute for Health Innovation develops treatment app for gambling
Posted 6-Jul-2020 16:25


Nokia 2.3 to be available in New Zealand
Posted 6-Jul-2020 12:30


Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53


Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48


Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44


Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41


Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07


New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58


Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10


Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30


Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14


Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17


Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56


Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28


Apple announces Mac transition to Apple silicon
Posted 23-Jun-2020 08:18



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.