![]() |
When I type "sudo grub" it says "command not found" in Ubuntu 9.10 Live CD.
Hello,
I am going to reinstall my GRUB bootloader and some one said do the followings: **************************** sudo grub > root (hd0,0) > setup (hd0) > exit ***************************** But when I type "sudo grub" in terminal it gives this error: "sudo: grub: command not found" Would you please help me in this problem? With best regards, Hassan |
You probably don't have path set-up for sbin, try the following line
sudo /sbin/grub |
Hello r3sistance,
Thanks for your reply. I did what you said and still I got the same result. What should I do?? Best regards, Hassan |
Hi,
You could try doing a 'sudo find / -name "*grub"', or if you have locate and updatedb use those instead as they are more effeicent at searches. That should give you the path for the grub command, just ignore configuration files and directories like /boot/grub |
Hi,
I typed "locate grub" and it returned dozens of lines. In none of them I could find "menu.lst" and "grub.conf". I have no idea what has happened to my Ubuntu!! |
I believe this has been answered in a different thread for you, however you likely should have used locate *grub as this will stop wildcard finds after the word grub.
|
Ubuntu 9.10 uses grub2.
https://help.ubuntu.com/community/Grub2 |
grub.conf and menu.lst should be located in /boot/grub/
I am on Debian so this might help you since Ubuntu is Debian based. Code:
jared@Sarah:~/Movies$ locate *grub |
| All times are GMT -5. The time now is 12:20 AM. |