Option du boot ?

Je voudrai mettre une autres résolution aux démarrage de grub, car la c’est en 480*600, c’est pas très estetique dirons-nous, enfin ne pas changer que le menu mai la resolution entière.8)
j’ai vu qu’on peut recompiler le noyaux avec un logo aussi mai je voit pas trop comment on si prend ? histoire d’y mettre un beau tux :slightly_smiling:

j’ai regarder le man de : boot et de bootparam mai il ce fond un peux vieux (1995) et je pense qu’il ne sont donc plus a jours surtout concernant grub.

Merci d’avances

Ben alors qu’est-ce que tu fait, une petite recherche rapide sur google et j’ai trouvé
linuxfr.org/tips/249.html
minet.net/spip/spip.php?article121

Regarde aussi du coté de bootsplash

[quote=“Ashgenesis”]

Regarde aussi du coté de bootsplash[/quote]
il y a m^ un fil sur ça et je crois que c’est ds T&A

Oui c’est d’ailleurs pour ca que j’y est jeté un oeil rapide mais je n’ai pas vu parler de changement de résolution. Mais c’est tout de meme interressant d’aller voir :wink:

bon ben essayer sa marche pas :smt017

Les détailes du pourquoi du comment que j’ai fais :laughing:

Donc deja il faut les source du noyaux qui son a decompresser dans un répertoire.

il nous faut les sources :
linux-source-2.6.18.tar.bz2
Je décompresse dans un répertoire sur le bureau /compile
ou je fait mes compiles dans un sou répertoire ici c’est 12 (donc vous avez devinez c’est ma 12 eme compilation) sa me permet aussi d’avoir les driver nvidia sous la main.

Ce qui donne en chemin complet:

/home/tnt/Desktop/compile/12/linux-source-2.6.18

Ensuite on recupere le .config on place la copie dans
/home/tnt/Desktop/compile/12/linux-source-2.6.18

Et enfin on fait un su
et on tape un :

on active ce qui a été mis sur le tuto

Ensuite on lance la compile dans un tty et pas dans un terminal parce que quand X plente faut recommencer, de plus si on a pas (plu) besoin de X on le désactive sa compile plus vite chez moi je gagne 20 minute. Donc on fait:

puis on installe le noyaux avec un

ensuite on fait ce qui est marquer dans le tuto (enfin si j’ai bien capter)

un apt-get install bootsplash

ensuite en root tape :

on redémarre et ben le seul changement que j’ai noter c’est l’apparition des [ok] apres le chargement/dechargement des perif sur la droite

bref pour les driver nvidia je fait un

[quote] cd /home/tnt/Descktop/compile && ./NVIDIA-Linux-x86-1.0-9746-pkg1.run --uninstall && ./NVIDIA-Linux-x86-1.0-9746-pkg1.run -aqnN
[/quote]

mai la résolution est la même et pas d’image … ?

une idée ?

qu’a tu mis comme instructions dans grub?

vga=791?(ou un truc du genre)

http://forum.debian-fr.org/viewtopic.php?t=5288&highlight=usplash

regarde à la fin du premier post de Boris the Butcher il faut aussi passer l’option splash sur ta ligne de boot

ah oui j’oubliais, c’est un bootsplash 16 couleurs, ou plus ?

2 choses qui me viennent rapidement à l’esprit :
1/ ton bootsplash fait effectivement 1024/768 mais l’as tu bien précisé dans la config de bootsplash (cf mon post au dessus indique comment faire.)

2/ Tu utilise les drivers nvidia fournis par nvidia. Si ca marche pour toi tant mieux mais il est préférable d’utiliser la méthode debian pour l’installation ça évite des problèmes ultérieurs. (cf truc & astuces/installation nvidia … )

voici le grub.lst

# 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		5

# 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=/dev/hda1 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=
defoptions=vga=791 resume=/dev/hda1 splash 

## 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=(single-user) single
# altoptions=(single-user 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 ##

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-12
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-12 root=/dev/hda1 ro 
initrd		/initrd.img-2.6.18amd-1000hz-12
savedefault

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-12 (single-user mode)
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-12 root=/dev/hda1 ro single
initrd		/initrd.img-2.6.18amd-1000hz-12
savedefault

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-11
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-11 root=/dev/hda1 ro 
initrd		/initrd.img-2.6.18amd-1000hz-11
savedefault

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-11 (single-user mode)
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-11 root=/dev/hda1 ro single
initrd		/initrd.img-2.6.18amd-1000hz-11
savedefault

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-10
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-10 root=/dev/hda1 ro 
initrd		/initrd.img-2.6.18amd-1000hz-10
savedefault

title		Debian GNU/Linux, kernel 2.6.18amd-1000hz-10 (single-user mode)
root		(hd0,4)
kernel		/vmlinuz-2.6.18amd-1000hz-10 root=/dev/hda1 ro single
initrd		/initrd.img-2.6.18amd-1000hz-10
savedefault

title		Debian GNU/Linux, kernel 2.6.18-3-486
root		(hd0,4)
kernel		/vmlinuz-2.6.18-3-486 root=/dev/hda1 ro 
initrd		/initrd.img-2.6.18-3-486
savedefault

title		Debian GNU/Linux, kernel 2.6.18-3-486 (single-user mode)
root		(hd0,4)
kernel		/vmlinuz-2.6.18-3-486 root=/dev/hda1 ro single
initrd		/initrd.img-2.6.18-3-486
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

