diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-March/023725.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-March/023725.html | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-March/023725.html b/zarb-ml/mageia-dev/2013-March/023725.html new file mode 100644 index 000000000..749d894c5 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-March/023725.html @@ -0,0 +1,185 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] drakxtools & 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=%3CCAGmz6yg%3DKmHYnjv0r0PXvn1qnmjZ8QPdf%2BBLFe17K_Q_YW8rUg%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="023717.html"> + <LINK REL="Next" HREF="023739.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428)</H1> + <B>Glen Ogilvie</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=%3CCAGmz6yg%3DKmHYnjv0r0PXvn1qnmjZ8QPdf%2BBLFe17K_Q_YW8rUg%40mail.gmail.com%3E" + TITLE="[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428)">nelg at linuxsolutions.co.nz + </A><BR> + <I>Fri Mar 22 23:34:55 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="023717.html">[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428) +</A></li> + <LI>Next message: <A HREF="023739.html">[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23725">[ date ]</a> + <a href="thread.html#23725">[ thread ]</a> + <a href="subject.html#23725">[ subject ]</a> + <a href="author.html#23725">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 23 March 2013 07:37, Thierry Vignaud <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">thierry.vignaud at gmail.com</A>> wrote: + +><i> On 22 March 2013 12:20, Glen Ogilvie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">nelg at linuxsolutions.co.nz</A>> wrote: +</I>><i> > I've been trying to test the installer change below before RC4, thinking +</I>><i> > that it might be quite helpful. +</I>><i> > +</I>><i> > I am having a little bit of trouble however. Could someone point me in +</I>><i> the +</I>><i> > right direction on a couple +</I>><i> > of things. +</I>><i> > +</I>><i> > 1. How does the src tar.xz file for drakx-installer-stage2 get created? +</I>><i> I +</I>><i> > assume it comes from a +</I>><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 +</I>><i> it +</I>><i> > ends up as a tar.xz +</I>><i> > +</I>><i> > 2. When I've built a new stage2, any tricks on getting it into an ISO? +</I>><i> > +</I>><i> > I tried building an ISO based on beta3, with the new stage2, using +</I>><i> something +</I>><i> > like: +</I>><i> > mkisofs -o +</I>><i> > ~nelg/Mageia-3-beta3-x86_64-DVD/Mageia-3-beta3-x86_64-DVD-stage2.iso -b +</I>><i> > x86_64/isolinux/isolinux.bin -c boot.catalog -no-emul-boot +</I>><i> -boot-load-size +</I>><i> > 4 -iso-level 4 -J -R /tmp/tt/ +</I>><i> > +</I>><i> > This is clearly not right. Is the a documented method I should use to +</I>><i> build +</I>><i> > a new ISO with a modified stage2? +</I>><i> > In the docs I have read: +</I>><i> > +</I>><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>><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 +</I>><i> been +</I>><i> > able to find instructions on actually putting together an ISO. +</I>><i> > +</I>><i> > Is: +</I>><i> > +</I>><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>><i> > relevant for Mageia? I guess not, as mkcd does not seem to exist in +</I>><i> Mageia. +</I>><i> > +</I>><i> > So, a quick howto, or pointing me to the right documentation would be +</I>><i> great +</I>><i> > :) +</I>><i> +</I>><i> stage2 != ISO +</I>><i> +</I>><i> ISO is basically the stage1. +</I>><i> stage1 is build by drakx-installer-images from: +</I>><i> - some packages listed as BR, mainly the kernel drivers & firmwares +</I>><i> - drakx-installer-binaries that provide the actual stage1 binary +</I>><i> +</I>><i> => generates what is copied in isolinux/alt0 & in install/images/ +</I>><i> (*.img + *.iso) +</I>><i> +</I>><i> stage2 is build by drakx-installer-stage2 +</I>><i> +</I>><i> => generates what is in install/stage2: mdkinst.sqfs (a squashfs image) +</I>><i> there's also rescue.sqfs there that is an alternate stage2 used when +</I>><i> using the rescue. +</I>><i> +</I>><i> +</I>><i> stage1 is basically a special initrd that loads the appropriate +</I>><i> modules according to detected +</I>><i> hardware and to what is specified on command line (eg: the DVD tells +</I>><i> it to directly load +</I>><i> stage2 from the DVD image). +</I>><i> if not instructed to do sg, it displays the text menu asking from +</I>><i> where to install (dvd, hard disk, +</I>><i> network: http/ftp/nfs). +</I>><i> It's a small statically linked program + init + a dhcp client + +</I>><i> rescue-gui for the rescue menu +</I>><i> +</I>><i> it then loads stage2 (install/stage2/mdkinst.sqf or rescue.sqfs) from the +</I>><i> URL +</I>><i> +</I>><i> stage2 is real system, with dynamic libraries, that starts: +</I>><i> - an X11 server (if supported and if not asked for text mode) +</I>><i> - udev +</I>><i> and then go the install steps (language, license, partitionning, +</I>><i> installing, summary, updates, ...) +</I>><i> +</I> +Hi Thierry, + +I appreciate you taking time to reply and let me know these details. It +confirms +my understanding. What I would like to know is how to create / master the +DVD +installer ISO, and make that master contain a stage2 that I have built. + +I have been able to build a stage1 boot.iso, but what I would like is build +a +DVD image, based on Mageia-3-beta3-x86_64-DVD.iso, with just a different + stage2, and maybe a rebuilt stage1 if needed. + +I guess someone must know how Mageia-3-beta3-x86_64-DVD.iso, and the +other images get created. I don't want to rebuild all the packages that go +in +them, just assemble one with the same packages as +Mageia-3-beta3-x86_64-DVD.iso, and a updated install/stage2/mdkinst.sqf +file. + +Once this is figured out, I will happly update the Mageia wiki with +details, which +I think will be helpful for anyone wanting to make customised Mageia DVDs. + +Regards +Glen Ogilvie +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-dev/attachments/20130323/a618f4bb/attachment-0001.html> +</PRE> + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="023717.html">[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428) +</A></li> + <LI>Next message: <A HREF="023739.html">[Mageia-dev] drakxtools & drakx-installer-stage2 (mga#9428) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23725">[ date ]</a> + <a href="thread.html#23725">[ thread ]</a> + <a href="subject.html#23725">[ subject ]</a> + <a href="author.html#23725">[ 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> |