Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Canek Peláez Valdés <caneko@...>
Subject: Re: sys-boot/plymouth could not work
Date: Tue, 3 Apr 2012 12:19:39 -0500
On Tue, Apr 3, 2012 at 12:43 AM, 张春江 <zhangchunjiangrj@...> wrote:
> Does anybody in the list have used plymouth.

I do, but I also use systemd. And GRUB2.

> I installed and configured plymouth as http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml told.
> my grub.conf is
>
> title Gentoo Linux
> root (hd0,13)
> kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda10 video=radeon:1366x768 quiet splash
> initrd /boot/initramfs-3.2.1-gentoo-r2.img

Seems correct.

> While I rebooting my machine, it shows "[plymouth] could not create /run/plymouth" and there is no splash.
> Then I created /run/plymouth directory in the initrd file system manually, but it seems that this doesn't change anything.
> And then I created /run/plymouth in my root file system, while this time system shows
> "plymouthd could not start boot splash: No such file or directory".

The /run directory should be created when installing dbus; it's a tmpfs:

# mount | grep /run
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)

And then it's bind-mounted in /var/run. At least that's how it happens
with systemd, and that's the expected behaviour. Did you created your
initramfs with dracut?

> I checked my Ubuntu virtual machine, which plymouth works well, there is no /run/plymouth directory in initram file system or real root file system.

My initramfs doesn't have a /run directory either:

# mkdir kk
# cd kk
# zcat /boot/initrd-3.2.12 | cpio -i
21514 blocks
# ls
bin  dev  etc  init  lib  lib64  proc  root  run  sbin  shutdown  sys
sysroot  tmp  usr  var

However, inside /var, there is a symbolic link to /run:

# ls -l var
total 4
lrwxrwxrwx 1 root root    9 Apr  3 12:15 lock -> /run/lock
drwxr-xr-x 2 root root 4096 Apr  3 12:15 log
lrwxrwxrwx 1 root root    4 Apr  3 12:15 run -> /run

So the problem it's not the existance (or not) of the run directory, I
believe; it's the fact that it's mounted really early in the boot
process as a tmpfs. So, did you use dracut to generate your initramfs,
or did you use genkernel? Or you did it by hand?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México


Replies:
Re: sys-boot/plymouth could not work
-- 张春江
References:
sys-boot/plymouth could not work
-- 张春江
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
sys-boot/plymouth could not work
Next by thread:
Re: sys-boot/plymouth could not work
Previous by date:
Re: MTS player
Next by date:
Re: Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.