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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367 |
+ cd builds.sr.ht
+ cd images/debian/unstable
+ case "$arch" in
+ qpkg=x86
+ sudo apt install -y qemu-system-x86
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
ipxe-qemu libasound2 libasound2-data libbrlapi0.8 libcacard0 libcapstone4
libdaxctl1 libexecs1 libfdt1 libibverbs1 libjpeg62-turbo libndctl6
libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libpcsclite1 libpixman-1-0
libpmem1 libpng16-16 librdmacm1 libslirp0 libusb-1.0-0 libusbredirparser1
libvdeplug2 qemu-system-common qemu-system-data seabios
Suggested packages:
libasound2-plugins alsa-utils pcscd samba vde2
Recommended packages:
alsa-ucm-conf alsa-topology-conf ibverbs-providers ovmf qemu-system-gui
qemu-system-modules-spice qemu-system-modules-opengl qemu-block-extra
The following NEW packages will be installed:
ipxe-qemu libasound2 libasound2-data libbrlapi0.8 libcacard0 libcapstone4
libdaxctl1 libexecs1 libfdt1 libibverbs1 libjpeg62-turbo libndctl6
libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libpcsclite1 libpixman-1-0
libpmem1 libpng16-16 librdmacm1 libslirp0 libusb-1.0-0 libusbredirparser1
libvdeplug2 qemu-system-common qemu-system-data qemu-system-x86 seabios
0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.7 MB of archives.
After this operation, 85.1 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 ipxe-qemu all 1.0.0+git-20190125.36a4c85-5.1 [766 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libasound2-data all 1.2.10-1 [20.6 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libasound2 amd64 1.2.10-1 [369 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libbrlapi0.8 amd64 6.6-4 [92.4 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libnspr4 amd64 2:4.35-1.1 [108 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libnss3 amd64 2:3.92-1 [1341 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libpcsclite1 amd64 2.0.0-1 [50.0 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 libcacard0 amd64 1:2.8.0-3 [91.1 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libcapstone4 amd64 4.0.2-5 [569 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 libdaxctl1 amd64 77-2 [21.3 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 libexecs1 amd64 1.4-2 [7400 B]
Get:12 http://deb.debian.org/debian sid/main amd64 libfdt1 amd64 1.7.0-1 [18.8 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 libnl-3-200 amd64 3.7.0-0.2+b1 [63.1 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 libnl-route-3-200 amd64 3.7.0-0.2+b1 [185 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 libibverbs1 amd64 47.0-1 [60.7 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 libjpeg62-turbo amd64 1:2.1.5-2 [166 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 libndctl6 amd64 77-2 [61.9 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 libpixman-1-0 amd64 0.42.2-1 [546 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 libpmem1 amd64 1.13.1-1.1 [91.5 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 libpng16-16 amd64 1.6.40-1 [275 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 librdmacm1 amd64 47.0-1 [69.4 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libslirp0 amd64 4.7.0-1 [63.0 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 libusb-1.0-0 amd64 2:1.0.26-1 [62.6 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 libusbredirparser1 amd64 0.13.0-2 [18.7 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 libvdeplug2 amd64 4.0.1-5+b1 [28.2 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 qemu-system-common amd64 1:8.1.0+ds-6 [1118 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 qemu-system-data all 1:8.1.0+ds-6 [1556 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 seabios all 1.16.2-1 [163 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 qemu-system-x86 amd64 1:8.1.0+ds-6 [9674 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 17.7 MB in 22s (785 kB/s)
Selecting previously unselected package ipxe-qemu.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 24503 files and directories currently installed.)
Preparing to unpack .../00-ipxe-qemu_1.0.0+git-20190125.36a4c85-5.1_all.deb ...
Unpacking ipxe-qemu (1.0.0+git-20190125.36a4c85-5.1) ...
Selecting previously unselected package libasound2-data.
Preparing to unpack .../01-libasound2-data_1.2.10-1_all.deb ...
Unpacking libasound2-data (1.2.10-1) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../02-libasound2_1.2.10-1_amd64.deb ...
Unpacking libasound2:amd64 (1.2.10-1) ...
Selecting previously unselected package libbrlapi0.8:amd64.
Preparing to unpack .../03-libbrlapi0.8_6.6-4_amd64.deb ...
Unpacking libbrlapi0.8:amd64 (6.6-4) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../04-libnspr4_2%3a4.35-1.1_amd64.deb ...
Unpacking libnspr4:amd64 (2:4.35-1.1) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../05-libnss3_2%3a3.92-1_amd64.deb ...
Unpacking libnss3:amd64 (2:3.92-1) ...
Selecting previously unselected package libpcsclite1:amd64.
Preparing to unpack .../06-libpcsclite1_2.0.0-1_amd64.deb ...
Unpacking libpcsclite1:amd64 (2.0.0-1) ...
Selecting previously unselected package libcacard0:amd64.
Preparing to unpack .../07-libcacard0_1%3a2.8.0-3_amd64.deb ...
Unpacking libcacard0:amd64 (1:2.8.0-3) ...
Selecting previously unselected package libcapstone4:amd64.
Preparing to unpack .../08-libcapstone4_4.0.2-5_amd64.deb ...
Unpacking libcapstone4:amd64 (4.0.2-5) ...
Selecting previously unselected package libdaxctl1:amd64.
Preparing to unpack .../09-libdaxctl1_77-2_amd64.deb ...
Unpacking libdaxctl1:amd64 (77-2) ...
Selecting previously unselected package libexecs1:amd64.
Preparing to unpack .../10-libexecs1_1.4-2_amd64.deb ...
Unpacking libexecs1:amd64 (1.4-2) ...
Selecting previously unselected package libfdt1:amd64.
Preparing to unpack .../11-libfdt1_1.7.0-1_amd64.deb ...
Unpacking libfdt1:amd64 (1.7.0-1) ...
Selecting previously unselected package libnl-3-200:amd64.
Preparing to unpack .../12-libnl-3-200_3.7.0-0.2+b1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.7.0-0.2+b1) ...
Selecting previously unselected package libnl-route-3-200:amd64.
Preparing to unpack .../13-libnl-route-3-200_3.7.0-0.2+b1_amd64.deb ...
Unpacking libnl-route-3-200:amd64 (3.7.0-0.2+b1) ...
Selecting previously unselected package libibverbs1:amd64.
Preparing to unpack .../14-libibverbs1_47.0-1_amd64.deb ...
Unpacking libibverbs1:amd64 (47.0-1) ...
Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../15-libjpeg62-turbo_1%3a2.1.5-2_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:2.1.5-2) ...
Selecting previously unselected package libndctl6:amd64.
Preparing to unpack .../16-libndctl6_77-2_amd64.deb ...
Unpacking libndctl6:amd64 (77-2) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../17-libpixman-1-0_0.42.2-1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.42.2-1) ...
Selecting previously unselected package libpmem1:amd64.
Preparing to unpack .../18-libpmem1_1.13.1-1.1_amd64.deb ...
Unpacking libpmem1:amd64 (1.13.1-1.1) ...
Selecting previously unselected package libpng16-16:amd64.
Preparing to unpack .../19-libpng16-16_1.6.40-1_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.40-1) ...
Selecting previously unselected package librdmacm1:amd64.
Preparing to unpack .../20-librdmacm1_47.0-1_amd64.deb ...
Unpacking librdmacm1:amd64 (47.0-1) ...
Selecting previously unselected package libslirp0:amd64.
Preparing to unpack .../21-libslirp0_4.7.0-1_amd64.deb ...
Unpacking libslirp0:amd64 (4.7.0-1) ...
Selecting previously unselected package libusb-1.0-0:amd64.
Preparing to unpack .../22-libusb-1.0-0_2%3a1.0.26-1_amd64.deb ...
Unpacking libusb-1.0-0:amd64 (2:1.0.26-1) ...
Selecting previously unselected package libusbredirparser1:amd64.
Preparing to unpack .../23-libusbredirparser1_0.13.0-2_amd64.deb ...
Unpacking libusbredirparser1:amd64 (0.13.0-2) ...
Selecting previously unselected package libvdeplug2:amd64.
Preparing to unpack .../24-libvdeplug2_4.0.1-5+b1_amd64.deb ...
Unpacking libvdeplug2:amd64 (4.0.1-5+b1) ...
Selecting previously unselected package qemu-system-common.
Preparing to unpack .../25-qemu-system-common_1%3a8.1.0+ds-6_amd64.deb ...
Unpacking qemu-system-common (1:8.1.0+ds-6) ...
Selecting previously unselected package qemu-system-data.
Preparing to unpack .../26-qemu-system-data_1%3a8.1.0+ds-6_all.deb ...
Unpacking qemu-system-data (1:8.1.0+ds-6) ...
Selecting previously unselected package seabios.
Preparing to unpack .../27-seabios_1.16.2-1_all.deb ...
Unpacking seabios (1.16.2-1) ...
Selecting previously unselected package qemu-system-x86.
Preparing to unpack .../28-qemu-system-x86_1%3a8.1.0+ds-6_amd64.deb ...
Unpacking qemu-system-x86 (1:8.1.0+ds-6) ...
Setting up libpixman-1-0:amd64 (0.42.2-1) ...
Setting up libfdt1:amd64 (1.7.0-1) ...
Setting up libusbredirparser1:amd64 (0.13.0-2) ...
Setting up libexecs1:amd64 (1.4-2) ...
Setting up libasound2-data (1.2.10-1) ...
Setting up libjpeg62-turbo:amd64 (1:2.1.5-2) ...
Setting up libnspr4:amd64 (2:4.35-1.1) ...
Setting up libpng16-16:amd64 (1.6.40-1) ...
Setting up libpcsclite1:amd64 (2.0.0-1) ...
Setting up libdaxctl1:amd64 (77-2) ...
Setting up qemu-system-data (1:8.1.0+ds-6) ...
Setting up seabios (1.16.2-1) ...
Setting up libcapstone4:amd64 (4.0.2-5) ...
Setting up libslirp0:amd64 (4.7.0-1) ...
Setting up ipxe-qemu (1.0.0+git-20190125.36a4c85-5.1) ...
Setting up libasound2:amd64 (1.2.10-1) ...
Setting up libnl-3-200:amd64 (3.7.0-0.2+b1) ...
Setting up libndctl6:amd64 (77-2) ...
Setting up libbrlapi0.8:amd64 (6.6-4) ...
Setting up libusb-1.0-0:amd64 (2:1.0.26-1) ...
Setting up libpmem1:amd64 (1.13.1-1.1) ...
Setting up libvdeplug2:amd64 (4.0.1-5+b1) ...
Setting up libnss3:amd64 (2:3.92-1) ...
Setting up libcacard0:amd64 (1:2.8.0-3) ...
Setting up libnl-route-3-200:amd64 (3.7.0-0.2+b1) ...
Setting up libibverbs1:amd64 (47.0-1) ...
Setting up qemu-system-common (1:8.1.0+ds-6) ...
Setting up librdmacm1:amd64 (47.0-1) ...
Setting up qemu-system-x86 (1:8.1.0+ds-6) ...
Processing triggers for libc-bin (2.37-10) ...
+ sudo ./genimg amd64
+ export release=sid
+ exec ../genimg amd64
+ echo sid
+ arch=amd64
+ iface=ens3
+ qarch=x86_64
+ kpkg=linux-image-amd64
+ mkdir -p amd64
+ qemu-img create -f qcow2 amd64/root.img.qcow2 24G
Formatting 'amd64/root.img.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=25769803776 lazy_refcounts=off refcount_bits=16
+ modprobe nbd max_part=16
+ qemu-nbd --connect=/dev/nbd0 amd64/root.img.qcow2
+ trap cleanup EXIT
+ [ amd64 = amd64 ]
+ dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/nbd0 bs=1 count=440
dd: error writing '/dev/nbd0': No space left on device
1+0 records in
0+0 records out
0 bytes copied, 0.000363925 s, 0.0 kB/s
+ cleanup
+ cat /mnt/debootstrap/debootstrap.log
cat: /mnt/debootstrap/debootstrap.log: No such file or directory
+ true
+ umount /mnt/dev/pts
+ true
+ umount /mnt/dev/shm
+ true
+ umount /mnt/dev
+ true
+ umount /mnt/proc
+ true
+ umount /mnt/run
+ true
+ umount /mnt/sys
+ true
+ umount /mnt/boot
+ true
+ umount /mnt
+ true
+ qemu-nbd --disconnect /dev/nbd0
/dev/nbd0 disconnected
|