summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-March/023717.html
blob: fda3428500b25b4d64a3de81b274a2c448001007 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20drakxtools%20%26%20drakx-installer-stage2%20%28mga%239428%29&In-Reply-To=%3CCAONrEtaV%3Dv5RyeKYmUFbe-ij%3D3ScefvAm%2B5h61QJQ7%3DX%3D40BLA%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="023720.html">
   <LINK REL="Next"  HREF="023725.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)</H1>
    <B>Thierry Vignaud</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20drakxtools%20%26%20drakx-installer-stage2%20%28mga%239428%29&In-Reply-To=%3CCAONrEtaV%3Dv5RyeKYmUFbe-ij%3D3ScefvAm%2B5h61QJQ7%3DX%3D40BLA%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)">thierry.vignaud at gmail.com
       </A><BR>
    <I>Fri Mar 22 19:37:49 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="023720.html">[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)
</A></li>
        <LI>Next message: <A HREF="023725.html">[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23717">[ date ]</a>
              <a href="thread.html#23717">[ thread ]</a>
              <a href="subject.html#23717">[ subject ]</a>
              <a href="author.html#23717">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 22 March 2013 12:20, Glen Ogilvie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">nelg at linuxsolutions.co.nz</A>&gt; wrote:
&gt;<i> I've been trying to test the installer change below before RC4, thinking
</I>&gt;<i> that it might be quite helpful.
</I>&gt;<i>
</I>&gt;<i> I am having a little bit of trouble however.  Could someone point me in the
</I>&gt;<i> right direction on a couple
</I>&gt;<i> of things.
</I>&gt;<i>
</I>&gt;<i> 1. How does the src tar.xz file for drakx-installer-stage2 get created?   I
</I>&gt;<i> assume it comes from a
</I>&gt;<i> build of <A HREF="svn://svn.mageia.org/svn/soft/drakx/trunk,">svn://svn.mageia.org/svn/soft/drakx/trunk,</A> but can't find how it
</I>&gt;<i> ends up as a tar.xz
</I>&gt;<i>
</I>&gt;<i> 2. When I've built a new stage2, any tricks on getting it into an ISO?
</I>&gt;<i>
</I>&gt;<i> I tried building an ISO based on beta3, with the new stage2, using something
</I>&gt;<i> like:
</I>&gt;<i>   mkisofs -o
</I>&gt;<i> ~nelg/Mageia-3-beta3-x86_64-DVD/Mageia-3-beta3-x86_64-DVD-stage2.iso -b
</I>&gt;<i> x86_64/isolinux/isolinux.bin -c boot.catalog  -no-emul-boot -boot-load-size
</I>&gt;<i> 4 -iso-level 4 -J -R /tmp/tt/
</I>&gt;<i>
</I>&gt;<i> This is clearly not right.  Is the a documented method I should use to build
</I>&gt;<i> a new ISO with a modified stage2?
</I>&gt;<i> In the docs I have read:
</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks#rebuild_the_stage_2">https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks#rebuild_the_stage_2</A>
</I>&gt;<i> and <A HREF="svn://svn.mageia.org/svn/soft/drakx/trunk/docs/README,">svn://svn.mageia.org/svn/soft/drakx/trunk/docs/README,</A> I have not been
</I>&gt;<i> able to find instructions on actually putting together an ISO.
</I>&gt;<i>
</I>&gt;<i> Is:
</I>&gt;<i> <A HREF="http://wiki.mandriva.com/en/How_to_remaster_a_personal_Mandriva-based_ISO">http://wiki.mandriva.com/en/How_to_remaster_a_personal_Mandriva-based_ISO</A>
</I>&gt;<i> relevant for Mageia?  I guess not, as mkcd does not seem to exist in Mageia.
</I>&gt;<i>
</I>&gt;<i> So, a quick howto, or pointing me to the right documentation would be great
</I>&gt;<i> :)
</I>
stage2 != ISO

ISO is basically the stage1.
stage1 is build by drakx-installer-images from:
- some packages listed as BR, mainly the kernel drivers &amp; firmwares
- drakx-installer-binaries that provide the actual stage1 binary

=&gt; generates what is copied in isolinux/alt0 &amp; in install/images/
(*.img + *.iso)

stage2 is build by drakx-installer-stage2

=&gt; generates what is in install/stage2: mdkinst.sqfs (a squashfs image)
there's also rescue.sqfs there that is an alternate stage2 used when
using the rescue.


stage1 is basically a special initrd that loads the appropriate
modules according to detected
hardware and to what is specified on command line (eg: the DVD tells
it to directly load
stage2 from the DVD image).
if not instructed to do sg, it displays the text menu asking from
where to install (dvd, hard disk,
network: http/ftp/nfs).
It's a small statically linked program + init + a dhcp client +
rescue-gui for the rescue menu

it then loads stage2 (install/stage2/mdkinst.sqf or rescue.sqfs) from the URL

stage2 is real system, with dynamic libraries, that starts:
- an X11 server (if supported and if not asked for text mode)
- udev
and then go the install steps (language, license, partitionning,
installing, summary, updates, ...)
</PRE>

















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="023720.html">[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)
</A></li>
	<LI>Next message: <A HREF="023725.html">[Mageia-dev] drakxtools &amp; drakx-installer-stage2 (mga#9428)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23717">[ date ]</a>
              <a href="thread.html#23717">[ thread ]</a>
              <a href="subject.html#23717">[ subject ]</a>
              <a href="author.html#23717">[ 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>