Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] sys-boot/plymouth could not work "Canek Peláez Valdés" <caneko@×××××.com>