diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html b/zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html new file mode 100644 index 000000000..714a96154 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130323/a618f4bb/attachment.html @@ -0,0 +1,76 @@ +<div class="gmail_quote">On 23 March 2013 07:37, Thierry Vignaud <span dir="ltr"><<a href="mailto:thierry.vignaud@gmail.com" target="_blank">thierry.vignaud@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +On 22 March 2013 12:20, Glen Ogilvie <<a href="mailto:nelg@linuxsolutions.co.nz">nelg@linuxsolutions.co.nz</a>> wrote:<br> +> I've been trying to test the installer change below before RC4, thinking<br> +> that it might be quite helpful.<br> +><br> +> I am having a little bit of trouble however. �Could someone point me in the<br> +> right direction on a couple<br> +> of things.<br> +><br> +> 1. How does the src tar.xz file for drakx-installer-stage2 get created? � I<br> +> assume it comes from a<br> +> build of svn://<a href="http://svn.mageia.org/svn/soft/drakx/trunk" target="_blank">svn.mageia.org/svn/soft/drakx/trunk</a>, but can't find how it<br> +> ends up as a tar.xz<br> +><br> +> 2. When I've built a new stage2, any tricks on getting it into an ISO?<br> +><br> +> I tried building an ISO based on beta3, with the new stage2, using something<br> +> like:<br> +> � mkisofs -o<br> +> ~nelg/Mageia-3-beta3-x86_64-DVD/Mageia-3-beta3-x86_64-DVD-stage2.iso -b<br> +> x86_64/isolinux/isolinux.bin -c boot.catalog �-no-emul-boot -boot-load-size<br> +> 4 -iso-level 4 -J -R /tmp/tt/<br> +><br> +> This is clearly not right. �Is the a documented method I should use to build<br> +> a new ISO with a modified stage2?<br> +> In the docs I have read:<br> +> <a href="https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks#rebuild_the_stage_2" target="_blank">https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks#rebuild_the_stage_2</a><br> +> and svn://<a href="http://svn.mageia.org/svn/soft/drakx/trunk/docs/README" target="_blank">svn.mageia.org/svn/soft/drakx/trunk/docs/README</a>, I have not been<br> +> able to find instructions on actually putting together an ISO.<br> +><br> +> Is:<br> +> <a href="http://wiki.mandriva.com/en/How_to_remaster_a_personal_Mandriva-based_ISO" target="_blank">http://wiki.mandriva.com/en/How_to_remaster_a_personal_Mandriva-based_ISO</a><br> +> relevant for Mageia? �I guess not, as mkcd does not seem to exist in Mageia.<br> +><br> +> So, a quick howto, or pointing me to the right documentation would be great<br> +> :)<br> +<br> +stage2 != ISO<br> +<br> +ISO is basically the stage1.<br> +stage1 is build by drakx-installer-images from:<br> +- some packages listed as BR, mainly the kernel drivers & firmwares<br> +- drakx-installer-binaries that provide the actual stage1 binary<br> +<br> +=> generates what is copied in isolinux/alt0 & in install/images/<br> +(*.img + *.iso)<br> +<br> +stage2 is build by drakx-installer-stage2<br> +<br> +=> generates what is in install/stage2: mdkinst.sqfs (a squashfs image)<br> +there's also rescue.sqfs there that is an alternate stage2 used when<br> +using the rescue.<br> +<br> +<br> +stage1 is basically a special initrd that loads the appropriate<br> +modules according to detected<br> +hardware and to what is specified on command line (eg: the DVD tells<br> +it to directly load<br> +stage2 from the DVD image).<br> +if not instructed to do sg, it displays the text menu asking from<br> +where to install (dvd, hard disk,<br> +network: http/ftp/nfs).<br> +It's a small statically linked program + init + a dhcp client +<br> +rescue-gui for the rescue menu<br> +<br> +it then loads stage2 (install/stage2/mdkinst.sqf or rescue.sqfs) from the URL<br> +<br> +stage2 is real system, with dynamic libraries, that starts:<br> +- an X11 server (if supported and if not asked for text mode)<br> +- udev<br> +and then go the install steps (language, license, partitionning,<br> +installing, summary, updates, ...)<br> +</blockquote></div><br>Hi Thierry,<br><br>I appreciate you taking time to reply and let me know these details. It confirms<br>my understanding.� What I would like to know is how to create / master the DVD<br>installer ISO, and make that� master contain a stage2 that I have built.<br> +<br>I have been able to build a stage1 boot.iso, but what I would like is build a<br>DVD image, based on Mageia-3-beta3-x86_64-DVD.iso, with just a different<br>�stage2, and maybe a rebuilt stage1 if needed.<br><br>I guess someone must know how Mageia-3-beta3-x86_64-DVD.iso, and the<br> +other images get created.� I don't want to rebuild all the packages that go in<br>them, just assemble one with the same packages as<br>Mageia-3-beta3-x86_64-DVD.iso, and a updated install/stage2/mdkinst.sqf file.<br><br> +Once this is figured out, I will happly update the Mageia wiki with details, which<br>I think will be helpful for anyone wanting to make customised Mageia DVDs.<br><br>Regards<br>Glen Ogilvie<br> |