LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-30-2008, 04:19 AM   #1
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 112

Rep: Reputation: 15
Talking Grub prob with GfxBoot


Hi all,
I've installed gfxboot on my Hardy Heron, but at reboot the usual text menu appairs. I don't understand my mistake. I report you all my steps:
1)sudo apt-get remove grub
2) Download many gfx themes from gnome-look and install them as root in /boot/grub.
3)sudo gedit /boot/grub/menu.lst; at the top of file i enter the string "gfxmenu /boot/grub/message.red" and save.

4) sudo fdisk -l
Disco /dev/sda: 200.0 GB, 200049647616 byte
255 heads, 63 sectors/track, 24321 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4bc5c4d0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9249 74292561 7 HPFS/NTFS
/dev/sda2 9250 13874 37150312+ c W95 FAT32 (LBA)
/dev/sda3 13875 23673 78710467+ 83 Linux
/dev/sda4 23674 24321 5205060 82 Linux swap / Solaris

5)sudo grub
find /boot/grub/stage1
6)grub>root (hdx,x) – root (hd0,2) -this is my root partition-
grub>setup (hdx) – setup (hd0)
grub>quit

7)sudo grub-install /dev/sdaX === sudo grub-install /dev/sda3.
I thought the problem depends on an invalid installation of the grub. Actually sda3 is not the mbr partition.
So i've don in this way:
sudo grub-install /dev/sda

At reboot the damned text menu appairs again...

I stop now, because I'll probably make damages to the computer with other blind attempts. Please help me...
[sorry for my english]

Happy new year,

enrico dvc
 
Old 12-30-2008, 06:26 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

firstly to mod your own gfxmenu try here
http://www.sidux.com/index.php?modul...ka&tag=Gfxmenu

grub is a bootloader and you already have it.

gfxmenu is an option available to grub if the grub stage2 file allows it.

so there is nothing to do...do not retry grub install or grub etc...forget it

2) Instead look at your menu.lst entry for the special file...message.red

gfxmenu (hd0,2)/boot/grub/message.red

....firstly use an absolute pathway to the file...
thats what (hd0,2) ....= third partition does


redo with root powers and edit your menu.lst and reboot please....if it does NOT LOAD
please post the full contents of your menu.lst and upload your message.red to a file sharing site so I can test it

www.ripway.com will do.
 
Old 12-30-2008, 11:16 AM   #3
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
Smile re: Grub prob with GfxBoot

Quote:
Originally Posted by aus9 View Post
hi

firstly to mod your own gfxmenu try here
http://www.sidux.com/index.php?modul...ka&tag=Gfxmenu

grub is a bootloader and you already have it.

gfxmenu is an option available to grub if the grub stage2 file allows it.

so there is nothing to do...do not retry grub install or grub etc...forget it

2) Instead look at your menu.lst entry for the special file...message.red

gfxmenu (hd0,2)/boot/grub/message.red

....firstly use an absolute pathway to the file...
thats what (hd0,2) ....= third partition does


redo with root powers and edit your menu.lst and reboot please....if it does NOT LOAD
please post the full contents of your menu.lst and upload your message.red to a file sharing site so I can test it

www.ripway.com will do.
I've entered the statement you suggested [gfxmenu (hd0,2)/boot/grub/message.red] but the problem insists. This is my menu.lst:
========================================================
gfxmenu (hd0,2)/boot/grub/message.red

default 0
timeout 10
color white/blue

title Ubuntu 8.04.2, kernel 2.6.24-23-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet

title Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro single
initrd /boot/initrd.img-2.6.24-23-generic

title Ubuntu 8.04.2, kernel 2.6.24-19-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.2, kernel 2.6.24-19-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=f811082e-b2e1-4be2-8e88-f229ef089e07 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.2, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

title Other operating systems:
root

title Microsoft Windows XP Professional
root (hd0,0)
chainloader +1
savedefault
makeactive
========================================================
I'll search for file sharing sites. For now I can send you the url to that theme:
http://www.gnome-look.org/content/sh...?content=71668
Thanks in advance!!
dvc
 
Old 12-31-2008, 06:04 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
thanks for the link

ok that link requires /boot/message.red not /boot/grub/message.red is the first issue.

And the reason for that...appears to suggest you have to run make bootdir.

2) I do not like ubuntu...sorry but it google of errors I think post may assist you if you do not want to mod one of the normal messages

http://pozitifpc.com/baris/?cat=26

3) so the options are:

1) forget your link and just grab the background image and the message.red
use my wiki to install the background image and clean out all that cruft that is in the message file......then in theory you do not need to put it under /boot but any where you like....as long as you point to it in the menu.lst

2) forget your link and follow new one

3) try your link...but I think...according to my eyesight...you have missed out installing gfxmenu...in your steps...even tho you say you have it.

As far as I can tell...they want you to remove old grub and install the gfx-grub with a message only under /boot
 
Old 12-31-2008, 08:17 AM   #5
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by aus9 View Post
thanks for the link

ok that link requires /boot/message.red not /boot/grub/message.red is the first issue.

And the reason for that...appears to suggest you have to run make bootdir.

2) I do not like ubuntu...sorry but it google of errors I think post may assist you if you do not want to mod one of the normal messages

http://pozitifpc.com/baris/?cat=26

3) so the options are:

1) forget your link and just grab the background image and the message.red
use my wiki to install the background image and clean out all that cruft that is in the message file......then in theory you do not need to put it under /boot but any where you like....as long as you point to it in the menu.lst

2) forget your link and follow new one

3) try your link...but I think...according to my eyesight...you have missed out installing gfxmenu...in your steps...even tho you say you have it.

