The GRUB 2 boot loader makes sure that you can boot Linux. GRUB 2 is installed in the boot sector of your server’s hard drive and is configured to load a Linux kernel and the initramfs: ■ The kernel is the heart of the operating system, allowing user…
1.认识启动配置选项 [root@server5 ~]# cat /boot/grub/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel a…
grub密码设置与修改 默认GRUB启动参数可以的进入单用户模式从而修改root密码,如果想要给GRUB菜单设置密码,可以修改/etc/grub.conf文件 (/boot/grub/grub.conf) 设置grub密码 密码生成 grub-md5-crypt 生成md5密码 grub-crypt 生成sha256密码 写入配置文件 vim /etc/grub.conf 1 # grub.conf generated by anaconda # # Note that you do not h…