From beb5e565eca66c5259e648c042aca63bd7f94fef Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 12 Jul 2019 14:30:40 +0100 Subject: [PATCH] Add pdf version of readme (rst2pdf) --- README.pdf | 757 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 757 insertions(+) create mode 100644 README.pdf diff --git a/README.pdf b/README.pdf new file mode 100644 index 0000000..ce045a7 --- /dev/null +++ b/README.pdf @@ -0,0 +1,757 @@ +%PDF-1.4 +%“Œ‹ž ReportLab Generated PDF document http://www.reportlab.com +1 0 obj +<< +/F1 2 0 R /F2 3 0 R /F3 4 0 R /F4 5 0 R /F5 7 0 R /F6 8 0 R +>> +endobj +2 0 obj +<< +/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font +>> +endobj +3 0 obj +<< +/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font +>> +endobj +4 0 obj +<< +/BaseFont /Courier-Bold /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font +>> +endobj +5 0 obj +<< +/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F4 /Subtype /Type1 /Type /Font +>> +endobj +6 0 obj +<< +/Contents 22 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 21 0 R /Resources << +/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] +>> /Rotate 0 /Trans << + +>> + /Type /Page +>> +endobj +7 0 obj +<< +/BaseFont /ZapfDingbats /Name /F5 /Subtype /Type1 /Type /Font +>> +endobj +8 0 obj +<< +/BaseFont /Helvetica-Oblique /Encoding /WinAnsiEncoding /Name /F6 /Subtype /Type1 /Type /Font +>> +endobj +9 0 obj +<< +/Contents 23 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 21 0 R /Resources << +/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] +>> /Rotate 0 /Trans << + +>> + /Type /Page +>> +endobj +10 0 obj +<< +/Contents 24 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 21 0 R /Resources << +/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] +>> /Rotate 0 /Trans << + +>> + /Type /Page +>> +endobj +11 0 obj +<< +/Outlines 13 0 R /PageLabels 25 0 R /PageMode /UseNone /Pages 21 0 R /Type /Catalog +>> +endobj +12 0 obj +<< +/Author () /CreationDate (D:20190712143033+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20190712143033+00'00') /Producer (ReportLab PDF Library - www.reportlab.com) + /Subject (\(unspecified\)) /Title (Simple script to create persistent Live USB drive) /Trapped /False +>> +endobj +13 0 obj +<< +/Count 9 /First 14 0 R /Last 20 0 R /Type /Outlines +>> +endobj +14 0 obj +<< +/Count 1 /Dest [ 6 0 R /XYZ 62.69291 707.0236 0 ] /First 15 0 R /Last 15 0 R /Next 16 0 R /Parent 13 0 R + /Title (Installation) +>> +endobj +15 0 obj +<< +/Dest [ 6 0 R /XYZ 62.69291 656.0236 0 ] /Parent 14 0 R /Title (Dependencies) +>> +endobj +16 0 obj +<< +/Count 2 /Dest [ 6 0 R /XYZ 62.69291 400.8236 0 ] /First 17 0 R /Last 18 0 R /Next 19 0 R /Parent 13 0 R + /Prev 14 0 R /Title (Usage) +>> +endobj +17 0 obj +<< +/Dest [ 6 0 R /XYZ 62.69291 367.8236 0 ] /Next 18 0 R /Parent 16 0 R /Title (Identify USB device) +>> +endobj +18 0 obj +<< +/Dest [ 9 0 R /XYZ 62.69291 390.6236 0 ] /Parent 16 0 R /Prev 17 0 R /Title (Linux install image) +>> +endobj +19 0 obj +<< +/Dest [ 9 0 R /XYZ 62.69291 294.6236 0 ] /Next 20 0 R /Parent 13 0 R /Prev 16 0 R /Title (Running disk_creator) +>> +endobj +20 0 obj +<< +/Dest [ 10 0 R /XYZ 62.69291 765.0236 0 ] /Parent 13 0 R /Prev 19 0 R /Title (Testing it worked) +>> +endobj +21 0 obj +<< +/Count 3 /Kids [ 6 0 R 9 0 R 10 0 R ] /Type /Pages +>> +endobj +22 0 obj +<< +/Length 6665 +>> +stream +1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET +q +1 0 0 1 62.69291 741.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 4 Tm /F2 20 Tf 24 TL 3.754882 0 Td (Simple script to create persistent Live USB drive) Tj T* -3.754882 0 Td ET +Q +Q +q +1 0 0 1 62.69291 719.0236 cm +q +BT 1 0 0 1 0 2 Tm 12 TL /F1 10 Tf 0 0 0 rg (Will create a live usb drive with persistence and a mass storage area useable by windows OSs.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 686.0236 cm +q +BT 1 0 0 1 0 3.5 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (Installation) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 668.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (Clone this repository, or download the 'disk_creator.sh' file.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 638.0236 cm +q +BT 1 0 0 1 0 3 Tm 18 TL /F2 15 Tf 0 0 0 rg (Dependencies) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 626.0236 cm +Q +q +1 0 0 1 62.69291 626.0236 cm +Q +q +1 0 0 1 62.69291 614.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (bash) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 608.0236 cm +Q +q +1 0 0 1 62.69291 596.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (sfdisk) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 590.0236 cm +Q +q +1 0 0 1 62.69291 578.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (losetup) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 572.0236 cm +Q +q +1 0 0 1 62.69291 560.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (ntfs3g) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 554.0236 cm +Q +q +1 0 0 1 62.69291 542.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (dosfstools) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 536.0236 cm +Q +q +1 0 0 1 62.69291 524.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (awk) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 518.0236 cm +Q +q +1 0 0 1 62.69291 506.0236 cm +0 0 0 rg +BT /F1 10 Tf 12 TL ET +q +1 0 0 1 6 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL 10.5 0 Td (\177) Tj T* -10.5 0 Td ET +Q +Q +q +1 0 0 1 23 -3 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (bc) Tj T* ET +Q +Q +q +Q +Q +q +1 0 0 1 62.69291 506.0236 cm +Q +q +1 0 0 1 62.69291 488.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (The linux kernel must be compiled with support for iso9660 file systems.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 458.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 14 Tm /F1 10 Tf 12 TL 1.124987 Tw (On debian based distributions most of these will be installed already, just in case here is how to install) Tj T* 0 Tw (them:) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 412.8236 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 36 re B* +Q +q +.960784 .960784 .862745 rg +n 0 12 6 12 re f* +.960784 .960784 .862745 rg +n 0 0 6 12 re f* +BT 1 0 0 1 0 14 Tm 12 TL /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( sudo apt update) Tj T* /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( sudo apt install ntfs-3g util-linux dosfstools bash gawk bc) Tj T* ET +Q +Q +Q +Q +Q +q +1 0 0 1 62.69291 379.8236 cm +q +BT 1 0 0 1 0 3.5 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (Usage) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 349.8236 cm +q +BT 1 0 0 1 0 3 Tm 18 TL /F2 15 Tf 0 0 0 rg (Identify USB device) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 331.8236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (List all currently plugged in block devices, you might see something like this:) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 82.62362 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 240 re B* +Q +q +.960784 .960784 .862745 rg +n 0 216 6 12 re f* +.960784 .960784 .862745 rg +n 0 204 360 12 re f* +.960784 .960784 .862745 rg +n 0 192 414 12 re f* +.960784 .960784 .862745 rg +n 0 180 372 12 re f* +.960784 .960784 .862745 rg +n 0 168 402 12 re f* +.960784 .960784 .862745 rg +n 0 156 426 12 re f* +.960784 .960784 .862745 rg +n 0 144 414 12 re f* +.960784 .960784 .862745 rg +n 0 132 348 12 re f* +.960784 .960784 .862745 rg +n 0 120 360 12 re f* +.960784 .960784 .862745 rg +n 0 108 402 12 re f* +.960784 .960784 .862745 rg +n 0 96 402 12 re f* +.960784 .960784 .862745 rg +n 0 84 438 12 re f* +.960784 .960784 .862745 rg +n 0 72 414 12 re f* +.960784 .960784 .862745 rg +n 0 60 432 12 re f* +.960784 .960784 .862745 rg +n 0 48 414 12 re f* +.960784 .960784 .862745 rg +n 0 36 372 12 re f* +.960784 .960784 .862745 rg +n 0 24 348 12 re f* +.960784 .960784 .862745 rg +n 0 12 372 12 re f* +.960784 .960784 .862745 rg +n 0 0 414 12 re f* +BT 1 0 0 1 0 218 Tm 12 TL /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( lsblk) Tj T* .501961 .501961 .501961 rg (loop0 7:0 0 54.4M 1 loop /snap/core18/1055) Tj T* (loop1 7:1 0 4M 1 loop /snap/gnome-calculator/352) Tj T* (loop2 7:2 0 1008K 1 loop /snap/gnome-logs/57) Tj T* (loop3 7:3 0 140.7M 1 loop /snap/gnome-3-26-1604/90) Tj T* (loop4 7:4 0 35.3M 1 loop /snap/gtk-common-themes/1198) Tj T* (loop5 7:5 0 14.8M 1 loop /snap/gnome-characters/292) Tj T* (loop6 7:6 0 88.4M 1 loop /snap/core/7169) Tj T* (loop7 7:7 0 54.4M 1 loop /snap/core18/1049) Tj T* (loop8 7:8 0 149.9M 1 loop /snap/gnome-3-28-1804/67) Tj T* (loop9 7:9 0 149.9M 1 loop /snap/gnome-3-28-1804/63) Tj T* (loop10 7:10 0 3.7M 1 loop /snap/gnome-system-monitor/100) Tj T* (loop11 7:11 0 14.8M 1 loop /snap/gnome-characters/296) Tj T* (loop12 7:12 0 3.7M 1 loop /snap/gnome-system-monitor/95) Tj T* (loop13 7:13 0 2.3M 1 loop /snap/gnome-calculator/260) Tj T* (loop14 7:14 0 1008K 1 loop /snap/gnome-logs/61) Tj T* (loop15 7:15 0 88.5M 1 loop /snap/core/7270) Tj T* (loop16 7:16 0 14.5M 1 loop /snap/gnome-logs/45) Tj T* (loop17 7:17 0 4M 1 loop /snap/gnome-calculator/406) Tj T* ET +Q +Q +Q +Q +Q + +endstream +endobj +23 0 obj +<< +/Length 6535 +>> +stream +1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET +q +1 0 0 1 62.69291 571.8236 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 192 re B* +Q +q +.960784 .960784 .862745 rg +n 0 168 426 12 re f* +.960784 .960784 .862745 rg +n 0 156 402 12 re f* +.960784 .960784 .862745 rg +n 0 144 252 12 re f* +.960784 .960784 .862745 rg +n 0 132 255.22 12 re f* +.960784 .960784 .862745 rg +n 0 120 255.22 12 re f* +.960784 .960784 .862745 rg +n 0 108 252 12 re f* +.960784 .960784 .862745 rg +n 0 96 255.22 12 re f* +.960784 .960784 .862745 rg +n 0 84 297.22 12 re f* +.960784 .960784 .862745 rg +n 0 72 363.22 12 re f* +.960784 .960784 .862745 rg +n 0 60 252 12 re f* +.960784 .960784 .862745 rg +n 0 48 255.22 12 re f* +.960784 .960784 .862745 rg +n 0 36 363.22 12 re f* +.960784 .960784 .862745 rg +n 0 24 252 12 re f* +.960784 .960784 .862745 rg +n 0 12 315.22 12 re f* +.960784 .960784 .862745 rg +n 0 0 267.22 12 re f* +BT 1 0 0 1 0 170 Tm 12 TL /F4 10 Tf .501961 .501961 .501961 rg (loop18 7:18 0 42.8M 1 loop /snap/gtk-common-themes/1313) Tj T* (loop19 7:19 0 140.7M 1 loop /snap/gnome-3-26-1604/88) Tj T* (sda 8:0 0 7.3T 0 disk) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (sda1 8:1 0 128M 0 part) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (sda2 8:2 0 7.3T 0 part) Tj T* (sdb 8:16 0 9.1T 0 disk) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (sdb1 8:17 0 9.1T 0 part) Tj T* ( ) Tj /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (mass-swap 253:0 0 128G 0 lvm [SWAP]) Tj T* ( ) Tj /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (mass-storage 253:1 0 8T 0 lvm /mnt/mass/storage) Tj T* (sdc 8:32 0 9.1T 0 disk) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (sdc1 8:33 0 9.1T 0 part) Tj T* ( ) Tj /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (mass-scratch 253:2 0 2T 0 lvm /mnt/mass/scratch) Tj T* (nvme0n1 259:0 0 238.5G 0 disk) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (nvme0n1p1 259:1 0 512M 0 part /boot/efi) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (nvme0n1p2 259:2 0 238G 0 part /) Tj T* ET +Q +Q +Q +Q +Q +q +1 0 0 1 62.69291 551.8236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (Plug in your usb drive and list all block devices again:) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 434.6236 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 108 re B* +Q +q +.960784 .960784 .862745 rg +n 0 84 6 12 re f* +.960784 .960784 .862745 rg +n 0 72 6 12 re f* +.960784 .960784 .862745 rg +n 0 60 6 12 re f* +.960784 .960784 .862745 rg +n 0 48 6 12 re f* +.960784 .960784 .862745 rg +n 0 36 252 12 re f* +.960784 .960784 .862745 rg +n 0 24 315.22 12 re f* +.960784 .960784 .862745 rg +n 0 12 267.22 12 re f* +.960784 .960784 .862745 rg +n 0 0 252 12 re f* +BT 1 0 0 1 0 86 Tm 12 TL /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( lsblk) Tj T* .501961 .501961 .501961 rg (.) Tj T* (.) Tj T* (.) Tj T* (nvme0n1 259:0 0 238.5G 0 disk) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (nvme0n1p1 259:1 0 512M 0 part /boot/efi) Tj T* /F5 10 Tf 12 TL (nn) Tj /F4 10 Tf 12 TL (nvme0n1p2 259:2 0 238G 0 part /) Tj T* (sdd 8:48 1 7.5G 0 disk) Tj T* ET +Q +Q +Q +Q +Q +q +1 0 0 1 62.69291 402.6236 cm +q +BT 1 0 0 1 0 14 Tm 1.310542 Tw 12 TL /F1 10 Tf 0 0 0 rg (Notice the new device, ) Tj /F6 10 Tf 0 0 0 rg (sdd) Tj /F1 10 Tf 0 0 0 rg (. It may be called differently on your machine, but will likely be named ) Tj /F6 10 Tf 0 0 0 rg (sdX) Tj /F1 10 Tf 0 0 0 rg T* 0 Tw (where ) Tj /F6 10 Tf 0 0 0 rg (X) Tj /F1 10 Tf 0 0 0 rg ( is a letter. The full name of your usb device is ) Tj /F6 10 Tf 0 0 0 rg (/dev/sdX) Tj /F1 10 Tf 0 0 0 rg (.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 372.6236 cm +q +BT 1 0 0 1 0 3 Tm 18 TL /F2 15 Tf 0 0 0 rg (Linux install image) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 306.6236 cm +q +BT 1 0 0 1 0 50 Tm .32686 Tw 12 TL /F1 10 Tf 0 0 0 rg (Find the installer image for your favourite debian based distribution. You can typically find these things by) Tj T* 0 Tw 1.16622 Tw (searching 'get <) Tj (distribution_name) Tj (>) Tj (', 'download <) Tj (distribution_name) Tj (>) Tj (' or 'install <) Tj (distribution_name) Tj (>) Tj (' with) Tj T* 0 Tw .209986 Tw (your favourite search engine. You can also look for tutorials about how to install that distribution. They will) Tj T* 0 Tw .97186 Tw (likely include instructions about getting the installer image. Download the image and make a note of it's) Tj T* 0 Tw (location.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 273.6236 cm +q +BT 1 0 0 1 0 3.5 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (Running disk_creator) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 255.6236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (Run 'disk_creator.sh' with root privileges:) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 222.4236 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 24 re B* +Q +q +.960784 .960784 .862745 rg +n 0 0 6 12 re f* +BT 1 0 0 1 0 2 Tm 12 TL /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( sudo /path/to/disk_creator.sh /path/to/installer/image.iso /dev/sdX) Tj T* ET +Q +Q +Q +Q +Q +q +1 0 0 1 62.69291 190.4236 cm +q +0 0 0 rg +BT 1 0 0 1 0 14 Tm /F1 10 Tf 12 TL 8.002126 Tw (For instance, if your usb device is '/dev/sdd' and your installer image is located at) Tj T* 0 Tw ('/home/user/Downloads/ubuntu-18.04-amd64.iso' run:) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 133.2236 cm +q +q +1 0 0 1 0 0 cm +q +1 0 0 1 6.6 6.6 cm +q +.662745 .662745 .662745 RG +.5 w +.960784 .960784 .862745 rg +n -6 -6 468.6898 48 re B* +Q +q +.960784 .960784 .862745 rg +n 0 24 6 12 re f* +.960784 .960784 .862745 rg +n 192 24 6 12 re f* +.960784 .960784 .862745 rg +n 276 12 6 12 re f* +BT 1 0 0 1 0 26 Tm 12 TL /F3 10 Tf 0 0 .501961 rg ($) Tj /F4 10 Tf 0 0 0 rg ( sudo /path/to/disk_creator.sh ) Tj /F3 10 Tf .733333 .4 .133333 rg (\\) Tj T* /F4 10 Tf 0 0 0 rg (>) Tj ( /home/user/Downloads/ubuntu-18.04-amd64.iso ) Tj /F3 10 Tf .733333 .4 .133333 rg (\\) Tj T* /F4 10 Tf 0 0 0 rg (>) Tj ( /dev/sdd) Tj T* ET +Q +Q +Q +Q +Q +q +1 0 0 1 62.69291 89.22362 cm +q +0 0 0 rg +BT 1 0 0 1 0 26 Tm /F1 10 Tf 12 TL .679988 Tw (The disk_creator will now run for some time while it copies things to the usb drive. Once it is done, read) Tj T* 0 Tw 2.866651 Tw (through the output it produced. If there are no obvious error messages, it should have completed) Tj T* 0 Tw (successfully.) Tj T* ET +Q +Q + +endstream +endobj +24 0 obj +<< +/Length 1154 +>> +stream +1 0 0 1 0 0 cm BT /F1 12 Tf 14.4 TL ET +q +1 0 0 1 62.69291 744.0236 cm +q +BT 1 0 0 1 0 3.5 Tm 21 TL /F2 17.5 Tf 0 0 0 rg (Testing it worked) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 714.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 14 Tm /F1 10 Tf 12 TL .20881 Tw (The USB drive should now have three partitions. One each of NTFS, ext4 and FAT32. When plugged into) Tj T* 0 Tw (a windows machine, one of them should appear as a large empty partition labeled 'usbdata'.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 684.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 14 Tm /F1 10 Tf 12 TL .625777 Tw (You should be able to boot from the USB drive, into whatever installer image you provided. If it does so,) Tj T* 0 Tw (test that a test file created on the desktop remains there after a reboot.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 666.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 2 Tm /F1 10 Tf 12 TL (If all these tests are successful, everything should have worked.) Tj T* ET +Q +Q +q +1 0 0 1 62.69291 636.0236 cm +q +0 0 0 rg +BT 1 0 0 1 0 14 Tm /F1 10 Tf 12 TL .775251 Tw (If not, read the contents of the 'disk_creator.sh' script and try to understand what it is doing. It is heavily) Tj T* 0 Tw (commented.) Tj T* ET +Q +Q + +endstream +endobj +25 0 obj +<< +/Nums [ 0 26 0 R 1 27 0 R 2 28 0 R ] +>> +endobj +26 0 obj +<< +/S /D /St 1 +>> +endobj +27 0 obj +<< +/S /D /St 2 +>> +endobj +28 0 obj +<< +/S /D /St 3 +>> +endobj +xref +0 29 +0000000000 65535 f +0000000073 00000 n +0000000154 00000 n +0000000261 00000 n +0000000373 00000 n +0000000483 00000 n +0000000588 00000 n +0000000793 00000 n +0000000876 00000 n +0000000991 00000 n +0000001196 00000 n +0000001402 00000 n +0000001508 00000 n +0000001815 00000 n +0000001889 00000 n +0000002041 00000 n +0000002141 00000 n +0000002299 00000 n +0000002419 00000 n +0000002539 00000 n +0000002673 00000 n +0000002792 00000 n +0000002865 00000 n +0000009582 00000 n +0000016169 00000 n +0000017375 00000 n +0000017434 00000 n +0000017468 00000 n +0000017502 00000 n +trailer +<< +/ID +[<46ce85594f1920693247adaaa9e2eec5><46ce85594f1920693247adaaa9e2eec5>] +% ReportLab generated PDF document -- digest (http://www.reportlab.com) + +/Info 12 0 R +/Root 11 0 R +/Size 29 +>> +startxref +17536 +%%EOF -- 2.46.2