-
-
Save prometheanfire/a1630f49b1c4271b1b0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DIB_EXTLINUX=1 disk-image-create -a amd64 -t qcow2 --image-size 5 -n gentoo-hardened+cloud-nomultilib vm | tee foo.log | |
Building elements: gentoo-hardened+cloud-nomultilib vm | |
Expanded element dependencies to: bootloader vm gentoo-hardened+cloud-nomultilib cache-url | |
Building in /tmp/image.FMR9Mqo3 | |
dib-run-parts Mon Jan 4 15:26:26 UTC 2016 Running /tmp/image.FMR9Mqo3/hooks/root.d/10-cloud-image | |
Fetching Base Image | |
* Hostname was NOT found in DNS cache | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 140.211.166.134... | |
* Connected to gentoo.osuosl.org (140.211.166.134) port 80 (#0) | |
> GET /releases/amd64/autobuilds/20151231/hardened/stage4-amd64-hardened+cloud-nomultilib-20151231.tar.bz2.DIGESTS.asc HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: gentoo.osuosl.org | |
> Accept: */* | |
> If-Modified-Since: Sun, 03 Jan 2016 15:41:54 GMT | |
> | |
< HTTP/1.1 304 Not Modified | |
< Date: Mon, 04 Jan 2016 15:26:29 GMT | |
* Server Apache is not blacklisted | |
< Server: Apache | |
< ETag: "69c-52841478d9680" | |
< | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
* Connection #0 to host gentoo.osuosl.org left intact | |
Server copy has not changed. Using locally cached http://gentoo.osuosl.org/releases/amd64/autobuilds/20151231/hardened/stage4-amd64-hardened+cloud-nomultilib-20151231.tar.bz2.DIGESTS.asc | |
* Hostname was NOT found in DNS cache | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 140.211.166.134... | |
* Connected to gentoo.osuosl.org (140.211.166.134) port 80 (#0) | |
> GET /releases/amd64/autobuilds/20151231/hardened/stage4-amd64-hardened+cloud-nomultilib-20151231.tar.bz2 HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: gentoo.osuosl.org | |
> Accept: */* | |
> If-Modified-Since: Sun, 03 Jan 2016 15:41:59 GMT | |
> | |
< HTTP/1.1 304 Not Modified | |
< Date: Mon, 04 Jan 2016 15:26:29 GMT | |
* Server Apache is not blacklisted | |
< Server: Apache | |
< ETag: "101d3fbf-5283b51140000" | |
< | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
* Connection #0 to host gentoo.osuosl.org left intact | |
Server copy has not changed. Using locally cached http://gentoo.osuosl.org/releases/amd64/autobuilds/20151231/hardened/stage4-amd64-hardened+cloud-nomultilib-20151231.tar.bz2 | |
~/.cache/image-create ~ | |
pub 4096R/2D182910 2009-08-25 [expires: 2017-08-25] | |
uid Gentoo Linux Release Engineering (Automated Weekly Release Key) <releng@gentoo.org> | |
gpg: Signature made Fri Jan 1 08:08:42 2016 UTC using RSA key ID 2D182910 | |
gpg: Good signature from "Gentoo Linux Release Engineering (Automated Weekly Release Key) <releng@gentoo.org>" | |
gpg: WARNING: This key is not certified with a trusted signature! | |
gpg: There is no indication that the signature belongs to the owner. | |
Primary key fingerprint: 13EB BDBE DE7A 1277 5DFD B1BA BB57 2E0E 2D18 2910 | |
valid key used | |
checksum checked | |
~ | |
dib-run-parts Mon Jan 4 15:27:09 UTC 2016 10-cloud-image completed | |
----------------------- PROFILING ----------------------- | |
Target: root.d | |
Script Seconds | |
--------------------------------------- ---------- | |
10-cloud-image 42.813 | |
--------------------- END PROFILING --------------------- | |
dib-run-parts Mon Jan 4 15:27:09 UTC 2016 Running /tmp/image.FMR9Mqo3/hooks/block-device.d/10-partition | |
Checking that no-one is using this disk right now ... | |
BLKRRPART: Invalid argument | |
OK | |
Disk /dev/loop0: cannot get geometry | |
sfdisk: ERROR: sector 0 does not have an msdos signature | |
/dev/loop0: unrecognized partition table type | |
No partitions found | |
Warning: The partition table looks like it was made | |
for C/H/S=*/181/40 (instead of 652/255/63). | |
For this listing I'll assume that geometry. | |
start: (c,h,s) expected (0,51,9) found (0,32,33) | |
end: (c,h,s) expected (1023,180,40) found (652,180,40) | |
Warning: partition 1 does not end at a cylinder boundary | |
end of partition 1 has impossible value for cylinders: 652 (should be in 0-651) | |
BLKRRPART: Invalid argument | |
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) | |
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 | |
(See fdisk(8).) | |
dib-run-parts Mon Jan 4 15:27:09 UTC 2016 10-partition completed | |
Disk /dev/loop0: 652 cylinders, 255 heads, 63 sectors/track | |
Old situation: | |
New situation: | |
Units = sectors of 512 bytes, counting from 0 | |
Device Boot Start End #sectors Id System | |
/dev/loop0p1 * 2048 10485759 10483712 83 Linux | |
/dev/loop0p2 0 - 0 0 Empty | |
/dev/loop0p3 0 - 0 0 Empty | |
/dev/loop0p4 0 - 0 0 Empty | |
Successfully wrote the new partition table | |
Re-reading the partition table ... | |
IMAGE_BLOCK_DEVICE=/dev/loop0p1 | |
----------------------- PROFILING ----------------------- | |
Target: block-device.d | |
Script Seconds | |
--------------------------------------- ---------- | |
10-partition 0.038 | |
--------------------- END PROFILING --------------------- | |
mke2fs 1.42.9 (4-Feb-2014) | |
Discarding device blocks: done | |
Filesystem label=cloudimg-rootfs | |
OS type: Linux | |
Block size=4096 (log=2) | |
Fragment size=4096 (log=2) | |
Stride=0 blocks, Stripe width=0 blocks | |
1310720 inodes, 1310464 blocks | |
65523 blocks (5.00%) reserved for the super user | |
First data block=0 | |
Maximum filesystem blocks=1342177280 | |
40 block groups | |
32768 blocks per group, 32768 fragments per group | |
32768 inodes per group | |
Superblock backups stored on blocks: | |
32768, 98304, 163840, 229376, 294912, 819200, 884736 | |
Allocating group tables: done | |
Writing inode tables: done | |
Creating journal (16384 blocks): done | |
Writing superblocks and filesystem accounting information: done | |
tune2fs 1.42.9 (4-Feb-2014) | |
sh: dib-run-parts: command not found | |
/dev/loop0: [001a]:1080943 (/tmp/image.pX75uZYL/image.raw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment