Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1047  / 2 Years ago, wed, february 23, 2022, 5:16:16

I did a sudo apt-get remove ruby* and then I saw that some grub packages were being removed too so I went to installed back those packages which log showed to have removed



I set grub to work on my /sda (in general, not any number) when was installing back.



Should all be ok or should I fear for my system and plan installing/reconfiguring more of grub.



And, why did this happpen?


More From » apt

 Answers
0

Try this command on terminal,



sudo grub-install /dev/sda


It will reinstall grub2 on your disk.



If you want to configure your grub then install grub-pc package.Try the below command to install grub-pc package,



sudo apt-get install grub-pc


Note: Install this package only if you installed Ubuntu in Legacy mode.


[#26619] Thursday, February 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainubt

Total Points: 496
Total Questions: 98
Total Answers: 126

Location: Sao Tome and Principe
Member since Wed, Dec 21, 2022
1 Year ago
;