Skip to main content

Linux: grub2

grub2 stands for GRand Unified Bootloader 2.

Run grub2-mkconfig on Fedora Workstation 30 to detect new installation of Microsoft Windows 10 and update /etc/grub2.cfg file.

[tuyen@g73jh ~]$ grub2-mkconfig -o /etc/grub2.cfg
grub2-mkconfig: You must run this as root
[tuyen@g73jh ~]$ sudo !!
sudo grub2-mkconfig -o /etc/grub2.cfg
Generating grub configuration file ...
Found Windows Recovery Environment on /dev/sda1
Found Windows 10 on /dev/sda2
done
[tuyen@g73jh ~]$ 

Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size