You are not logged in.

#1 2008-11-28 18:52:42

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Splashy showing splash screen on shutdown, but not on boot-up

I've decided to put my question in this part of forums, because it's somewhat related to kernel. I did everything step-by-step as it is described in Arch's wiki, so I have proper packages installed on my system

zbyszek ~ $  pacman -Qs splashy
local/initscripts-splashy 2008.08-2 (base)
    System initialization/bootup scripts with splash support
local/splashy 0.3.11-1
    A next-generation user-space boot splashing system for Linux systems
local/splashy-theme-darch 0.4.1-2
    Splashy theme for ArchLinux

I have edited /boot/grub/menu.lst file according to what's written there

(...)
# (0) Arch Linux
title  Arch Linux
root   (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/8b3e10c8-d868-4d49-82b3-a906fb63768b ro quiet splash vga=792
initrd /kernel26.img elevator=deadline
(...)

Then I have also edited my /etc/rc.conf

(...)
#
LOCALE="pl_PL.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Warsaw"
KEYMAP="pl"
CONSOLEFONT="lat2-16"
CONSOLEMAP="8859-2"
USECOLOR="yes"
# -----------------------------------------------------------------------
# SPLASHY
# -----------------------------------------------------------------------
SPLASH="splashy"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
(...)

and /etc/mkinitcpio.conf files

(...)
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata usbinput keymap filesystems splashy"

Finally after I had installed splashy-theme-darch and chosen darch-grey theme, I also have rebuild my initramfs with

mkinitcpio -p kernel26

Everything went very smoothly but after restart it didn't work. Even option <autoverboseonerror>no</autoverboseonerror> haven't helped. Funny thing is the chosen theme is showing up correctly while shutting-down the system, but not while booting-up. I can only see two Arch's logo with "loading initramfs:[/i] inscription below, and then I always end up with verbose mode.
Below is my /etc/splashy/config.xml file

<?xml version="1.0" encoding="UTF-8"?>
<!-- Automatically generated by splashy_config. Do not edit -->
<splashy>
    <!-- themes directory: conventional path /etc/splashy/themes -->
    <themes>/etc/splashy/themes</themes>
    <!-- current theme could be relative the themes defined above or full path -->
    <current_theme>darch-grey</current_theme>
    <!-- full path to theme to fall back in case of problems. DO NOT CHANGE -->
    <default_theme>/etc/splashy/themes/default</default_theme>
    <pid>/etc/splashy/splashy.pid</pid>
    <!-- to turn off verbose mode if there is an error during boot-up -->
    <autoverboseonerror>no</autoverboseonerror>
</splashy>

I've run onto very few similar descriptions on the Internet (see links below), but none of it helped me much with solving this problem. What could be wrong?

LINKS:

http://lists.alioth.debian.org/pipermai … 00250.html

http://ubuntuforums.org/archive/index.php/t-369912.html

http://splashy.alioth.debian.org/wiki/tips


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2008-11-29 21:14:03

mini
Member
Registered: 2006-12-18
Posts: 132

Re: Splashy showing splash screen on shutdown, but not on boot-up

Try first:

# splashy_config -s darch-grey

and change for /etc/mkinitcpio.conf (splashy should be before autodetect)

#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev splashy autodetect pata scsi sata usbinput keymap filesystems "

and again

mkinitcpio -p kernel26

I will try also

quiet vga=791 splash

in menu.lst

Last edited by mini (2008-11-29 21:15:49)

Offline

#3 2008-11-30 17:27:35

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

I've done what you advised me to do

bash-3.2# splashy_config -s darch-grey
>Set theme as: darch-grey          [ DONE ]
Run update-initramfs -u to update your initrd image
bash-3.2# mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.27-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [splashy]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usbinput]
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.27-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [splashy]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usbinput]
:: Parsing hook [keymap]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS

but still nothing sad


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#4 2008-12-01 18:33:20

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

During boot-up I was able to switch to VT1 and here's what I saw

::Loading initramfs
Splashy ERROR: Setting XML file to <</etc/splashy/themes/default/theme.xml>> failed XML file not found
Splashy ERROR: Could not find error image at /etc/splashy/themes/darch-grey/.
Splashy ERROR: Problems boot, Error -3

It seems that something is causing Splashy to fail, but I still don't know what could that be, as there are no errors reported during boot-up.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#5 2008-12-02 14:28:35

del-boy
Member
From: Novi Sad/Serbia
Registered: 2008-12-02
Posts: 3
Website

Re: Splashy showing splash screen on shutdown, but not on boot-up

I don't use any boot splash, but I played with some of them a year ago and I saw this kind of errors when I didn't include theme in initram file. I don't know what splashy hook is doing, but if it doesn't do this you should try do it by yourself (FILES variable in /etc/mkinitcpio.conf, I guess)... This would explain why splash is visable on shutdown (then splashy can find theme), and not on boot (in this part it uses initramfs as filesystem and can't access /etc/ directory on your HDD)...

Hope this helps...

Last edited by del-boy (2008-12-02 14:33:07)

Offline

#6 2008-12-02 18:45:10

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

Well, I've modified my /etc/mkinitcpio.conf file (see below) and regenerated the initramfs, but the problem remains.

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="pata_acpi ata_generic scsi_mod ata_piix sata_sil24"

# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish.  This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy parsed, so you may safely ignore libraries
BINARIES=""

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in anyway.  This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
#    FILES="/etc/modprobe.conf"
FILES="/etc/splashy/themes/darch-grey/background.png"

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'modload' may be used in place of 'udev', but is not recommended
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
#    This setup specifies all modules in the MODULES setting above.
#    No raid, lvm2, or encrypted root is needed.
#    HOOKS="base"
#
#    This setup will autodetect all modules for your system and should
#    work as a sane default
#    HOOKS="base udev autodetect pata scsi sata filesystems"
#
#    This is identical to the above, except the old ide subsystem is
#    used for IDE devices instead of the new pata subsystem.
#    HOOKS="base udev autodetect ide scsi sata filesystems"
#
#    This setup will generate a 'full' image which supports most systems.
#    No autodetection is done.
#    HOOKS="base udev pata scsi sata usb filesystems"
#
#    This setup assembles an pata raid array with an encrypted root FS.
#    Note: See 'mkinitcpio -H raid' for more information on raid devices.
#    HOOKS="base udev pata raid encrypt filesystems"
#
#    This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata usbinput keymap filesystems splashy"

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#7 2008-12-03 09:27:48

del-boy
Member
From: Novi Sad/Serbia
Registered: 2008-12-02
Posts: 3
Website

Re: Splashy showing splash screen on shutdown, but not on boot-up

Yes, but look at your error message... It says that file that is missing is /etc/splashy/themes/default/theme.xml, not /etc/splashy/themes/darch-grey/background.png. Actually, I don't thing that simple adding theme.xml file will work, you will probably have to add other files too (background, among them). Try adding one by one as the error message changes until it works... After that, if it doesn't work, i have no more ideas sad

Offline

#8 2008-12-11 06:12:37

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

I'm not sure how to add multiple file paths to my /etc/mkinitcpio.conf. Should I list them one by one separated by commas or one below another?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#9 2008-12-16 22:31:48

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

Does anyone have any suggestion what should I try next?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#10 2008-12-19 22:08:32

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Splashy showing splash screen on shutdown, but not on boot-up

Guess I will have to give up on this and uninstall Splashy... Let's say that this thread is closed but surely not solved.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB