hi
Howto update Grub on CentOS 6?
I've tried update-grub[code] # sudo update-grub
sudo: update-grub: command not found
# grub --version
grub (GNU GRUB 0.97)[/code]but it doesn't work.
update Grub on CentOS 6
Re: update Grub on CentOS 6
What do you mean by "updating GRUB"? Update-grub is an Ubuntu command to re-generate the GRUB 2 configuration file. CentOS uses GRUB 1 a.k.a. "legacy GRUB", so there's no need for update-grub, grub-mkconfig or any other similar commands. You can edit the configuration file /boot/grub/grub.conf with any text editor.
Re: update Grub on CentOS 6
I need to re-generate the GRUB configuration file to find out automatically boot entries from other linux OS, installed on the same machine.
Anyway, if this doesn't work, I will edit the configuration file /boot/grub/grub.conf with a text editor.
Anyway, if this doesn't work, I will edit the configuration file /boot/grub/grub.conf with a text editor.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
update Grub on CentOS 6
There is no automatic discovery and GRUB update mechanism in CentOS/RHEL.