View previous topic :: View next topic |
Author |
Message |
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 2:45 pm Post subject: Bootsplash startet nicht (solved) |
|
|
Hallo Leute
ich bin gerade dabei mir etwas Erfahrungen mit Bootsplash anzueignen. Bis heute habe ich immer den normalen Framebuffer verwendet.
Als Anleitung habe ich folgendes Dokument verwendet:
https://forums.gentoo.org/viewtopic.php?t=49036&highlight=the+gentoo+framebuffer
Problem: Der Bootsplash will einfach nicht starten.
Linux startet ganz normal.
Kernel 2.6.6
anschließend
Quote: |
emerge bootsplash
bootsplash_patch
|
ausgeführt. Darauf alle Parameter in der Kernel Konfiguration so wie in der Anleitung beschrieben. Ebenfalls darauf geachtet, das kein "nVidia Riva support" und kein "Bootup logo" aktiviert ist.
Hier meine /boot/grub/grub.conf
Code: |
default 0
timeout 5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Kernel-2.6.6 (+fb +splash)
root (hd0,4)
kernel (hd0,4)/boot/kernel-2.6.6 root=/dev/hda7
video=vesafb:ywrap,mtrr vga=0x31A
initrd=/boot/initrd-1280x1024
|
Beim booten erhalte ich immer:
could not found /etc/conf.d/bootsplash.conf
In dem besagten HowTo war die Info das bei Problemen die Kernel Option "/dev/agpart" zu deaktivieren ist. Habe ich auch versucht. Problem besteht weiterhin.
Was mir auffiehl: Wenn im Kernel die Option "VGA 16-color graphics support" aktiviert ist, und das System neugestartet wird, erscheinen ein Gentoo Bild beim booten, jedoch mit völlig verfälschten Farben. Es ist nichts zu erkennen. Diese Funktion habe ich sofort wieder deaktivert, da diese auch nicht im HowTO angesprochen werden.
Weiß jemand Rat?
Beste Grüße
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Last edited by benjamin200 on Wed May 26, 2004 7:12 pm; edited 1 time in total |
|
Back to top |
|
|
joe0815 n00b
Joined: 13 May 2004 Posts: 26
|
Posted: Wed May 26, 2004 3:19 pm Post subject: Re: Bootsplash startet nicht |
|
|
benjamin200 wrote: | Beim booten erhalte ich immer:
could not found /etc/conf.d/bootsplash.conf
|
Ist das File denn da? Da gab's glaube ich ein Example file dafür.
Grüße
Jo |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 3:28 pm Post subject: |
|
|
in /etc/conf.d/ liegt nur eine bootsplash mit folgendem Inhalt:
Code: |
# /etc/init.d/bootsplash.conf
# The name of the theme that should be used during
# startup/shutdown. You can also set this with
# the kernel parameter 'theme' (e.g. by addying
# 'theme=something' to your kernel parameters in
# the bootloader configuration file). The kernel
# parameter overrides BOOTSPLASH_THEME. If both
# variables are empty, 'default' is assumed.
BOOTSPLASH_THEME="gentoo"
# The numbers of ttys (seperated by space) which should
# get the splash (e.g. for tty 1-5: "0 1 2 3 4 5")
#
# If you want to have different splash images on the ttys
# then you have to link the configuration file of that
# image to your theme's config directory as
# vtsplash-X-Y.cfg, where X is the tty number and Y the
# resolution.
# Assumed, your current theme is /etc/bootsplash/gentoo/ and
# you want to have the splash image from /etc/bootsplash/Linux
# on console 2 (at 800x600), then you have to link as follows:
#
# ln -s /etc/bootsplash/Linux/config/bootsplash-800x600.cfg \
# /etc/bootsplash/gentoo/config/vtsplash-1-800x600.cfg
#
BOOTSPLASH_TTYS="0 1 2 3 4 5"
# Should the silent splash be stopped on errors? (yes/no) (default: no)
BOOTSPLASH_STOP_ON_ERROR="no"
# You can use a custom TrueType font to display the silent splash
# messages. The given font has to be put to /etc/bootsplash
# BOOTSPLASH_FONT="luxisri.ttf"
# Here you can customize the messages displayed during boot/reboot/shutdown
# PROGRESS_BOOT_MESSAGE="Booting the system... Press F2 for verbose mode"
# PROGRESS_SHUTDOWN_MESSAGE="Shutting down the system... Press F2 for verbose mode"
# PROGRESS_REBOOT_MESSAGE="Rebooting the system... Press F2 for verbose mode"
|
Eine bootsplash.conf kann ich nirgends finden. Wenn ich in der Anleitung nach eine bootsplash.conf suche findet er Sie, es wird aber wohl davon ausgegangen, das diese schon existiert. Wie gesagt, bei mir heißt die /etc/conf.d/bootsplash
Übrigens, da ich "rc-update add bootsplash default" ausgeführt habe, erhalte ich die besagte Fehlermeldung erst fast am ende des kompletten Bootvorganges. Das Bootsplash sollte aber eigentlich sofort starten - sehe ich doch richtig, oder?
Gruß
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
leuenberger Tux's lil' helper
Joined: 13 Jul 2003 Posts: 147 Location: Zurich, ZH, Schweiz
|
Posted: Wed May 26, 2004 4:15 pm Post subject: |
|
|
Quote: | Übrigens, da ich "rc-update add bootsplash default" ausgeführt habe, erhalte ich die besagte Fehlermeldung erst fast am ende des kompletten Bootvorganges. Das Bootsplash sollte aber eigentlich sofort starten - sehe ich doch richtig, oder? |
Das ist schon gut so. Das Start-Skript /etc/init.d/boorsplash sorgt nur dafür, dass Du auf allen virtuellen Terminals den Bootsplash siehst.
Wenn Du nicht gleich nach dem Grub den Bootsplash siehst, dann hast Du etwas mit der initrd oder der Kernel-Config Probleme.
Quote: | Eine bootsplash.conf kann ich nirgends finden. Wenn ich in der Anleitung nach eine bootsplash.conf suche findet er Sie, es wird aber wohl davon ausgegangen, das diese schon existiert. Wie gesagt, bei mir heißt die /etc/conf.d/bootsplash |
Im Start-Skript /etc/init.d/boorsplash findest Du auf den ersten paar Linien ein Befehl source /etc/conf.d/.... Was steht da?
Ich benuten einen anderen Grafik-Treiber (video=vesa:ywrap,mtrr). Kann mir aber nicht vorstellen, dass es daran liegt.
Gruss Reto |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 4:47 pm Post subject: |
|
|
Danke für die Erläuterung von /etc/conf.d/bootsplash.conf. So weit so gut. Also
in der /etc/init.d/bootsplash steht folgendes
Code: |
# source our config
source /etc/conf.d/bootsplash.conf
|
Die Kernel Optionen habe ich wie in der Anleitung beschrieben gesetzt. Was ich doch ziemlich komisch finde ist, das dur die vga Option "vga=x31A die Auflösung beim booten und schließlich auch auf den Konsolen bei "720x400" liegt. Die vga Option sollte doch eigentlich den Framebuffer auf 1280x1024 setzen.
Nochmals ein Auszug aus meinem ersten Post:
Was mir auffiehl: Wenn im Kernel die Option "VGA 16-color graphics support" aktiviert ist, und das System neugestartet wird, erscheinen ein Gentoo Bild beim booten, jedoch mit völlig verfälschten Farben. Es ist nichts zu erkennen. Diese Funktion habe ich sofort wieder deaktivert, da diese auch nicht im HowTO angesprochen werden. _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
x000x Tux's lil' helper
Joined: 18 Jun 2002 Posts: 86 Location: Germany - Hamburg
|
Posted: Wed May 26, 2004 5:09 pm Post subject: |
|
|
hi,
keine Ahnung ob es von Bedeutung ist, aber bei mir steht Code: | kernel (hd0,4)/boot/kernel-2.6.6 root=/dev/hda7 video=vesafb:ywrap,mtrr vga=0x31A | in einer Zeile.
EDIT: +n bei Ahnung _________________ -= Gruss Peter =-
-= alias x000x =-
Peter wrote: | perl -e 'print "\x47\x72\x75\x73\x73\x20\x50\x65\x74\x65\x72\x20\x3b\x2d\x29\x0a";' |
Last edited by x000x on Wed May 26, 2004 5:39 pm; edited 1 time in total |
|
Back to top |
|
|
rblock l33t
Joined: 04 Apr 2004 Posts: 626 Location: Germersheim
|
Posted: Wed May 26, 2004 5:35 pm Post subject: |
|
|
Also ich habe gerade auch Bootsplash konfiguriert aber noch nicht gestartet. Da ich diesen Thread gerade gefunden habe.
Also bei mir in der /etc/init.d/bootsplash steht "source /etc/conf.d/bootsplash", also genau die Datei, die in /etc/conf.d/ auch zu finden ist.
Allerdings habe ich den Patch bisher nicht installiert. Sollte es Probleme geben, werde ich dies nachholen.
EDIT: Ein kleiner Nachtrag: Ich habe gerade gebootet und es funktionierte einwandfrei. Was für eine Grafikkarte hast Du? In der Anleitung steht z.B. etwas von "Option NvAGP 1". Dies ist aber nur bei NVidia-Karten notwendig.
Testende Grüße _________________ Reiner
--
"Wer fragt, ist ein Narr für fünf Minuten. Wer nicht fragt, bleibt ein Narr für immer." Chinesische Weisheit
"Erfolg hat, wer ihm entgegengeht, statt ihm nachzulaufen." Onassis, Aristoteles
Reiner Block
http://www.feba-software.de |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 5:47 pm Post subject: |
|
|
Habe die Einstellungen von vga in die Zeile kernel geschoben und siehe da, das Bootsplash startet mit der Auflösung von 1280X1024 bei 60Hz. Nun stellen sich mir aber noch weitere Fragen.
a)
leuenberger schrieb:
Code: |
Das ist schon gut so. Das Start-Skript /etc/init.d/boorsplash sorgt nur dafür, dass Du auf allen virtuellen Terminals den Bootsplash siehst.
|
Die Datei /etc/conf.d/bootsplash.conf existiert auf meinem System nicht. Dies wird auch beim starten des Dienstes /etc/init.d/bootsplash beim booten als Fehler bemängelt. Trotzdem habe ich auf allen Konsolen den Bootsplash. Wieso? Muss ich die bootsplash.conf nicht doch noch erstellen?
b)
Auf meinem Gentoo System habe ich unter XFree eine Auflösung von exakt 1280x1024 bei 60Hz. Genau so startet auch das Bootsplash, selbe Auflösung & Herz. Allerding ist die Ansicht nicht korrekt, der Bootsplash ist ziemlich nach links gezogen, so auf der rechten Seite vom Bildschirm ca. 1cm schwarzer Rand ist. Sehr unschön. Lässt sich das justieren? Wenn ja, wie nehme ich die Justierung vor?
c)
Ich habe erwartet, das der Bootsplash, wie auch bei der LiveCD die Möglichkeit bietet, den Ablauf des Bootvorganges in einer Status Zeile, wie bei z.B. Suse und XP anzeigt. So das man bei Bedarf mit F2 auf die Kosole schaltet. Das läuft ja auch bei der LiveCD, wie kann ich dieses Feature aktivieren?
Beste Grüße
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
x000x Tux's lil' helper
Joined: 18 Jun 2002 Posts: 86 Location: Germany - Hamburg
|
Posted: Wed May 26, 2004 6:00 pm Post subject: |
|
|
zu a)
poste dochmal deine /etc/init.d/bootsplash
zu b)
war bei mir ähnlich, habe das am monitor korrigiert
zu c)
trage mal folgendes in deine grub.conf Code: | kernel (hd0,4)/boot/kernel-2.6.6 root=/dev/hda7 video=vesafb:ywrap,mtrr vga=0x31A splash=silent |
EDIT: splash=silent anhängen, meine ich _________________ -= Gruss Peter =-
-= alias x000x =-
Peter wrote: | perl -e 'print "\x47\x72\x75\x73\x73\x20\x50\x65\x74\x65\x72\x20\x3b\x2d\x29\x0a";' |
|
|
Back to top |
|
|
leuenberger Tux's lil' helper
Joined: 13 Jul 2003 Posts: 147 Location: Zurich, ZH, Schweiz
|
Posted: Wed May 26, 2004 6:50 pm Post subject: |
|
|
Soweit ich weiss hat der Bootsplash nichts mit X zu tun. Es ist im Prinzip der Text-Mode des Monitors (in den Grafik-Mode) wird erst beim Start von X gewechselt).
Wie x000x geschrieben hat, ist es möglich das Problem über den Monitor zu korrigieren. Du verstellst damit nicht die Einstellungen des Grafik-Modes.
Quote: | Danke für die Erläuterung von /etc/conf.d/bootsplash.conf. So weit so gut. Also
in der /etc/init.d/bootsplash steht folgendes
Code: | # source our config
source /etc/conf.d/bootsplash.conf |
|
Verändere die Datei /etc/init.d/bootsplash:
Code: | # source our config
# source /etc/conf.d/bootsplash.conf
source /etc/conf.d/bootsplash |
Das sollte die Fehler-Meldung eliminieren.
Gruss Reto |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 7:12 pm Post subject: |
|
|
Vorab: ich setze den Status des Threads auf "solved". Er läuft das Feintunning muss noch durchgeführt werden.
zu a)
Code: |
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# source our config
source /etc/conf.d/bootsplash.conf
# default settings
test -z "${BOOTSPLASH_THEME}" && BOOTSPLASH_THEME="default"
test -z "${BOOTSPLASH_TTYS}" && BOOTSPLASH_TTYS=`seq 0 5`
depend() {
# run after local so that the boot time splash image
# is visible for as long as possible
need local
}
box () {
# dummy function to handle sourcing of bootsplash config file
return;
}
start() {
# Only do this if the kernel has support
if [ -f /proc/splash ]
then
ebegin "Setting Console frame buffer images"
# try to get bootsplash theme from kernel command line
for param in `grep "theme=" /proc/cmdline`; do
if [ "${param%=*}" == "theme" ]; then
BOOTSPLASH_THEME="${param#*=}"
fi
done
# get console resolution
RESOLUTION=$(/sbin/fbresolution)
# switch to a usable image on all consoles
for TTY in `echo "${BOOTSPLASH_TTYS}" | sed -e 's# #\n#g'`
do
# support for a different config per virtual terminal
if [ -e /etc/bootsplash/${BOOTSPLASH_THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg ]
then
/sbin/splash -s -u $TTY -n /etc/bootsplash/${BOOTSPLASH_THEME}/config/vtsplash-${TTY}-${RESOLUTION}.cfg
else
/sbin/splash -s -u $TTY -n /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg
fi
done
eend $? "Failed to set frame buffer console images"
fi
}
stop() {
CHVT=$(which chvt)
# Stop doesn't really stop, it actually changes the image
# on vt1 back to the bootsplash image.
# Only do this if the kernel has support
if [ -f /proc/splash ]
then
ebegin "Setting Console frame buffer images"
# source bootsplash config
source /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg
# Put bootsplash image up
/sbin/splash -s -u 0 /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg
# ensure "silent" image is displayed
echo "silent" > /proc/splash
# switch to vt1 (must be &'d otherwise script hangs)
${CHVT} 1 &
# print a nice message
# /sbin/fbtruetype ........
eend $? "Failed to set frame buffer console images"
fi
}
|
Werde den Vorschlag von leuenberger auf jeden Fall noch ausprobieren. Was ich versuchte hat war, die Datei /etc/bootsplash/gentoo/config/bootsplash-1280x1024.cfg als bootsplash.conf abzuspeichern und diese nach /ect/conf.d/ zu kopieren. Anschließend erhielt ich mehrere /sbin/rc Fehler auf der Konsole.
zu b)
ich habe hier einen Video Seven SP17 Flatscreen Monitor. Wenn ich hier am Monitor was korrigiere, z.B. unter X, dann ist es auf der Konsole schei****. Die Lösung war die Einstellungen von X mit "xf86cfg" anzupassen bzw. das Bild zu justieren.
zu c)
splash=silent anhängen. Das wars.
Danke für eure Unterstützung _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Wed May 26, 2004 8:00 pm Post subject: |
|
|
Das Problem mit dem Start von /etc/init.d/bootsplash konnte ich
Dank leuenberger lösen. Merci
Gruß
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
|