LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2011, 03:12 AM   #1
utkarshrawat
Member
 
Registered: Jul 2007
Posts: 120

Rep: Reputation: 15
update-grub: command not found


I have done the kernel compilation for linux-2.6.38.5
I have perform all the steps well ,once i am updating in /boot/ grub/menu.lst
& giving command update-grub
it showing this error

Code:
[root@localhost grub]# update-grub
bash: update-grub: command not found
I have install it also through
Code:
yum install grub
I gave this command
Code:
grub-setup --version
still same error ]grub-setup not found
 
Old 06-16-2011, 03:29 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Did you ckeck your path?
Code:
echo $PATH
Did you check the contents of the "grub" package?
Code:
rpm -ql grub
Finally failing that, use yum to find out what provides those commands
Code:
yum provides "*/update-grub"
yum provides "*/grub-setup"
Evo2.
 
Old 06-16-2011, 03:42 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,833

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Distro ?.
update-grub is not part of the (original) grub product, but a Debian add-on. Made it's way into grub2 because of the background of the developers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo aptitude update command not found justjeff Linux - Newbie 5 05-07-2011 09:19 PM
[SOLVED] update-grub: command not found, in OpenSuse 11.2 TheIndependentAquarius Linux - Newbie 18 02-27-2011 07:42 AM
grub error 17, but 'sudo grub' = command not found davidstvz Ubuntu 2 08-02-2010 10:09 AM
grub fdisk command not found pavankonka Linux - Laptop and Netbook 3 02-08-2006 06:06 PM
update-menus: command not found juanjavier_xxx Debian 2 07-16-2005 01:44 PM


All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration