大网数据广告活动
服务器运维问答

Ubuntu in Hyper-V stuck

· 52CE 我爱测

so I tried to install Ubuntu 22.04.2 in Hyper-V on my Windows Server 2012. Installation goes fine but the first boot stops on black screen and a mouse cursor which doesn't move. I found some guide to change grub config which seem…

问题原文

原帖链接 · Vitas · CC BY-SA 4.0

so I tried to install Ubuntu 22.04.2 in Hyper-V on my Windows Server 2012. Installation goes fine but the first boot stops on black screen and a mouse cursor which doesn't move. I found some guide to change grub config which seems to help a bit

Now it boots into login screen, I login and see the desktop, but it takes about 8 seconds before image freezes and mouse stops moving! Then I can only switch to text console via ctrl+alt+F3 for example, but switching back to F1 shows just black screen and cursor again. Any ideas?

已采纳解答

原帖链接 · Robert N · CC BY-SA 4.0

Try using the instructions here to update your kernel: https://davejansen.com/install-a-linux-kernel-of-choice-under-ubuntu/

I'm not sure which is the best for hyper-v, but the latest right now (6.3.5) has eliminated the freezing for me. I had to constantly go back and forth with the ctrl+alt+F3 and F1, but it eventually installed and I was able to reboot and get things going. Best of luck!


Rather than use ctrl-alt-F3 and ctrl-alt-f1 back and forth (screen would freeze after about 10 secs and mouse stopped working) I just rain the kernal update in the terminal and rebooted.

sudo mainline --install-latest

reboot

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2023-05-24)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。