[Risolto] Plymouth non cambia

Community Pod OpenMandriva Italia
User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

se funziona da me deve funzionare anche da te

prova su una nuova vm
questo è tutto quello che devi digitare:

Code: Select all

# plymouth-set-default-theme nome_del_tema --rebuild-initrd
# reboot
ciao, Luca

User avatar
rugyada
Amministratore
Amministratore
Posts: 1545
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.1 64bit
Kernel: kernel-relea current
Desktop: KDE tutta la vita
country: Italy

Re: Plymouth non cambia

Post by rugyada »

azioga wrote:se funziona da me deve funzionare anche da te
Pare più facile a dirsi che a farsi, e sta diventando anche un filo frustrante :evil:


L'esito degli ultimi test in macchina virtuale:

Primo test

1) Nuovo download per scongiurare improbabili ma possibili differenze di file iso
2) Installazione in virtualbox su sistema Linux ROSA Fresh
3) Aggiornata la macchina, fatte alcune personalizzazioni utente come di consueto
4) Tentativo di cambiare tema di plymouth (FALLITO)

Code: Select all

[cristina@localhost ~]$ su
Password: 
[root@localhost cristina]# plymouth-set-default-theme OpenMandriva2014 --rebuild-initrd
Executing: /sbin/dracut -f /boot/initrd-3.11.8-nrjQL-desktop-1omv.img 3.11.8-nrjQL-desktop-1omv
dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut module 'cifs' depends on 'network', which can't be installed
dracut module 'nfs' depends on 'network', which can't be installed
dracut module 'aufs-mount' will not be installed, because it's in the list to be omitted!
*** Including module: bash ***
*** Including module: dash ***
*** Including module: xorgblacklist ***
*** Including module: i18n ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: uvesafb ***
*** Including module: plymouth ***
*** Including module: btrfs ***
*** Including module: crypt ***
*** Including module: dm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 60-persistent-storage-dm.rules
Skipping udev rule: 55-dm.rules
*** Including module: dmraid ***
*** Including module: kernel-modules ***
*** Including module: lvm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 56-lvm.rules
Skipping udev rule: 60-persistent-storage-lvm.rules
*** Including module: mdraid ***
Skipping udev rule: 63-md-raid-arrays.rules
Skipping udev rule: 64-md-raid-assembly.rules
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Stripping files ***
*** Stripping files done ***
*** Creating image file ***
*** Creating image file done ***
[root@localhost cristina]# reboot
(reboot)

Code: Select all

[cristina@localhost ~]$ ls -al /boot
totale 90056
drwxr-xr-x  6 root root     4096 gen 12 04:19 ./
drwxr-xr-x 23 root root     4096 gen 12 04:22 ../
-rw-r--r--  1 root root   147320 nov 19 22:39 config-3.11.8-nrjQL-desktop-1omv
drwxr-xr-x  2 root root     4096 nov 19 15:45 dracut/
drwxr-xr-x  3 root root     4096 nov 21 15:30 efi/
drwxr-xr-x  2 root root     4096 giu 17  2013 grub/
drwxr-xr-x  6 root root     4096 gen 12 02:11 grub2/
-rw-------  1 root root 14449488 nov 21 15:40 initramfs-3.11.8-nrjQL-desktop-1omv.img
-rw-------  1 root root 19550640 gen 12 04:19 initrd-3.11.8-nrjQL-desktop-1omv.img
-rw-r--r--  1 root root 25475524 gen 12 02:11 initrd.img
-rw-------  1 root root 25475524 nov 21 15:41 liveramfs-3.11.8-nrjQL-desktop-1omv.img
-rw-r--r--  1 root root   166412 ago 24 19:50 memtest.bin
-rw-r--r--  1 root root   203872 nov 19 22:39 symvers-3.11.8-nrjQL-desktop-1omv.xz
-rw-r--r--  1 root root  2875419 nov 19 22:39 System.map-3.11.8-nrjQL-desktop-1omv
-rw-r--r--  1 root root  3833584 nov 19 22:39 vmlinuz-3.11.8-nrjQL-desktop-1omv
lrwxrwxrwx  1 root root       33 nov 21 15:22 vmlinuz-nrjQL-desktop -> vmlinuz-3.11.8-nrjQL-desktop-1omv
[cristina@localhost ~]$ 


Secondo test

1) Nuovo download da altro mirror
2) Installazione in virtualbox su sistema windows7
3) Nessun aggiornamento, nessuna personalizzazione, installazione fresca e immacolata
4) Tentativo di cambiare tema di plymouth (FALLITO)

Code: Select all

