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/2013-January/021108.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/2013-January/021108.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/021108.html | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021108.html b/zarb-ml/mageia-dev/2013-January/021108.html new file mode 100644 index 000000000..1b91ef174 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021108.html @@ -0,0 +1,185 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] how to NFS+PXE + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20how%20to%20NFS%2BPXE&In-Reply-To=%3C4536655.Ozs7XB4kPP%40localhost%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="021111.html"> + <LINK REL="Next" HREF="021127.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] how to NFS+PXE</H1> + <B>AL13N</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20how%20to%20NFS%2BPXE&In-Reply-To=%3C4536655.Ozs7XB4kPP%40localhost%3E" + TITLE="[Mageia-dev] how to NFS+PXE">alien at rmail.be + </A><BR> + <I>Thu Jan 3 22:14:51 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="021111.html">[Mageia-dev] [changelog] [RPM] cauldron core/release cunit-2.1.2-2.mga3 +</A></li> + <LI>Next message: <A HREF="021127.html">[Mageia-dev] how to NFS+PXE +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21108">[ date ]</a> + <a href="thread.html#21108">[ thread ]</a> + <a href="subject.html#21108">[ subject ]</a> + <a href="author.html#21108">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I still had my mediabox on mdv2010. + +so, it was time to move on. + +my server was now mga2, and it's nfsroot is just a directory on the server, so +this should be easy + +I make an extra directory, do the old chrooted install: + +[ ]# urpmi.addmedia --urpmi-root /chroot/mga2 --distrib +<A HREF="http://127.0.0.1/mageia/distrib/2/x86_64">http://127.0.0.1/mageia/distrib/2/x86_64</A> +[ ]# urpmi --no-suggests --urpmi-root /chroot/mga2 basesystem-minimal locales- +en locales-nl urpmi + +- since the server is mga2 too, i thought that i'd be funny and copy the +kernel from my server. +- alas the initrd doesn't have nfs, so i'm doing the dracut into a different +file, but there i get some strange stuff when the nfs module starts. +- i was hoping to find next to the vmlinuz on the mirrors also an initrd, but +no, only the installer image all.rdz + +after quite some debugging and rddebug and stuff, i see that my usb keyboard +isn't loaded, so i can't debug really well, but i do see that the nfs stuff +fails + +(i also note the message "rpc.imapd: group 'nogroup' doesn't exist") + +ok, this marks the end of mga2, i officially give up. + + + +trying mga3... + +i do the same chroot install for mga3 + +this time, i also install the kernel + +[ ]# urpmi.addmedia --urpmi-root /chroot/mga3 --distrib +<A HREF="http://127.0.0.1/mageia/distrib/cauldron/x86_64">http://127.0.0.1/mageia/distrib/cauldron/x86_64</A> +[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 basesystem-minimal locales- +en locales-nl urpmi +[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 kernel-desktop-latest + +dracut is pulled in and runs a generic image... except network is omitted + +i change the dracut.conf.d/50* file so that network isn't omitted + +i chroot and retry dracut + +i notice dhclient isn't there and nfs drivers are still being omitted, i +cancel it + +i install dhclient and change the dracut conf so that the nfs omitted drivers +are added anyway + +[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 dhcp-client + +but when retrying dracut i see that it never gets past a certain stage... + +i'm quite puzzle by this, why does it hang in a chroot? and why isn't urpmi +having any issues when using --urpmi-root ? + +i decide to force install the kernel itself and so trigger the dracut, but +apparently i had to move away the initrd for it to be triggered. + +[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 kernel-desktop-3.7.1 + +now i can finally copy the initrd and vmlinuz and it actually seems to work +from the first time... (i didn't quite expect this, after what i've gone +through with mga2). + +of course, since this is quite minimal, there is no gfxboot and quiet is set, +so you see absolutely nothing (except the rpc.idmapd warning i got with mga2), +until you can log in. + +i note that dhcp didn't quite work, or might have had some timeout in systemd +somewhere, but i had set ip=... parameters the first time so i didn't see it +then. i'll have to see with more debugging. + +next steps are: + - install a splash/booting graphic (gfxboot/plymouth?) + - install a dm (kdm) + - set a root password + - try to do some autoconfiguring that happens during install (i forgot, but i +think a tool somewhere exists in drakxtools) (that should set the keyboard to +azerty too) + - install plasma-applet-launchbutton + - configure autologin + - fix the look to what i want and set up multiple launchbuttons which do the +purposes and install the programs + - fix to have dvds autoplay + - use the nfsmounts which have all my media + +... to be continued + + +my biggest issues are: +1) it would be very useful for this to have a really generic inird(without an +installer) to start from on the mirrors (in isolinux/alt0/ maybe?) +2) how the hell does urpmi with --urpmi-root handle dracut? why does it work +like that and not chrooted? +3) why are all these nfs drivers omitted, even though i can see nothing about +this in the config files and directories? +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="021111.html">[Mageia-dev] [changelog] [RPM] cauldron core/release cunit-2.1.2-2.mga3 +</A></li> + <LI>Next message: <A HREF="021127.html">[Mageia-dev] how to NFS+PXE +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21108">[ date ]</a> + <a href="thread.html#21108">[ thread ]</a> + <a href="subject.html#21108">[ subject ]</a> + <a href="author.html#21108">[ 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> |