Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#151 Le 10/03/2007, à 07:31

ali90

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Comment savoir dans quel partition se trouve Grub?

Nizarus> Je n'ai pas trop bien compris ce que tu raconte, tu me dit d'espacé (hd0,5)?



Merci de m'aider.

Dans l'attente de vos reponse.
Merci.

Hors ligne

#152 Le 10/03/2007, à 10:18

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

sudo grub

grub> find /boot/grub/stage1 ##donne les valeurs pour (hdx,y)

et Nizarus dit de ne pas espacer


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#153 Le 10/03/2007, à 10:39

Nizarus

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Non !! dans le fichier /boot/grub/menu.lst tu a :

gfxmenu (hd0,5) /boot/grub/message.snow

et il faut avoir

gfxmenu (hd0,5)/boot/grub/message.snow

la différence c'est que dans ta ligne de code tu à un espace entre (hd0,5) et /boot/grub/message.snow c'est à dire :

gfxmenu (hd0,5)"ESPACE"/boot/grub/message.snow

il faut éliminer cet espace !!

Hors ligne

#154 Le 10/03/2007, à 18:56

ali90

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Salut,

J'ai bien vu il n'ya pas d'espace , tout est bien correct apparement , voici le fichier regardez si tout est bien correct:

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ffb92cef-7660-44b7-bcfb-b8211eeb4f62 ro
# kopt_2_6=root=/dev/hda5 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##
gfxmenu (hd0,5)/boot/grub/message.snow
title		Ubuntu, kernel 2.6.17-11-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot

title		Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-11-generic root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.17-11-generic
boot

title		Ubuntu, kernel 2.6.17-10-generic
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda5 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda5 ro single
initrd		/boot/initrd.img-2.6.17-10-generic
boot

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

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title		Windows NT/2000/XP (loader)
root		(hd0,0)
savedefault
makeactive
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda2
title		Microsoft Windows XP dition familiale
root		(hd0,1)
savedefault
makeactive
chainloader	+1

Pour la commande que vous m'avez donner pour trouvez dans quel partition se trouve Grub ça affiche le message suivant:

Probing devices to guess BIOS drives. This may take a long time.

Je suis resté au moin 5min, apparement c'est toujours entrain de chercher.

Dernière modification par ali90 (Le 10/03/2007, à 19:04)

Hors ligne

#155 Le 10/03/2007, à 20:17

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

toujours pas débloqué ?
en tout cas je pense pas que ce soit (hd0,5) hmm


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#156 Le 10/03/2007, à 22:43

ali90

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Bonsoir,

Super ça marche parce-que c'était (hd0,4):D mais un autre gros probléme:( , c'est que l'option windows a disparue il n'ya que ubuntu , je ne peut plus choisir windows XP.


Merci de m'aider

Dans l'attente de vos reponses.
Merci.

Hors ligne

#157 Le 10/03/2007, à 23:19

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

autre gros problème mais hors sujet fais un autre post


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#158 Le 11/03/2007, à 13:13

timar146

Re : GRUB-GFX Le grub en image et stylé [BETA+]

salut,
merci a toi pour ton tuto, c'est justement ce que je regrettait avec ubuntu par rapport a suse.
maintenant il ne me reste plus cas personnaliser le theme.
a++

Hors ligne

#159 Le 14/03/2007, à 00:04

thx_84

Re : GRUB-GFX Le grub en image et stylé [BETA+]

j'ai rencontré le même problème que ali90, la partition win n'est pas reconnue lorsque menu.lst est généré automatiquement.

il faut coller manuellement la section qui concerne windows... je vais de ce pas rajouter une section dans le wiki


ben, comme on fait pour signer sur l'ordi??? mince, je viens de ficher en l'air l'écran avec mon stylo...

Hors ligne

#160 Le 15/03/2007, à 12:08

Denfound

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Bonjour,

J'aimerai savoir si il est possible par une quelconque manipulation de charger aléatoirement ou de changer de theme à chaque demarrage de grub ?

J'ai cherché un peu partout et je n'ai pas pu trouver de réponse sad.

#161 Le 20/03/2007, à 10:16