As far as I can tell...they want you to remove old grub and install the gfx-grub with a message only under /boot
I'm sorry. I've avoided to tell a topic issue...gfxboot...is it installed or not? I think yes because I've used synaptic to install the package. I open system>administration>synapric and serch for "gfxboot". As the package is found I see the little box is grayed. So i thought the installation was ok. Do you think isn't it?
And if not, what is the best way for (sigh!) Ubuntu 8.04?
Thanks for your patience.

dvc
 
Old 12-31-2008, 06:14 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
well I do not use synaptic...but greyed out may be bad....try a package you know is installed like your web browser...and if greyed out maybe its ok?

your link has a link to it?

http://www.gnome-look.org/content/sh...?content=71647

otherwise try

Code:
su
apt-get install grub-gfxboot
 
Old 01-01-2009, 06:11 AM   #7
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
Wink Re:Re: Gfxboot...

Quote:
Originally Posted by aus9 View Post
well I do not use synaptic...but greyed out may be bad....try a package you know is installed like your web browser...and if greyed out maybe its ok?

your link has a link to it?

http://www.gnome-look.org/content/sh...?content=71647

otherwise try

Code:
su
apt-get install grub-gfxboot
Ok, I've checked the synaptic legenda and if a package greyed means that it is installed. Anyway I've tried to download and install
grub-gfxboot_0.97-11-ubuntu1_all.deb but I can't install it. Double clicking the deb file cause this error: "Conflicts with the installed package 'Grub' Conflicts with the installed package 'grub-doc'." The process stops.
It seems something is already resident in my system.
Can I test it in some way? EG can i enter a [grep gfxboot namefile or something similar]? If yes, what is the file I have to test?

At the moment I'll try anyway to install the gfxboot by using
Code:
su
apt-get install grub-gfxboot
...done. Failed!?!
apt doesn't find grub-gfxboot. Actually by browsing synaptic repos, the package is called 'gfxboot' without grub-. And that is the already installed package. Now I'll try to install it without "grub-".

I'm also thinking to your first answer as reported in the following quote:
Quote:
grub is a bootloader and you already have it.
gfxmenu is an option available to grub if the grub stage2 file allows it.
so there is nothing to do...do not retry grub install or grub etc...forget it
Maybe I mess the meaning of the sentence "gfxmenu is an option available to grub if the grub stage2 file allows it". Actually, in the ubuntu tutorial for gfxboot i've followed these steps:
sudo grub
sudo grub
grub> find /boot/grub/stage1 [output: hd0,1 hd0,2]
grub> root (hd0,2)
grub> setup (hd0)
grub> quit
sudo grub-install /dev/sda
no news about stage2. Have I to do something about stage2 I don't know?

Thanks a lot and Happy New Year.

dvc

Last edited by enrico_dvchp; 01-01-2009 at 10:01 AM.
 
Old 01-01-2009, 06:33 PM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
enrico

I try to say there are a number of ways of doing it.

using YOUR link...you need to remove grub first before installing new gfx type grub.

2) so refollow those links...but remove grub and then install the new file gfxboot-grub....from that same YOUR link.

3) maybe I should not have mentioned your stage2 file may have gfx ability already...because as per (2) I want you to remove grub before attempting to install the new one.

4) however....just to show whats what try this

Code:
strings /boot/grub/stage2 | grep gfxmenu

(response may be)
gfxmenu
gfxmenu FILE
 
Old 01-02-2009, 10:22 AM   #9
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 112

Original Poster
Rep: Reputation: 15
Smile Solved: GfxBoot prob

Problem finally solved.
I've tried your suggestion to test stage2.
---------term-----------------------------------
django@django-desktop:~$ strings /boot/grub/stage2 | grep gfxmenu
django@django-desktop:~$
-------------------------------------
No output for stage2. Not good.
I'm going to remove grub and try to reinstall gfxboot again. This time I'll install the package suggested by the wiki guide for GfxBoot: grub-gfxboot_0.97-5i386.deb
url: http://wiki.ubuntu-it.org/Amministra...istema/GfxBoot
then at first:
sudo apt-get remove grub
the os warns me about the uninstallation of 2 related packages, I proceed.
I control that message.* are all stored in the Grub directory, then I [sudo gedit menu.lst] and and put the statement gfxboot /boot/grub/message.suse at the top of the file and save.
Secondly, I [sudo grub] and do the steps:
grub> find /boot/grub/stage1 ==> out::=hd0,1 hd0,2
grub> root (hdx,y) ==> I choose hd0,2
grub> setup (hdx) ==> I choose hd0
grub>quit
sudo grub-install /dev/sda
...the installation seems to be ok.
Finally, I reboot. Seconds of panic...and WOW! It works! This time the message.suse theme appairs correctly.
In fact from terminal I've this result:
django@django-desktop:~$ sudo strings /boot/grub/stage2 | grep gfxmenu
[sudo] password for django:
gfxmenu
gfxmenu FILE
Comment. At the first look, the problem consists in an mistake installation. Or at least, In ubuntu repos there isn't a file called "grub-gfxboot_*i386.deb" but only gfxboot or grub. I'll check also by using an ftp program. I don't know this is a problem of Hardy Heron or not. Anyway the gfx now works.


Thanks a million.
Enrico_dvchp
 
  


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
GRUB GfxBoot/GfxMenu Woodsman Slackware 1 12-29-2008 12:26 AM
Grub-gfxboot from source doesn't work 10110111 Linux - Software 1 12-06-2008 04:14 PM
what is grub-gfxboot ? Joydeep Bakshi Linux - Software 4 11-14-2007 11:31 PM
Help with custom grub-gfxboot screen please shame Linux - Software 0 05-07-2006 04:59 PM
Grub prob Whiteghost Linux - Laptop and Netbook 3 07-05-2004 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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