LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   When I type "sudo grub" it says "command not found" in Ubuntu 10.10 (https://www.linuxquestions.org/questions/linux-newbie-8/when-i-type-sudo-grub-it-says-command-not-found-in-ubuntu-10-10-a-832157/)

poumtatalia 09-14-2010 03:42 PM

When I type "sudo grub" it says "command not found" in Ubuntu 10.10
 
Hi there,
Just trying to use the grub from Ub 10.10 boot CD and it gives me
"sudo: grub: command not found"
A post suggest to do
"sudo find / -name "*grub""
which I did but then what??
The result of that last command is
/boot/grub
/usr/sbin/update-grub
/usr/lib/grub
/usr/lib/grub-legacy/update-grub
/usr/lib/linux-boot-probes/mounted/40grub
/usr/share/grub
/usr/share/grub/default/grub
/usr/share/recovery-mode/options/grub
/var/lib/ucf/cache/:etc:default:grub
/etc/default/grub
/etc/kernel/postinst.d/zz-update-grub
/etc/kernel/postrm.d/zz-update-grub
/cdrom/boot/grub
/rofs/boot/grub
/rofs/etc/default/grub
/rofs/etc/kernel/postinst.d/zz-update-grub
/rofs/etc/kernel/postrm.d/zz-update-grub
/rofs/lib/partman/choose_method/45biosgrub
/rofs/lib/partman/init.d/50biosgrub
/rofs/usr/lib/grub
/rofs/usr/lib/grub-legacy/update-grub
/rofs/usr/lib/linux-boot-probes/mounted/40grub
/rofs/usr/sbin/update-grub
/rofs/usr/share/grub
/rofs/usr/share/grub/default/grub
/rofs/usr/share/recovery-mode/options/grub
/rofs/var/lib/ucf/cache/:etc:default:grub
/lib/partman/choose_method/45biosgrub
/lib/partman/init.d/50biosgrub

Thanks in advance for your patient help!

AlucardZero 09-14-2010 04:37 PM

So... what are you trying to do?

pandanuma 09-14-2010 04:38 PM

what are you attempting to do in grub?

to see what version is installed...
Code:

grub-install -v
here is a link to grub documentation...
https://help.ubuntu.com/community/Gr...ing%20GRUB%202

syg00 09-14-2010 04:54 PM

And by implication, (legacy) grub commands won't work on grub2.
More info needed.

saikee 09-14-2010 05:19 PM

Ubuntu 10.04 uses Grub2.

Grub2 has no shell as Grub1 so the "sudo grub" command should never work.

99% of what you want from "sudo grub" is available in Grub2 using its own sets of commands in a Bash terminal.

Kenny_Strawn 09-14-2010 05:21 PM

And 10.10 further enforces the deprecation of this command.


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