Ubuntu Pastebin

Paste from Odd_Bloke at Thu, 18 Feb 2016 13:40:40 +0000

Download as text
 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
Creating new GPT entries.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
+ sgdisk binary/boot/disk-uefi.ext4 --print
Disk binary/boot/disk-uefi.ext4: 4612096 sectors, 2.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 261C2ECC-FF89-43E8-84FF-33758E92D52C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 4612062
Partitions will be aligned on 2048-sector boundaries
Total free space is 4061 sectors (2.0 MiB)

Number Start (sector) End (sector) Size Code Name
   1 206848 4612062 2.1 GiB 8300
  15 2048 204800 99.0 MiB EF00
+ mount_image binary/boot/disk-uefi.ext4 1
+ apt-get install -qqy kpartx
+ trap clean_loops EXIT
+ backing_img=binary/boot/disk-uefi.ext4
+ local rootpart=1
++ kpartx -s -v -a binary/boot/disk-uefi.ext4
+ kpartx_mapping='add map loop1p1 (252:1): 0 4405215 linear 7:1 206848
add map loop1p15 (252:2): 0 202753 linear 7:1 2048'
++ echo -e add map loop1p1 '(252:1):' 0 4405215 linear 7:1 206848 add map loop1p15 '(252:2):' 0 202753 linear 7:1 2048
++ head -n1
++ awk '{print$3}'
+ loop_p1=loop1p1
++ echo loop1p1
++ cut -b5
+ loop_device=/dev/loop1
+ '[' '!' -b /dev/loop1 ']'
+ rootfs_dev_mapper=/dev/mapper/loop1p1
+ '[' '!' -b /dev/mapper/loop1p1 ']'
+ echo 'Mounted disk image binary/boot/disk-uefi.ext4 to /dev/mapper/loop1p1'
Mounted disk image binary/boot/disk-uefi.ext4 to /dev/mapper/loop1p1
+ blkid /dev/mapper/loop1p1
/dev/mapper/loop1p1: PARTUUID="654ea681-1316-4444-81d0-c074c2cada61"
+ return 0
+ make_ext4_partition /dev/mapper/loop1p1
+ device=/dev/mapper/loop1p1
+ mkfs.ext4 -F -b 4096 -i 8192 -m 0 -L cloudimg-rootfs -E resize=536870912 /dev/mapper/loop1p1
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: 4096/550651 done
Download as text