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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
|
<!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=%3C7390284.evDTbeGyyK%40localhost%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="021127.html">
<LINK REL="Next" HREF="021838.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=%3C7390284.evDTbeGyyK%40localhost%3E"
TITLE="[Mageia-dev] how to NFS+PXE">alien at rmail.be
</A><BR>
<I>Sun Jan 6 23:54:22 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="021127.html">[Mageia-dev] how to NFS+PXE
</A></li>
<LI>Next message: <A HREF="021838.html">[Mageia-dev] how to NFS+PXE
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21204">[ date ]</a>
<a href="thread.html#21204">[ thread ]</a>
<a href="subject.html#21204">[ subject ]</a>
<a href="author.html#21204">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Op vrijdag 4 januari 2013 10:08:04 schreef AL13N:
><i> Op donderdag 3 januari 2013 22:14:51 schreef AL13N:
</I>><i> [...]
</I>
after the rpm database issue i redid to make sure urpmi can run locally AND
network actually works.
a quick refresh:
[ ]# 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>
[ ]# vi /chroot/mga3/etc/urpmi/urpmi.cfg # to disable updates and add nonfree
and tainted
[ ]# urpmi.update -a --urpmi-root /chroot/mga3
[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 basesystem-minimal locales-
en locales-nl urpmi
[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 dhcp-client iptables
radeon-firmware nfs-utils dracut vim-enhanced openssh-server # needed for later
[ ]# vi /chroot/mga3/etc/dracut.conf.d/50-mageia.conf # remove network and add
nfs drivers
[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 kernel-desktop-latest
[ ]# urpmi --no-suggests --urpmi-root /chroot/mga3 plymouth mageia-theme-
Default
[ ]# rm /chroot/mga3/boot/initrd-3.7.1-desktop-1.mga3.img
[ ]# urpmi --replacepkgs --no-suggests --urpmi-root /chroot/mga3 kernel-
desktop-3.7.1
it appears the background is gone, did i make an error somewhere? i expected
the plymouth to work better, now that the radeon firmware is present...
in any case, next steps:
><i> - setting fstab correctly
</I>
i set the / first, then /proc; and then the other nfs mount points
however, after booting, i notice this:
[ ]# systemctl status systemd-remount-fs.service
systemd-remount-fs.service - Remount Root and Kernel File Systems
Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service;
static)
Active: failed (Result: exit-code) since Sat, 2013-01-05 08:33:13
UTC; 13min ago
Docs: man:systemd-remount-fs.service(8)
Process: 511 ExecStart=/usr/lib/systemd/systemd-remount-fs
(code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/systemd-remount-fs.service
Jan 05 08:33:13 localhost systemd[1]: Starting Remount Root and Kernel File
Systems...
Jan 05 08:33:13 localhost systemd[1]: systemd-remount-fs.service: main process
exited, code=exited, status=1/FAILURE
Jan 05 08:33:13 localhost systemd[1]: Failed to start Remount Root and Kernel
File Systems.
Jan 05 08:33:13 localhost systemd[1]: Unit systemd-remount-fs.service entered
failed state
no clue as to what i going on... is it because it was mounted rw directly? and
now it's rw too? no idea, it's no script and there's no info about it.
><i> - set a root password + regular user
</I>
[ ]# chroot /chroot/mga3 passwd
[ ]# chroot /chroot/mga3 useradd foo
[ ]# chroot /chroot/mga3 passwd foo
><i> - install a dm (kdm)
</I>
after locally starting sshd.service, i login remotely and use the following to
do task-kde4 and still skip some stuff
originally, it was 2GB and 2000+ packages, with all the skip, i get 1GB and
~800 packages:
[ ]# urpmi --skip libpulseaudio0,libalsa-plugins-pulseaudio,kde4-irc-
client,phonon-gstreamer,lib64gstreamer1.0-pulse,lib64gstreamer0.10-pulse,gst-
install-plugins-helper,digikam,dragon,system-config-printer,msec-gui,task-kde4-
handbooks,kaccessible,kdegames4,jovie,kamera,kgamma,ksnapshot,kmag,kmouth,kdegraphics-
strigi-analyzer,kmousetool,kruler,nepomuk,kontact,plasma-krunner-
nepomuk,kactivitymanagerd-nepomuk-plugin,kdepim4,cagibi,telepathy-presence-
applet,telepathy-kde-presence-applet,rfkill,wireless-tools,gnome-
keyring,amarok,krfb,kopete,kppp,kget,krdc,kde4-filesharing,kipi-plugins --
prefer pinentry-qt4,phonon-xine,plasma-applet-kimpanel-backend-ibus task-kde4
this took quite a while... i believe that again, i have some sort of weird
slowness, that i've been experiencing since i upgraded the nfs server to
mageia2, will need to check this later.
rebooting didn't start kdm, but then i didn't expect it. will likely need to
do that with the MCC.
i did drakconf and selected display manager and start X on startup, then
removed xguest, and rebooted
><i> - try to do some autoconfiguring that happens during install (i forgot, but
</I>><i> i think a tool somewhere exists in drakxtools) (that should set the
</I>><i> keyboard to azerty too)
</I>
I'm installing MCC completely, so that i can use the MCC to configure all
hardware. (considering the previous step, drakconf is already mostly
installed)
went to deviceinfo on MCC
then set keyboard on MCC
then set autologin on MCC
- LCD panel
[ ]# urpmi lcdproc
[ ]# vi /etc/lcdproc/LCDd.conf
- wiimote
[ ]# urpmi cwiid
i also noticed some weird displaying artefacts, so i also installed kde4-
oxygen-transparent, unsure if it actually helped
><i> - install plasma-applet-launchbutton
</I>
installed, i copied over my images and settings
><i> - configure autologin
</I>
used MCC for this
><i> - use the nfsmounts which have all my media
</I>
fix the /etc/fstab and make the paths
there is a remote-fs error going on.
systemctl enable remote-fs.target seemed to work, but the first mount point
fails because lockd isn't started yet.
><i> - fix the look to what i want and set up multiple launchbuttons which do
</I>><i> the purposes and install the programs
</I>
for me this includes xine-ui, firefox, etc...
to be done:
><i> - fix xine-ui keymap to work with the wiimote
</I>==> i need to do some settings and then protect the file by marking it readonly
for the regular user as well (even if it's in his own homedir)
><i> - fix to have dvds autoplay
</I>==> i remember i did something for this, but i think i had to build my own
package cause this wasn't in KDE (or not yet/not anymore)
><i> - fix KDE to be suitable for TV and wiimote
</I>==> fonts larger, icons larger, drag treshold larger, single click setting
><i> - find a nice dark background
</I>
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? (in dracut)
4) when doing dhcp, the network fails when booting causing it to stop booting
5) nfs mount points don't work at boot time
6) cwiid didn't have a startup script (i started to make one, it's not perfect
yet)
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="021127.html">[Mageia-dev] how to NFS+PXE
</A></li>
<LI>Next message: <A HREF="021838.html">[Mageia-dev] how to NFS+PXE
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21204">[ date ]</a>
<a href="thread.html#21204">[ thread ]</a>
<a href="subject.html#21204">[ subject ]</a>
<a href="author.html#21204">[ 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>
|