[cristina@localhost ~]$ su
Password: 
[root@localhost cristina]# plymouth-set-default-theme OpenMandriva2014 --rebuild-initrd
Executing: /sbin/dracut -f /boot/initrd-3.11.8-nrjQL-desktop-1omv.img 3.11.8-nrjQL-desktop-1omv
dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut module 'cifs' depends on 'network', which can't be installed
dracut module 'nfs' depends on 'network', which can't be installed
dracut module 'aufs-mount' will not be installed, because it's in the list to be omitted!
*** Including module: bash ***
*** Including module: dash ***
*** Including module: xorgblacklist ***
*** Including module: i18n ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: uvesafb ***
*** Including module: plymouth ***
*** Including module: btrfs ***
*** Including module: crypt ***
*** Including module: dm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 60-persistent-storage-dm.rules
Skipping udev rule: 55-dm.rules
*** Including module: dmraid ***
*** Including module: kernel-modules ***
*** Including module: lvm ***
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 56-lvm.rules
Skipping udev rule: 60-persistent-storage-lvm.rules
*** Including module: mdraid ***
Skipping udev rule: 63-md-raid-arrays.rules
Skipping udev rule: 64-md-raid-assembly.rules
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Stripping files ***
*** Stripping files done ***
*** Creating image file ***
*** Creating image file done ***
[root@localhost cristina]# reboot
(reboot)

Code: Select all

[cristina@localhost ~]$ ls -al /boot
totale 90404
drwxr-xr-x  6 root root     4096 gen 12 16:43 ./
drwxr-xr-x 23 root root     4096 gen 12 16:45 ../
-rw-r--r--  1 root root   147320 nov 19 22:39 config-3.11.8-nrjQL-desktop-1omv
drwxr-xr-x  2 root root     4096 nov 19 15:45 dracut/
drwxr-xr-x  3 root root     4096 nov 21 15:30 efi/
drwxr-xr-x  2 root root     4096 giu 17  2013 grub/
drwxr-xr-x  6 root root     4096 gen 12 16:10 grub2/
-rw-------  1 root root 14449488 nov 21 15:40 initramfs-3.11.8-nrjQL-desktop-1omv.img
-rw-------  1 root root 19906660 gen 12 16:43 initrd-3.11.8-nrjQL-desktop-1omv.img
-rw-r--r--  1 root root 25475524 gen 12 16:10 initrd.img
-rw-------  1 root root 25475524 nov 21 15:41 liveramfs-3.11.8-nrjQL-desktop-1omv.img
-rw-r--r--  1 root root   166412 ago 24 19:50 memtest.bin
-rw-r--r--  1 root root   203872 nov 19 22:39 symvers-3.11.8-nrjQL-desktop-1omv.xz
-rw-r--r--  1 root root  2875419 nov 19 22:39 System.map-3.11.8-nrjQL-desktop-1omv
-rw-r--r--  1 root root  3833584 nov 19 22:39 vmlinuz-3.11.8-nrjQL-desktop-1omv
lrwxrwxrwx  1 root root       33 nov 21 15:22 vmlinuz-nrjQL-desktop -> vmlinuz-3.11.8-nrjQL-desktop-1omv
[cristina@localhost ~]$ 
Ora le cartucce le ho finite anch'io.
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«I grandi spiriti hanno sempre incontrato violenta opposizione da parte delle menti mediocri.»
(Albert Einstein)

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

Code: Select all

-rw-------  1 root root 19906660 gen 12 16:43 initrd-3.11.8-nrjQL-desktop-1omv.img
-rw-r--r--  1 root root 25475524 gen 12 16:10 initrd.img
se guardi nel secondo esempio dracut ha creato initrd-3.11.8-nrjQL-desktop-1omv.img alle 16.43, ma hai un initrd.img delle 16.10 che penso sia quella utilizzata al boot
se è una vm sacrificabile, io proverei a rinominare initrd.img, creando successivamente un link simbolico

Code: Select all

# cd /boot
# mv initrd.img initrd.img.sv
# ln -s initrd-3.11.8-nrjQL-desktop-1omv.img initrd.img


User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

prima puoi anche visualizzare il contenuto delle due immagini con

Code: Select all

# lsinitrd initrd.img
e

Code: Select all

# lsinitrd initrd-3.11.8-nrjQL-desktop-1omv.img

per vedere quale tema è presente nei .img

User avatar
rugyada
Amministratore
Amministratore
Posts: 1545
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.1 64bit
Kernel: kernel-relea current
Desktop: KDE tutta la vita
country: Italy

Re: Plymouth non cambia

Post by rugyada »