laetilodie

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Quelqu'un a réussi à faire fonctionner savedefault avec gfxboot, car je n'arrive pas à trouver ?
Si je désactive la ligne gfxmenu cela fonctionne mais une fois active plus de savedefault.

Hors ligne

#162 Le 20/03/2007, à 12:33

ptitpoul

Re : GRUB-GFX Le grub en image et stylé [BETA+]

laetilodie a écrit :

Quelqu'un a réussi à faire fonctionner savedefault avec gfxboot, car je n'arrive pas à trouver ?

Idem, j'ai l'impression que savedefault ne fonctionne pas dans la version gfxboot.

Hors ligne

#163 Le 21/04/2007, à 01:36

RHCP

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Bonjour,

J'utilisais déjà gfx-grub sous Dapper et je n'ai jamais eu un seul problème. Par contre là je fais face à un problème sous Feisty. En effet quand j'en viens au moment d'installer grub voilà ce qu'il se passe :

$ sudo grub-install hd0
/usr/sbin/grub-install: 272: Syntax error: redirection unexpected
$ df
Sys. de fich.           1K-blocs       Occupé Disponible Capacité Monté sur
/dev/sda1              8364900   3362300   4577684  43% /
varrun                  517164       108    517056   1% /var/run
varlock                 517164         0    517164   0% /var/lock
procbususb              517164       120    517044   1% /proc/bus/usb
udev                    517164       120    517044   1% /dev
devshm                  517164         0    517164   0% /dev/shm
lrm                     517164     33788    483376   7% /lib/modules/2.6.20-15-generic/volatile
/dev/sda2             87200816     75948  87124868   1% /media/sda2

J'ai bien essayé en tapant hd1, sda1, hda, sda,  /dev/sda1, . . .  mais rien n'y fait, toujours la même erreur.

Merci pour votre aide précieuse.

Dernière modification par RHCP (Le 21/04/2007, à 01:39)

Hors ligne

#164 Le 21/04/2007, à 06:31

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

ça ressemble beaucoup a ce post http://forum.ubuntu-fr.org/viewtopic.php?id=111824


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#165 Le 26/04/2007, à 13:55

Lokomass

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Bonjour,

J'ai essayé toutes mes methodes possibles, je bloque.
Voici le detail de tout ec que j'ai fais.

J'ai telecharger ce theme : http://www.gnome-look.org/content/show.php/Dark+Grey+Ubuntu+GFXBoot+Theme?content=43166

Puis je l'ai extrait j'obtiens :
"message.ubugrey"

J'installe gfxboot, je desinstalle grub, puis j'installe grub-gfxboot

Je tape dans un terminal

grub> find /boot/grub/stage1
 (hd0,2)

Alors je tape :

sudo gedit /boot/grub/menu.lst

Je tape aussi :

sudo mv /home/user/Desktop/message.ubugrey /boot/grub/message.snow

Je rajoute la ligne :

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

Donc je fais :

[lokomass@lokomass-desktop:~]$ sudo grub-install hd0
/usr/sbin/grub-install: 272: Syntax error: redirection unexpected

J'ai donc essayé de changer hd0 en plein de trucs mais l'erreur est toujours la meme.
J'ai trouvé aussi l'autre methode qui consiste a faire :

grub> find /boot/grub/stage1
 (hd0,2)

grub> root (hd0,2)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,2)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.

Bref ca ne fonctionne pas j'arrive au bout

Merci de votre aide


"Sans musique, la vie serait une erreur"

Hors ligne

#166 Le 26/04/2007, à 20:27

Piwaï[INSA]

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Bonjour,

J'ai eu un petit problème avec gfxboot :
Recemment, il a du faire une mise à jour, et s'est mis en tete de renommer mes entrées Ubuntu en entrées Debian... Un gros n'importe quoi, j'ai pas trop compris pourquoi.
Le post est la :
http://forum.ubuntu-fr.org/viewtopic.php?id=109774

Si quelqu'un a une idée...

Pour l'instant, j'ai retouché manuellement, mais si ca recommence, ca va etre relou..


http://www.piwai.info
Découvrez 2H4U (Too Hard For You) : http://www.sourceforge.net/projects/toohardforyou
et OpenGF : http://www.sourceforge.net/projects/opengf

Hors ligne

