LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2004, 12:13 AM   #1
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
Question Upgrading GRUB


Hi,

I'd like to know if it's possible to upgrade GRUB. The GRUB that comes with Mandrake 9.2 seems to be an old version that doesn't support splashimages and I was wondering if I could upgrade it to 0.93. If so, what do I do? Do I just unzip the tarball, and do the usual ./configure, make, make install? Or does it have its own way?
 
Old 01-14-2004, 05:57 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Where is your current grub? It should be in /boot/grub, that's the logical place for it. So what I would do is this:
./configure --prefix=/usr
make
make install
cp /usr/share/grub/i386-pc/stage{1,2} /boot/grub

Then to install on your MBR:
grub
root (hd0,0) ***NB hd0,0 should be replaced with the hd label of your root partition***
setup (hd0) ***NB hd0 should be changed if your primary drive is anything but hda (although it probably isn't)***
quit

Easy as that. But as always, keep a boot disc handy when messing around with your MBR.
Guy

Edit: The line "setup (hd0)" is the bit that installs to your MBR. That's the point of no return. Just so you know.

Last edited by guygriffiths; 01-14-2004 at 05:58 AM.
 
Old 01-18-2004, 12:27 AM   #3
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Original Poster
Rep: Reputation: 30
Has anyone ever tried this before? I want to know what problems I might expect.
 
Old 01-18-2004, 10:12 AM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
The only problem you might get is a clash with your old version. You could either uninstall it, or make sure you install the new one in a different place before installing it in the MBR.
 
  


Reply



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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Upgrading HD in RedHat 8.0 that uses GRUB harryo Linux - Hardware 0 03-09-2004 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 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
Open Source Consulting | Domain Registration