LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2004, 10:38 AM   #1
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
Lilo -> Grub


I decided that I had learned Lilo backwards and forwards, so I went into the GUI and told it to use Grub. I've dug through a lot of the documentation on Grub, including the useless man page and the more thorough, but horribly written, info file.

It works. I edited the menu.lst file OK, and I got the entries I want the way I want them.

But I have some questions about running Grub.

1. If my MBR is ever taken over by Windows XP for some reason, what is the command to make grub take it back over? Do I just type grub the way I typed lilo?

2. When I am trying to use colors, the docs seem to indicate that for every menu entry, you can change the colors of the display so that the highlight background and forground is different for each OS displayed.

It shows

OS-BS like
color FG/BG HF/HB

as a format. I tried this, but it just added entries called

Windows XP like
Linux like

into the menu.

Anyone know how to do that?

3. I assume Mandrake's grub doesn't support a splashimage the way Redhat's does. Any suggestions about where to find a grub that does and how to install it on Mandy 10 the best way without destroying my boot sector?
 
Old 09-15-2004, 01:43 AM   #2
gypsy_rabbi
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
1. grub-install /dev/hda should work (assuming your boot disk is hda,
of course). If you're unable to boot to the partition that has
grub-install, Knoppix will get you a fabulous repair system that
has it. It's also a good idea to save off your MBR once you have
a working system: dd if=/dev/hda of=mbr.bin bs=512 count=1

Alternatively, I believe you can actually use Windows NT/XP's boot
loader to boot Linux. You'll need to copy out a workable MBR for
the Linux partition, save it off to the XP partition, and then
call it from XP's boot.ini. See the Gentoo documentation for
details.

2. Sorry, don't know how to do colors. AFAIK the color directive
applies to the entire grub screen, not to individual entries, but
grub is so configurable that I'm very likely wrong.

3. Redhat's grub is not customized, so Mandrake's should be the same.
(If not you can just grab a grub RPM from somewhere.) You should
be able to copy Redhat's (or some other) splash.xpm.gz into your
/boot/grub directory and add the line
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
to your grub.conf to get it to do what you want.

And of course in all the above you need to adjust hda, (hd0,0), etc.
to your own requirements; the grub manual should have adequate detail
about that.

Hope this helps.
 
Old 09-15-2004, 04:29 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
google up a copy of 'Zen and the Art of Using Grub'. The instructions are detailed, step-by-step. You will never be confused by Grub again.
 
Old 09-15-2004, 11:03 AM   #4
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Original Poster
Rep: Reputation: 30
Thank you both for your help. I really appreciate it and will pass on what I learn to others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 10:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
LILO or GRUB linuxnoobhelp Linux - General 6 12-07-2004 02:01 AM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 12:09 PM
Grub or Lilo better ? futurist Linux - Newbie 4 03-16-2003 11:22 PM


All times are GMT -5. The time now is 05:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration