LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2003, 08:26 AM   #1
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Rep: Reputation: 30
GRUB help!!


hello,

i wanna install grub, and want the same style suse has. How can I do this? SuSE has this nice graphical-like interface, it looks really good.
Also, how can I edit/make the graphic used by grub? I want to edit the grub bootloader graphic on my suse machine.

thanks in advance for any help!
 
Old 07-24-2003, 09:23 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Once you have installed the RPM, use the following command to install GRUB in the MBR:
Code:
/sbin/grub-install /dev/hda
The splash image for GRUB is splash.xpm.gz
This image is 640x480 with a 14 color palette.
It is in XPM format and then compressed with GZip.

GRUB documentation
http://www.gnu.org/manual/grub/
 
Old 07-24-2003, 10:19 AM   #3
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
Seems like suse hasn't got any splash.xpm.gz file...and the gnu.org site is down .
 
Old 07-24-2003, 10:37 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
GNU.org is down.
Then we must Google/Linux.
http://www.google.ca/linux

GRUB Manual
http://linux.ucla.edu/manual/grub-0....mono/grub.html

Using the information in my previous post,
you can use TheGimp to create one.
 
Old 07-24-2003, 10:41 AM   #5
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
But where does suse store this stuff?? They have a graphical menu.
There is a reference to /boot/message (~138kb) in grub.conf, but I can't open this file with the gimp (also says unknown file). Is this a microsoft-like mistery?
 
Old 07-24-2003, 12:11 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
microsoft-like mistery
No such thing in Linux.

To find GRUB related files, type whereis grub.

If splash.xpm.gz does not exist, you must create it.
In the grub.conf, add splashimage=(hd0,1)/grub/splash.xpm.gz
In Linux terms, the line means that the splash image is located on hda (primary HD) and in partition 1 with the specified path.
 
Old 07-24-2003, 12:24 PM   #7
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
My menu.lst:
Quote:
# Modified by YaST2. Last modification on Sun Jul 20 13:00:42 2003


color white/blue black/light-gray
default 0
gfxmenu (hd0,3)/boot/message
timeout 8

title Linux (SuSE 8.2)
kernel (hd0,3)/boot/vmlinuz root=/dev/hda4 vga=0x317 hdd=ide-scsi hddlun=0 splash=silent showopts acpi=off
initrd (hd0,3)/boot/initrd

title Windows XP Home Edition
root (hd0,0)
chainloader +1

title Floppy
root (fd0)
chainloader +1

title Failsafe
kernel (hd0,3)/boot/vmlinuz.shipped root=/dev/hda4 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd0,3)/boot/initrd.shipped
 
Old 07-24-2003, 12:52 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
More GRUB files may be located in /boot/grub.

You can save your new image to /boot
Then add the following line right after timeout 8
Code:
splashimage=(hd0,3)/boot/splash.xpm.gz
Comment out the following lines with a #
Code:
# color white/blue black/light-gray
# gfxmenu (hd0,3)/boot/message
The file associated with gfxmenu is a graphical menu object file. So, you should use splashimage instead.
If you want to create a graphical menu object, you will need gfxboot.
 
Old 07-24-2003, 12:55 PM   #9
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
I think you misunderstood me - I want to know how SuSE did the trick, and want to add an image myself to another pc's grub install. The menu.lst is the one from the SuSE pc, which has this suse-grub bootloader which is kinda graphical (its like when u boot the suse cd/dvd). They dont use splashimage....
 
Old 07-25-2003, 07:13 AM   #10
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
seems like i got it...check /usr/share/gfxboot/SuSE. here is the 'source' of /boot/message, which involves the nice graphical boot. You can compile it with mkbootmsg (root).
are there any utils to create a gfxboot some easier?
 
Old 07-25-2003, 04:10 PM   #11
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I don't know.
I never tried to create a graphical menu object file.
 
Old 07-26-2003, 04:41 AM   #12
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
seems like i gotta patch grub for graphical menus and splashscreens - is that true and how can i do that?
 
Old 07-31-2003, 06:22 AM   #13
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
help!!
 
  


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 09:37 PM
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
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

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

All times are GMT -5. The time now is 10:17 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