Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-boot/plymouth could not work
Date: Thu, 05 Apr 2012 18:12:52
Message-Id: CADPrc82_AAPVrwRhW4OH6WCBRP6OUMPN04Wj7rU9U5-Oz3J2mQ@mail.gmail.com
In Reply to: Re: [gentoo-user] sys-boot/plymouth could not work by "张春江"
1 On Thu, Apr 5, 2012 at 2:47 AM, 张春江 <zhangchunjiangrj@×××.com> wrote:
2 > On 2012-04-05 01:29:36,"Canek Peláez Valdés" <caneko@×××××.com> wrote:
3 >>On Wed, Apr 4, 2012 at 12:28 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
4 >>>
5 >>> Something is wrong. There is no dracut messages in your dmesg output,
6 >>> so either you are not using the rd.debug command line (which,
7 >>> according to your logs, you *are* using), or you are not using a
8 >>> dracut-created initramfs, or the initramfs is somehow corrupted.
9 >
10 > I used
11 > # dracut -H -f
12 > to create my initramfs. I don't know why there is no dracut message in
13 > my dmesg output.
14 >
15 >>> Can I see your grub.cfg file, as it is please? Also, it seems that the
16 >>> problem is OpenRC not creating the /run tmpfs early on during the boot
17 >>> process:
18 >>>
19 >>> https://bugs.gentoo.org/show_bug.cgi?id=409921
20 >>>
21 >>> Until that gets fixed, recent versions of plymouth cannot work with
22 >>> OpenRC. Maybe you could try an old version?
23 >>>
24 >>> Regards.
25 >>
26 >>Also, can I see your fstab? It seems you use quite the complex setup
27 >>for your partitions.
28 >
29 > The latest version of plymouth is 0.9_pre20111013-r1.
30 > I installed sys-boot/plymouth-0.8.3-r5 but it still couldn't work, just like v0.9_pre.
31 > There is no ebuild for other versions.
32 > Then I tried to install by tarball, but version 0.8.1 and 0.8.2 have a make error:
33 > "fatal error: drm/drm.h: No such file or directory", but I have already installed
34 > x11-libs/libdrm and all the other drm related applications are masked.
35 > Version 0.7.2 have an another make error.
36 >
37 > This is my grub.conf:
38 > default 0
39 > timeout 5
40 > #splashimage=(hd0,13)/boot/grub/splash.xpm.gz
41 >
42 > title Gentoo Linux
43 > root (hd0,13)
44 > kernel /boot/kernel-3.2.1-gentoo-r2 root=/dev/sda10 splash quiet video=radeon:1366x768
45 > initrd /boot/initramfs-3.2.1-gentoo-r2.img
46 >
47 > title Win7
48 > rootnoverify (hd0,0)
49 > makeactive
50 > chainloader +1
51 >
52 > This is my /etc/fstab:
53 > # <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>
54 > # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
55 > /dev/sda14              /boot           ext4            defaults,noatime        1 2
56 > /dev/sda10              /               ext4            noatime                 0 1
57 > /dev/sda11              /usr            ext4            noatime                 0 0
58 > /dev/sda12              /var            ext4            noatime                 0 0
59 > /dev/sda13              /home           ext4            noatime                 0 0
60 > /dev/sda9               none            swap            sw                      0 0
61 > /dev/cdrom              /mnt/cdrom      auto            noauto,user             0 0
62 > /dev/sda1               /media/win7     ntfs-3g         rw,users,umask=000      0 0
63 > /dev/sda5               /media/music    ntfs-3g         rw,users,umask=000      0 0
64 > /dev/sda6               /media/animation ntfs-3g        rw,users,umask=000      0 0
65 > /dev/sda7               /media/data     ntfs-3g         rw,users,umask=000      0 0
66 > /dev/sda8               /media/video    ntfs-3g         rw,users,umask=000      0 0
67 >
68 > Thank you very much for your help!
69
70 I see several problems from your grub and fstab config files:
71
72 1. If you have a separate /boot partition, you should have something like
73
74 kernel (hd0,14)/kernel-3.2.1-gentoo-r2 root=/dev/sda10 splash quiet
75 video=radeon:1366x768
76 initrd (hd0,14)/initramfs-3.2.1-gentoo-r2.img
77
78 in your grub.cfg.
79
80 2. GRUB cannot read ext4 partitions (GRUB2 can), so you are reading
81 them as ext3 (I don't know if this can cause any problems). The reason
82 I started to use GRUB2 was because I wanted to use ext4 for my /.
83
84 3. Where is the rd.debug command line? Without it, we can't see
85 dracut's debug messages.
86
87 Delete /boot/initramfs*, and recreate the initramfs again, add the
88 rd.debug kernel command line in grub.cfg, and reboot again. The dmesg
89 output should have a lot of lines with "dracut:"; send that to the
90 list.
91
92 Regards.
93 --
94 Canek Peláez Valdés
95 Posgrado en Ciencia e Ingeniería de la Computación
96 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] sys-boot/plymouth could not work Joost Roeleveld <joost@××××××××.org>