0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

デュアルブートで前回起動したOSを記憶する設定

Last updated at Posted at 2021-07-02

windowsとubuntuをデュアルブートした際、起動時のOSの優先順位が固定されてしまい、不便に感じることがあると思います。
grubに以下の設定をすれば、前回起動したOSを記憶し、次回起動時に記憶したOSを優先してくれるため、windows updateが楽になります!

<手順>

設定ファイルを編集する

sudo gedit /etc/default/grub

以下の内容に修正する

GRUB_DEFAULT=saved       #"0"->"saved"に変更
GRUB_SAVEDEFAULT=true     #追記

grubを更新する

sudo update-grub

以上の設定をすることで、前回起動したOSが記憶され、次の起動時に優先順位が上がります。

<参考サイト>

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?