Tutorial how to set grub remember last choice of accessed operating system (OS)

in linux •  7 years ago  (edited)

1.Open your terminal

2.Access your grub file in root mode:

sudo vim /etc/default/grub


3.Change GRUB_DEFAULT=0 (which means the grub will always boot the first option in the menu by default)

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

4.Update the grub to take effect.

sudo update-grub

Follow & support @sylviabrowyn
bitcoin: 16LU4iUtePmTgNxdHP57GecL4Z64dLtS2b
ethereum: 0x235119b56c2dcb124a3a0e0907b58c3492744caa
gamecredits: GLoB8UqgS1AHCXB9ZRTQnK2WF2R4aLaXDK
litecoin: LYujeNFJ5xL4UvJpSNPWC7XCbEEvGqr1cK
zcash: t1PrZbxeQ2VA3VQUHscN4vnALPb6ihrhpjk
stratis: SfBhJ6irSowwNxeKv64w3zDMNNgaA3Cfgk
dash: XuF69by15R8ZA19euh2UNM2WwUiMpCYF4h
bitcoincash: 1Gd2ohdr9uqQpyeUHdTr6gVmfzSD2brx7y

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!