azioga wrote:prima puoi anche visualizzare il contenuto delle due immagini con
Sono su ROSA e quindi l'output è riferito al primo dei due test

Code: Select all

[root@localhost boot]# lsinitrd initrd.img
[.........]
drwxr-xr-x   4 root     root            0 Nov 21 15:40 usr/share
drwxr-xr-x   3 root     root            0 Nov 21 15:40 usr/share/plymouth
-rw-r--r--   1 root     root          109 Oct 11 13:54 usr/share/plymouth/plymouthd.defaults
drwxr-xr-x   5 root     root            0 Nov 21 15:40 usr/share/plymouth/themes
drwxr-xr-x   2 root     root            0 Nov 21 15:40 usr/share/plymouth/themes/OpenMandriva
-rw-r--r--   1 root     root          211 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/OpenMandriva.plymouth
-rw-r--r--   1 root     root        28542 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/animation.png
-rw-r--r--   1 root     root       536990 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/background.png
-rw-r--r--   1 root     root       806193 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/background_fiore.png
-rw-r--r--   1 root     root          870 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/box.png
-rw-r--r--   1 root     root          296 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/bullet.png
-rw-r--r--   1 root     root          350 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/entry.png
-rw-r--r--   1 root     root         1896 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/lock.png
-rw-r--r--   1 root     root        19130 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/motif.png
-rw-r--r--   1 root     root         8461 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/omv.script
-rw-r--r--   1 root     root        10764 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/openmandriva-logo.png
-rw-r--r--   1 root     root          165 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/progress_bar.png
-rw-r--r--   1 root     root          235 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/progress_box.png
-rw-r--r--   1 root     root          174 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/progress_box_background.png
-rw-r--r--   1 root     root          165 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/progress_box_edge.png
-rw-r--r--   1 root     root       337229 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/suspend.png
drwxr-xr-x   2 root     root            0 Nov 21 15:40 usr/share/plymouth/themes/details
-rw-r--r--   1 root     root           84 Oct 11 13:54 usr/share/plymouth/themes/details/details.plymouth
drwxr-xr-x   2 root     root            0 Nov 21 15:40 usr/share/plymouth/themes/text
-rw-r--r--   1 root     root           94 Oct 11 13:54 usr/share/plymouth/themes/text/text.plymouth
drwxr-xr-x   4 root     root            0 Nov 21 15:40 usr/share/terminfo
drwxr-xr-x   2 root     root            0 Nov 21 15:40 usr/share/terminfo/l
-rw-r--r--   1 root     root         1795 Oct 10 12:26 usr/share/terminfo/l/linux
drwxr-xr-x   2 root     root            0 Nov 21 15:40 usr/share/terminfo/v
-rw-r--r--   1 root     root         1194 Oct 10 12:26 usr/share/terminfo/v/vt100
-rw-r--r--   1 root     root         1188 Oct 10 12:26 usr/share/terminfo/v/vt102
-rw-r--r--   1 root     root         1377 Oct 10 12:26 usr/share/terminfo/v/vt220
drwxr-xr-x   3 root     root            0 Nov 21 15:40 var
drwxr-xr-x   4 root     root            0 Nov 21 15:40 var/lib
drwxr-xr-x   4 root     root            0 Nov 21 15:40 var/lib/nfs
drwxr-xr-x   2 root     root            0 Nov 21 15:40 var/lib/nfs/rpc_pipefs
drwxr-xr-x   3 root     root            0 Nov 21 15:40 var/lib/nfs/statd
drwxr-xr-x   2 root     root            0 Nov 21 15:40 var/lib/nfs/statd/sm
drwxrwx---   2 root     root            0 Nov 21 15:40 var/lib/rpcbind
lrwxrwxrwx   1 root     root           11 Nov 21 15:40 var/lock -> ../run/lock
lrwxrwxrwx   1 root     root           10 Nov 21 15:40 var/log -> ../run/log
lrwxrwxrwx   1 root     root            6 Nov 21 15:40 var/run -> ../run
========================================================================
[root@localhost boot]# 

Code: Select all