j’ai pas utiliser le tuto de boris qui ne corespond pas aux autre tuto :smt120 :smt120

en effet on fait le lien avec

/sbin/splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg >> /boot/initrd.splas

et l’image a la réference dans

/etc/bootsplash/themes/debian/config/bootsplash-1024x768.cfg

don voici le code:

# This is a bootsplash configuration file for 
# theme debian, resolution 1024x768.

# config file version
version=3

# should the picture be displayed?
state=1

# fgcolor is the text forground color.
# bgcolor is the text background (i.e. transparent) color.
fgcolor=7
bgcolor=0

# (tx, ty) are the (x, y) coordinates of the text window in pixels.
# tw/th is the width/height of the text window in pixels.
tx=25
ty=28	
tw=979
th=649

# ttf message output parameters
# text_x=312
# text_y=532
# text_size=18
# text_color=0xeef4ff
# text_color=-0x000000

# name of the picture file (full path recommended)
jpeg=/etc/bootsplash/themes/debian/images/bootsplash-1024x768.jpg
silentjpeg=/etc/bootsplash/themes/debian/images/silent-1024x768.jpg

progress_enable=1

# (ax, ay) are the (x, y) coordinates for playing boot/shutdown animations
ax=375
ay=145

# background
box silent noover  204 552 820 582 #04045498
box silent inter   204 553 204 581 #ffffff #ffffff #526bb0 #526bb0
box silent         204 553 820 581 #ffffff #ffffff #526bb0 #526bb0

# black border
box silent         204 552 820 552 #313234
box silent         204 582 820 582 #eef4ff
box silent         204 552 204 582 #313234
box silent         820 552 820 582 #eef4ff

# text box (left, top)
# box     19 19  19 679 #313234
# box     19 19 1005 19 #313234
# (right, bottom)
# box     1005 19 1005 679 #eef4ff
# box     19 679 1005 679 #eef4ff

# box itself
box noover 20 20 1004 678 #04045498
overpaintok=1

les 2 grep aux cas ou .

ch:/# grep CONFIG_FB /boot/config-`uname -r`
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_CIRRUS=m
CONFIG_FB_PM2=m
CONFIG_FB_PM2_FIFO_DISCONNECT=y
CONFIG_FB_CYBER2000=m
CONFIG_FB_ARC=m
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
# CONFIG_FB_IMAC is not set
CONFIG_FB_HGA=m
# CONFIG_FB_HGA_ACCEL is not set
CONFIG_FB_S1D13XXX=m
CONFIG_FB_NVIDIA=m
CONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_RIVA is not set
CONFIG_FB_I810=m
# CONFIG_FB_I810_GTF is not set
CONFIG_FB_INTEL=m
# CONFIG_FB_INTEL_DEBUG is not set
CONFIG_FB_MATROX=m
CONFIG_FB_MATROX_MILLENIUM=y
CONFIG_FB_MATROX_MYSTIQUE=y
CONFIG_FB_MATROX_G=y
CONFIG_FB_MATROX_I2C=m
CONFIG_FB_MATROX_MAVEN=m
CONFIG_FB_MATROX_MULTIHEAD=y
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_DEBUG is not set
CONFIG_FB_ATY128=m
CONFIG_FB_ATY=m
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GENERIC_LCD=y
CONFIG_FB_ATY_GX=y
CONFIG_FB_SAVAGE=m
CONFIG_FB_SAVAGE_I2C=y
# CONFIG_FB_SAVAGE_ACCEL is not set
CONFIG_FB_SIS=m
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
CONFIG_FB_NEOMAGIC=m
CONFIG_FB_KYRO=m
CONFIG_FB_3DFX=m
# CONFIG_FB_3DFX_ACCEL is not set
CONFIG_FB_VOODOO1=m
CONFIG_FB_CYBLA=m
CONFIG_FB_TRIDENT=m
# CONFIG_FB_TRIDENT_ACCEL is not set
CONFIG_FB_GEODE=y
CONFIG_FB_GEODE_GX=m
CONFIG_FB_GEODE_GX1=m
CONFIG_FB_VIRTUAL=m

et

[code]
grep CONFIG_FB_VGA16 /boot/config-uname -r
CONFIG_FB_VGA16=m

[/code][/code]

'tain j’y comprend rien :laughing:

c’est pas la même methode, mais bon je te donne quand même mes lignes de boot :

title Debian GNU/Linux, kernel 2.6.18.1jerome root (hd2,0) kernel /boot/vmlinuz-2.6.18.1jerome root=/dev/sda1 ro vga=791 splash quiet initrd /boot/initrd.img-2.6.18.1jerome

t’a vu juste sa marche MERCI ,
mai lol le pire dans tou sa c’est que sa charge pas l’image que j’ai mis dasn le fichier cfg ??? mai un autre truc a la place donc je me demande ou j’ai foiré .

sinon j’ai un bug, quand je redémarre le pc l’écran devien noire et reste noire … bizzard ce bug je vai essayer de recompiler sans la gestion d’énergie pour voire.

salut, je sais que tu peut passer plusieur paramêtres à l’option vga=

Avec un peut de chance ca viens de là. Soit tu cherche tous les modes que l’on peut passer à vga= , soit tu convertit ton image en 16couleurs pour l’instant :wink: