Editing grub.conf
When using up2date I get an error:
Your system is currently running kernel-2.6.9-1.667, but the installed kernel is kernel-2.6.11-14_FC3. It is recommended that you reboot at the first opportunity to test this new kernel. I had posted this message before and was told to edit the grub.conf file. I located it in the /etc, but when I type pico grub.conf, nothing comnes up in the editor - same with vim. I am not that familiar with editors at this point, so obviously it is my error. Can someone please point me in the right direction? Thanks, Rich |
try editing grub.conf as root, and specify the complete path to grub.conf
sudo pico [path-to-grub.conf] good luck |
Thanks. Tried as you suggested, but the pico screen remains blank.
Rich |
Are you sure it's in /etc? It usually resides in /boot/grub, but indeed, it may have a symlink pointing to it in /etc. Check out the file in /etc by typing 'cat /etc/grub.conf'. And you should edit directly the file by 'sudo pico /boot/grub/menu.lst'.
|
Since you're in the "newbie" forum, you mighe be interested in a "sample" grub.conf file. Here's what mine looks like:
Code:
$ sudo cat /boot/grub/grub.conf The other thing to check is the "default" value. A value of zero specifies that the first entry should be taken after the timeout (in seconds) has elapsed. Any other value refers to a specific block, with the count starting at one. (The point here is that a kernal update usually adds itself as the first entry, and doesn't change the default value if it's zero, but does chage it is it's not zero.) For more detail, the GRUB manual is available by Code:
$ info grub |
If grub.conf is on a separate '/boot' partition then you need to mount it first. Some distros mark /boot as 'noauto' which means it doesn't get mounted automatically. Try 'mount /boot' as root. Are the files appearing now? /etc/grub.conf is often a symlink to /boot/grub/grub.conf. You can confirm this by running "ls -l /etc/grub.conf". Is the first letter in the permission string an 'l'?
|
All times are GMT -5. The time now is 04:18 AM. |