[root@localhost boot]# lsinitrd initrd-3.11.8-nrjQL-desktop-1omv.img
[.........]
drwxr-xr-x   4 root     root            0 Jan 12 04:19 usr/share
drwxr-xr-x   3 root     root            0 Jan 12 04:19 usr/share/plymouth
-rw-r--r--   1 root     root          109 Oct 11 13:54 usr/share/plymouth/plymouthd.defaults
drwxr-xr-x   6 root     root            0 Jan 12 04:19 usr/share/plymouth/themes
drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/plymouth/themes/OpenMandriva
-rw-r--r--   1 root     root        10764 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/openmandriva-logo.png
drwxrwxr-x   2 root     root            0 Jan 12 04:19 usr/share/plymouth/themes/OpenMandriva2014
-rw-r--r--   1 root     root          227 Dec 26 13:14 usr/share/plymouth/themes/OpenMandriva2014/OpenMandriva2014.plymouth
-rwxr-xr-x   1 root     root        24727 Dec 25 01:55 usr/share/plymouth/themes/OpenMandriva2014/animation.png
-rwxr-xr-x   1 root     root       375862 Dec 24 21:19 usr/share/plymouth/themes/OpenMandriva2014/background.png
-rw-r--r--   1 root     root          870 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/box.png
-rw-r--r--   1 root     root          296 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/bullet.png
-rw-r--r--   1 root     root          350 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/entry.png
-rw-r--r--   1 root     root         1896 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/lock.png
-rw-r--r--   1 root     root        19130 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/motif.png
-rw-r--r--   1 root     root         8461 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/omv.script
-rw-r--r--   1 root     root        10764 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/openmandriva-logo.png
-rw-r--r--   1 root     root          165 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/progress_bar.png
-rw-r--r--   1 root     root          235 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/progress_box.png
-rw-r--r--   1 root     root          174 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/progress_box_background.png
-rw-r--r--   1 root     root          165 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva2014/progress_box_edge.png
-rw-r--r--   1 root     root        82094 Dec 27 17:15 usr/share/plymouth/themes/OpenMandriva2014/suspend.png
drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/plymouth/themes/details
-rw-r--r--   1 root     root           84 Oct 11 13:54 usr/share/plymouth/themes/details/details.plymouth
drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/plymouth/themes/text
-rw-r--r--   1 root     root           94 Oct 11 13:54 usr/share/plymouth/themes/text/text.plymouth
drwxr-xr-x   4 root     root            0 Jan 12 04:19 usr/share/terminfo
drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/terminfo/l
-rw-r--r--   1 root     root         1795 Oct 10 12:26 usr/share/terminfo/l/linux
drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/terminfo/v
-rw-r--r--   1 root     root         1194 Oct 10 12:26 usr/share/terminfo/v/vt100
-rw-r--r--   1 root     root         1188 Oct 10 12:26 usr/share/terminfo/v/vt102
-rw-r--r--   1 root     root         1377 Oct 10 12:26 usr/share/terminfo/v/vt220
drwxr-xr-x   2 root     root            0 Jan 12 04:19 var
lrwxrwxrwx   1 root     root           11 Jan 12 04:19 var/lock -> ../run/lock
lrwxrwxrwx   1 root     root           10 Jan 12 04:19 var/log -> ../run/log
lrwxrwxrwx   1 root     root            6 Jan 12 04:19 var/run -> ../run
========================================================================
[root@localhost boot]# 
Il tema non è lo stesso nei due file.
Il primo invoca /plymouth/themes/OpenMandriva mentre il secondo /plymouth/themes/OpenMandriva2014.

____________________
Postedit:

Ma queste due righe

Code: Select all

drwxr-xr-x   2 root     root            0 Jan 12 04:19 usr/share/plymouth/themes/OpenMandriva
-rw-r--r--   1 root     root        10764 Nov 19 00:50 usr/share/plymouth/themes/OpenMandriva/openmandriva-logo.png
??
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«I grandi spiriti hanno sempre incontrato violenta opposizione da parte delle menti mediocri.»
(Albert Einstein)

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

quelle due righe ce le ho anche io...forse si salva comunque il logo di default...mah!

ciao

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

ho installato in vm la versione a 64bit

la struttura è come la tua
ho fatto tutto quello che ti ho detto e..... non va :D

postedit:
ho notato che io ho due kernel installati, allora ne ho installato uno a caso(kernel-notebook) e il tema si è sistemato.
forse serve un update di grub...
ti so dire

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

Re: Plymouth non cambia

Post by azioga »

forse ci siamo ;)
-installata macchina virtuale 64bit
-scaricato il tema spinner
-plymouth-set-default-theme spineer --rebuild-initrd
-update-grub2
-reboot

e funziona

ciao

User avatar
rugyada
Amministratore
Amministratore
Posts: 1545
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.1 64bit
Kernel: kernel-relea current
Desktop: KDE tutta la vita
country: Italy

Re: Plymouth non cambia

Post by rugyada »

EUREKA !!!

Habemus Plymouth!

Grazie infinite ;)
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«I grandi spiriti hanno sempre incontrato violenta opposizione da parte delle menti mediocri.»
(Albert Einstein)

Post Reply