summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009032.html
blob: 96dbb31895d9e7258b5ef1fa0cbecc5a34c7d0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Please test dracut (mkinitrd replacement)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%20dracut%20%28mkinitrd%20replacement%29&In-Reply-To=%3C3508013.yJdryB8MJ6%40hatmehyt-cauldron.lan.littleboboy.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="009030.html">
   <LINK REL="Next"  HREF="009033.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Please test dracut (mkinitrd replacement)</H1>
    <B>Balcaen John</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%20dracut%20%28mkinitrd%20replacement%29&In-Reply-To=%3C3508013.yJdryB8MJ6%40hatmehyt-cauldron.lan.littleboboy.net%3E"
       TITLE="[Mageia-dev] Please test dracut (mkinitrd replacement)">mikala at mageia.org
       </A><BR>
    <I>Fri Oct 21 11:44:24 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="009030.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
        <LI>Next message: <A HREF="009033.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9032">[ date ]</a>
              <a href="thread.html#9032">[ thread ]</a>
              <a href="subject.html#9032">[ subject ]</a>
              <a href="author.html#9032">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le vendredi 21 octobre 2011 00:29:46 Colin Guthrie a &#233;crit :
&gt;<i> Hi,
</I>&gt;<i> 
</I>&gt;<i> Due to upcoming changes to systemd and friends we'll likely need to use
</I>&gt;<i> dracut rather than mkinitrd for some setups (i.e. those with LVM volumes
</I>&gt;<i> defined in /etc/fstab)
</I>&gt;<i> 
</I>&gt;<i> It would be good if people here could test as we will likely make it the
</I>&gt;<i> default at some point in the not too distant future.
</I>&gt;<i> 
</I>&gt;<i> To test:
</I>&gt;<i> 
</I>&gt;<i> sudo -i (or su -)
</I>&gt;<i> urpmi dracut
</I>&gt;<i> cd /boot
</I>&gt;<i> mv initrd-3.1.0-desktop-0.rc10.1.mga2.img initrd-old.img
</I>&gt;<i> /sbin/installkernel -N 3.1.0-desktop-0.rc10.1.mga2
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> This should install dracut, move the existing initrd out of the way, and
</I>&gt;<i> regenerate a new one using dracut. If you are using a different kernel
</I>&gt;<i> version then adjust the two commands accordingly to pick the right version.
</I>&gt;<i> 
</I>&gt;<i> Then just reboot. Hopefully all will go well and you won't notice much
</I>&gt;<i> difference :)
</I>Indeed it did reboot without too much problem here with lvm for / &amp; /home.
However i noticed that the initrd is bigger than the old mkinitrd :
-rw-r--r--  1 root root 7,8M oct.  20 22:40 initrd-3.1.0-
desktop-0.rc10.1.mga2.img
-rw-------  1 root root 5,4M oct.  18 09:50 initrd-3.1.0-
desktop-0.rc10.1.mga2.img-old

During the creation of the initrd there's several warnings  about moving 
several files to /etc/modprobe.d/ (such as the 
/etc/modprobe.conf), i noticed especially this one 

&#171; perl: &quot;include /lib/module-init-tools/modprobe.compat&quot; is deprecated, please 
use /etc/modprobe.d 
&#187;
It seems this file was created to ensure transition between the 2.4 &amp; 2.6 
kernel release, maybe we can safely drop it now ?

Regards,

-- 
Balcaen John
Jabber-id: <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mikala at jabber.littleboboy.net</A>
</PRE>























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="009030.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
	<LI>Next message: <A HREF="009033.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9032">[ date ]</a>
              <a href="thread.html#9032">[ thread ]</a>
              <a href="subject.html#9032">[ subject ]</a>
              <a href="author.html#9032">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>