Differences between revisions 1 and 2
Revision 1 as of 2017-09-06 19:57:02
Size: 322
Editor: scot
Comment:
Revision 2 as of 2021-06-24 23:53:08
Size: 923
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

== Problem: Ubuntu running on Hyper-V doesn't appear to finish booting ==

In my case I got this cryptic message:

{{{
/dev/sda1: clean, w/x files, y/z blocks
}}}

And there it sits - doing nothing. To fix it do the following:

 1. Ctrl+Alt+F2 -> Hey, there is a login prompt here!
 1. Login
 1. sudo apt-get purge nvidia*
    a. Why? Not sure, but this has been the cause often
 1. sudo ubuntu-drivers autoinstall
    a. Yes, you do need an internet connection for this.
 1. reboot
    a. before rebooting, I actually went through the {{{apt update && apt upgrade}}} process.

Hyper-V Tricks and Hacks

Creating a NAT Switch

PS> New-VMSwitch -SwitchName "NATSwitch" -SwitchType Internal
PS> New-NetIPAddress -IPAddress 192.168.1.1 -PrefixLength 24 -InterfaceAlias "vEthernet (NATSwitch)"
PS> New-NetNat -Name "NATNetwork" -InternalIPInterfaceAddressPrefix 192.168.1.0/24

Problem: Ubuntu running on Hyper-V doesn't appear to finish booting

In my case I got this cryptic message:

/dev/sda1: clean, w/x files, y/z blocks

And there it sits - doing nothing. To fix it do the following:

  1. Ctrl+Alt+F2 -> Hey, there is a login prompt here!

  2. Login
  3. sudo apt-get purge nvidia*
    1. Why? Not sure, but this has been the cause often
  4. sudo ubuntu-drivers autoinstall
    1. Yes, you do need an internet connection for this.
  5. reboot
    1. before rebooting, I actually went through the apt update && apt upgrade process.

HyperV (last edited 2021-06-24 23:54:14 by scot)