Page 1 sur 1
[fbsplash] Problème de configuration, démarrage (Résolu)
Publié : jeu. 17 févr. 2011, 20:11
par jmika
Bonjour,
Je souhaiterai installer soit fbsplash, soit splashy. J'ai commencé à installé fbsplash par yaourt en suivant la doc
http://wiki.archlinux.fr/howto/kernel/fbsplash.
Mais fbsplash ne démarre pas.
Voici mon /boot/grub/menu.lst :
Code : Tout sélectionner
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/3890976c-c894-4ad2-8451-0f941c6caf01 ro vga=795 splash=silent,theme:arch-banner-icons console=tty1 quiet
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/3890976c-c894-4ad2-8451-0f941c6caf01 ro
initrd /kernel26-fallback.img
et mes daemons dans /etc/rc.conf :
Code : Tout sélectionner
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(fbsplash syslog-ng network netfs crond dbus @fam gdm alsa)
Je ne sais pas comment le faire fonctionner.
Je vous remercie d'avance.

Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 08:59
par tazzon
Je n'ai jamais essayé avec fbsplash dans le rc.conf, j'ai toujours utilisé la méthode initrd et pas eu de problème mais si j'avais eu à la faire, c'est peut-être idiot mais j'aurais pas lancé le service en tout premier.
Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 09:22
par jmika
Merci de ton aide tazzon.
Mais ce n'est pas ce que j'ai fait ?

Le lancer en tout premier.
Bon, je vais essayer de le faire avec l'intrid. Je vous tiens au courant.
Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 09:27
par jmika
Bon, j'ai du faire une erreur car ça me renvoie ça:
Code : Tout sélectionner
[michael@michael ~]$ mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [fbsplash]
ERROR: Theme not found: /etc/splash/arch-banner-icons/1024x768.cfg
ERROR: Theme not found: /etc/splash/arch-banner-icons/1280x800.cfg
ERROR: Theme not found: /etc/splash/arch-banner-noicons/1024x768.cfg
ERROR: Theme not found: /etc/splash/arch-banner-noicons/1280x800.cfg
:: Parsing hook [autodetect]
ERROR: User does not have proper permissions to read superblocks, raid and filesystem modules are not detected
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'.../sbin/mkinitcpio: line 280: /boot/kernel26.img: Permission non accordée
FAILED
==> FAIL
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect,fbsplash
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'.../sbin/mkinitcpio: line 280: /boot/kernel26-fallback.img: Permission non accordée
FAILED
==> FAIL
[michael@michael ~]$
Je crois pourtant avoir installé un thème.

Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 09:46
par jmika
Je pense que j'avais mal modifier le /etc/conf.d/splash :
Code : Tout sélectionner
#
# /etc/conf.d/splash
#
#### initcpio and Fbsplash daemon ##########################################
## Themes to include into initcpio
## For a smaller initcpio you may try theme cfg files instead of directories.
arch-minimal=(
arch-black
arch-banner-icons/1024x768.cfg
arch-banner-icons/1280x800.cfg
arch-banner-noicons/1024x768.cfg
arch-banner-noicons/1280x800.cfg
)
Je viens de remplacer SPLASH_THEMES=( par arch-minimal=( mais ça me renvoie toujours une erreur. Et dans le wiki, ce n'est pas marquer de le remplacer par son thème, c'est marquer "le modifier à l'aide de son éditeur de texte favori". Ce n'est pas très clair.
Le mkinitcpio -p kernel26 me renvoie:
Code : Tout sélectionner
[michael@michael ~]$ mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [fbsplash]
/etc/conf.d/splash: line 9: Erreur de syntaxe près du symbole inattendu « newline »
/etc/conf.d/splash: line 9: `arch-minimal=('
:: Parsing hook [autodetect]
ERROR: User does not have proper permissions to read superblocks, raid and filesystem modules are not detected
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'.../sbin/mkinitcpio: line 280: /boot/kernel26.img: Permission non accordée
FAILED
==> FAIL
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect,fbsplash
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'.../sbin/mkinitcpio: line 280: /boot/kernel26-fallback.img: Permission non accordée
FAILED
==> FAIL
[michael@michael ~]$
Quelqu'un saurait t'il comment m'aider ? Merci de votre aide.

Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 11:09
par FoolEcho
jmika a écrit :Je viens de remplacer SPLASH_THEMES=( par arch-minimal=( mais ça me renvoie toujours une erreur.
Je ne vois pas pourquoi cette modification, c'est SPLASH_THEMES.
Tu n'as pas du installer arch-banner-icons et arch-banner-noicons, donc il ne trouve pas les cfg.
Concernant 'mkinitcpio', tu n'as simplement pas le droit en tant que simple utilisateur de coller l'image générer dans /boot (encore heureux). Fais-le en root.

Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 12:07
par jmika
Merci de ton aide. Ça a marché.
Mais maintenant, si je veux changer de thème, je fais comment ?

Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 13:02
par FoolEcho
Sur la ligne kernel dans le menu.lst, comme tu l'as fait dans ton premier message (tu n'as donc pas besoin de génèrer l'image à chaque fois, uniquement si tu rajoutes des thèmes).
Re: [fbsplash] Problème de configuration, démarrage
Publié : ven. 18 févr. 2011, 13:36
par jmika
Merci beaucoup.

Ça fonctionne. J'ai essayé quelques thèmes pour voir.
Je te remercie de ton aide FoolEcho.
