LoginSignup
1
0

More than 1 year has passed since last update.

Hyper-v上のUbuntuの画面サイズ変更

Last updated at Posted at 2022-06-19

Hyper-vにUbuntuを入れた時、設定画面で画面サイズの変更ができなかったので、画面サイズの変更方法をメモとして残します。

やり方

/etc/default/grubにあるGRUB_CMDLINE_LINUX_DEFAULTが下のように書かれていますが、

変更前
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

この行にvideo=hyperv_fb:1920x1080を追加します。(1920×1080ドットの場合)

変更後
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"

その後、grubを下のコマンドでアップデートします。

sudo update-grub

アップデート後に、Ubuntuを再起動します。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0