Skip to contentSkip to conversation

Unable to use grub2

DISCUSSION Varun Deshpande 3 participants 3 messages Jan 5, 2009 – Jan 6, 2009

lore
Share & tools
lore
#0 lore raw

hi
i am very new here.
i want to contribute for grub. so first step to compile grub code & install it. i complied code with normal way i.e.
./configure
make
make install

after that when i run grub --version i got old version grub (GNU GRUB 0.97)

i am unable to solve what happened actually
plz help me??

Signature · 9 lines
Thanks
VARUN DESHPANDE.
" A proud GNU\Linux User "
Reg Linux User #456312

When You wish upon a star
makes no different who you are
Anything your haeart desire
will come true
#1 lore raw
Quoted 9 lines · On Mon, 5 Jan 2009 07:32:36 +0530 "Varun Deshpande"…

hi
i am very new here.
i want to contribute for grub. so first step to compile grub code & install it. i complied code with normal way i.e. ./configure
make
make install

Quoted 5 lines

after that when i run grub --version i got old version grub (GNU GRUB 0.97)

i am unable to solve what happened actually
plz help me??

When you run './configure', the default prefix under which the programs are installed is '/usr/local'. So, to run the GRUB 2 programs, run /usr/local/bin/grub-install, etc.

You can also change the prefix with './configure --prefix=/opt/grub2' for instance. I would recommend you do NOT use '/usr' as the prefix for hand-compiled installations when you have GRUB legacy (or even an instance of GRUB 2) installed with your OS distribution's package management system.

Regards,
Colin

#2 lore raw
Quoted 15 lines · Colin D Bennett
Quoted 12 lines · On Mon, 5 Jan 2009 07:32:36 +0530 "Varun Deshpande"…

hi
i am very new here.
i want to contribute for grub. so first step to compile grub code & install it. i complied code with normal way i.e. ./configure
make
make install

after that when i run grub --version i got old version grub (GNU GRUB 0.97)

Quoted 6 lines
Quoted 2 lines

i am unable to solve what happened actually
plz help me??

When you run './configure', the default prefix under which the programs are installed is '/usr/local'. So, to run the GRUB 2 programs, run /usr/local/bin/grub-install, etc.

Also, there is no "grub" command in GRUB 2. So, if you run "grub" and you have GRUB 0.97 installed, that's what you get.

Signature · 2 lines
Regards,
Pavel Roskin