#167 Le 27/04/2007, à 05:52

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

renommer mes entrées Ubuntu en entrées Debian... Un gros n'importe quoi, j'ai pas trop compris pourquoi.

il ne faut pas oublier que ubuntu est une debian et puis ça prend 2mn pour renomer l'entrée smile


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#168 Le 27/04/2007, à 09:50

Piwaï[INSA]

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Certainement, faut juste voir à ce que ça le refasse pas tout le temps... et puis, comment savoir si ce n'est pas que la partie émergeante de l'iceberg, et que ya pas plein de problèmes partout ? Quand ce genre de chose survient à l'improviste, ya de quoi être surpris quand même..

Mais, je ne regrette quand même rien parce que gfxboot, c'est quand même achement plus joli smile


http://www.piwai.info
Découvrez 2H4U (Too Hard For You) : http://www.sourceforge.net/projects/toohardforyou
et OpenGF : http://www.sourceforge.net/projects/opengf

Hors ligne

#169 Le 27/04/2007, à 10:06

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

ah mais si ! ça le fait a chaque mise à jour du noyau . mais ça n'entaîne aucun problème de fonctionnement.
y a bien une façon  de contourner le problème mais c'est assez compliqué (niveau utilisateur averti).
il faut faire une partition de boot séparée avec des entrées chainloadées


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#170 Le 27/04/2007, à 10:26

Piwaï[INSA]

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Lol, ok je repasserai plus tard alors lol:lol::lol:

Tiens, tant que j'y suis :

A supposer que je veuille installer un 2e Ubuntu, sur une partition déjà existante (ya une debian etch dessus, et j'ai envie de tester feisty sans mettre mon système par terre).

Commnet faire pour lui demander de ne pas effacer grub ? De laisser le grub déjà en place et d'ajouter juste une entrée pour lui même ?

Merci d'avance big_smile

Dernière modification par Piwaï[INSA] (Le 27/04/2007, à 10:27)


http://www.piwai.info
Découvrez 2H4U (Too Hard For You) : http://www.sourceforge.net/projects/toohardforyou
et OpenGF : http://www.sourceforge.net/projects/opengf

Hors ligne

#171 Le 27/04/2007, à 10:52

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

ben justement big_smile utiliser le chainload http://forum.ubuntu-fr.org/viewtopic.php?id=55813
et installer le bootloader de la 2ième distri sur sa partition racine(ça c'est assez simple) smile

Dernière modification par misaine (Le 27/04/2007, à 10:58)


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#172 Le 27/04/2007, à 12:34

Lokomass

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Une idee pour mon probleme s'il vous plait, juste au dessus smile

Merci


"Sans musique, la vie serait une erreur"

Hors ligne

#173 Le 27/04/2007, à 13:36

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

lokomass > peux tu donner ton menu.lst ?


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne

#174 Le 27/04/2007, à 16:57

Lokomass

Re : GRUB-GFX Le grub en image et stylé [BETA+]

Voila :

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		4

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
##hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=d70af941-5717-4c2e-9dab-b24fb9d56636 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=ro quiet splash vga=791

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

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


## ## End Default Options ##

#splashimage=(hd0,2)/boot/grub/splashimages/splash.xpm.gz 

title		Linux
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.20-15-386 root=UUID=d70af941-5717-4c2e-9dab-b24fb9d56636 ro quiet splash
initrd		/boot/initrd.img-2.6.20-15-386
savedefault


title		Windows
root		(hd0,0)
savedefault
makeactive
chainloader	+1


title		Memtest
root		(hd0,2)
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

J'entend parler de grub patché, je n'ai pas ca moi, peut etre une piste ?

Dernière modification par Lokomass (Le 27/04/2007, à 17:41)


"Sans musique, la vie serait une erreur"

Hors ligne

#175 Le 27/04/2007, à 18:19

misaine

Re : GRUB-GFX Le grub en image et stylé [BETA+]

la seule erreur que je remarque est là

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
##hiddenmenu

la bonne formule est

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

peut être aussi enlever la ligne du spashimage inutile

Dernière modification par misaine (Le 27/04/2007, à 18:22)


la roue tourne...c'est sûr! c'est même pour ça qu'on l'a inventée.

Hors ligne