You are not logged in.

#1 2014-06-14 06:26:15

arungupta2008
Member
Registered: 2014-04-19
Posts: 11

grub : command not found

I am doing cross compilation, so i am using grub for installing Boot loader. For this i want to use grub shell. so when i go in shell and run "grub" it says "Command not found".
May i know why? It is due to latest system upgrade ?

Last edited by arungupta2008 (2014-06-14 06:49:24)

Offline

#2 2014-06-14 07:57:21

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: grub : command not found

There is no grub command that I am aware of. I don't remember there being one for a long time if ever. I think you need one of these commands (assuming grub-install). Or maybe I misunderstood the question.

$ pacman -Ql grub | grep bin                                                            
grub /usr/bin/
grub /usr/bin/grub-bios-setup
grub /usr/bin/grub-editenv
grub /usr/bin/grub-file
grub /usr/bin/grub-fstest
grub /usr/bin/grub-glue-efi
grub /usr/bin/grub-install
grub /usr/bin/grub-kbdcomp
grub /usr/bin/grub-macbless
grub /usr/bin/grub-menulst2cfg
grub /usr/bin/grub-mkconfig
grub /usr/bin/grub-mkfont
grub /usr/bin/grub-mkimage
grub /usr/bin/grub-mklayout
grub /usr/bin/grub-mknetdir
grub /usr/bin/grub-mkpasswd-pbkdf2
grub /usr/bin/grub-mkrelpath
grub /usr/bin/grub-mkrescue
grub /usr/bin/grub-mkstandalone
grub /usr/bin/grub-mount
grub /usr/bin/grub-ofpathname
grub /usr/bin/grub-probe
grub /usr/bin/grub-reboot
grub /usr/bin/grub-render-label
grub /usr/bin/grub-script-check
grub /usr/bin/grub-set-default
grub /usr/bin/grub-sparc64-setup
grub /usr/bin/grub-syslinux2cfg

Offline

#3 2014-06-14 08:47:03

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: grub : command not found

/usr/bin/grub is part of grub-legacy

Offline

#4 2014-06-14 14:54:29

arungupta2008
Member
Registered: 2014-04-19
Posts: 11

Re: grub : command not found

GRUB2 is installed in my machine, I got your point that i have to install GRUB legacy but, I want to confirm it won't make any problem with current GRUB2? right ?  I mean Booting problem?

Last edited by arungupta2008 (2014-06-14 14:55:36)

Offline

#5 2014-06-14 17:12:45

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: grub : command not found

You can't have both grubs installed. grub-legacy will ask you to remove grub first.

Offline

#6 2014-06-16 05:20:40

arungupta2008
Member
Registered: 2014-04-19
Posts: 11

Re: grub : command not found

I knew This was going to happen, I broke the GRUB now i am not able to boot "ArchOS" i spent all  my weekend trying to re-setup Grub but not succeed. Any Suggestion. Actually i downgraded the GRUB. Please gimme any solution. sad

Offline

#7 2014-06-16 06:17:26

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: grub : command not found

Chroot in from livecd: https://wiki.archlinux.org/index.php/Chroot
and then just reinstall grub and follow the wiki: https://wiki.archlinux.org/index.php/Grub#Installation
or you can follow the grub-legacy wiki if you really want that: https://wiki.archlinux.org/index.php/GR … stallation

Not sure why you would need grub-legacy though.

Offline

#8 2014-06-16 06:47:24

arungupta2008
Member
Registered: 2014-04-19
Posts: 11

Re: grub : command not found

I was cross compiling(a Tiny linux OS), so grub(GRUB-legacy) was needed for other OS. SO i thought of setting of Grub-Legacy

Offline

Board footer

Powered by FluxBB