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

JumpCloud: Notes

https://jumpcloud.com/

Printer Support

Linux command: lastlog

lastlog command reports the most recent login of all users or of a given user. NAME lastlog - reports the most recent login of all users or of a given user SYNOPSIS lastlog [options] DESCRIPTION lastlog formats and prints the contents of the last login log /var/log/lastlog file. The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by their order in /etc/passwd. OPTIONS The options which apply to the lastlog command are: -b, --before DAYS Print only lastlog records older than DAYS. -h, --help Display help message and exit. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -t, --time DAYS Print the lastlog records more recent than DAYS. -u, --user LOGIN|RANGE Print the ...