mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2024-11-22 03:31:31 -08:00
add <nobr> tags around various strings inside <code> tags in lmde-3-disk-encryption
This commit is contained in:
parent
bc77e13461
commit
f5faa661db
@ -77,7 +77,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>verify the sha256 sum of the iso file<br>
|
<li>verify the sha256 sum of the iso file<br>
|
||||||
<code>sha256sum lmde-3-201808-cinnamon-64bit.iso</code>
|
<code>sha256sum <nobr>lmde-3-201808-cinnamon-64bit.iso</nobr></code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="main-left-indent">
|
<p class="main-left-indent">
|
||||||
@ -106,7 +106,7 @@ sdb 8:32 1 14.5G 0 disk
|
|||||||
<code>umount /dev/sdb1</code>
|
<code>umount /dev/sdb1</code>
|
||||||
</li>
|
</li>
|
||||||
<li>write the disk image to the thumb drive<br>
|
<li>write the disk image to the thumb drive<br>
|
||||||
<code>ddrescue -D --force lmde-3-201808-cinnamon-64bit.iso /dev/sdb</code>
|
<code>ddrescue -D <nobr>--force</nobr> <nobr>lmde-3-201808-cinnamon-64bit.iso</nobr> /dev/sdb</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@ -142,25 +142,25 @@ sdb 8:32 1 14.5G 0 disk
|
|||||||
<code>sgdisk /dev/sda -o</code>
|
<code>sgdisk /dev/sda -o</code>
|
||||||
</li>
|
</li>
|
||||||
<li>create a new efi partition for /dev/sda<br>
|
<li>create a new efi partition for /dev/sda<br>
|
||||||
<code>sgdisk /dev/sda --new=1::+512MiB --typecode=1:ef00</code>
|
<code>sgdisk /dev/sda <nobr>--new=1::+512MiB</nobr> <nobr>--typecode=1:ef00</nobr></code>
|
||||||
</li>
|
</li>
|
||||||
<li>create a new /boot partition for /dev/sda<br>
|
<li>create a new /boot partition for /dev/sda<br>
|
||||||
<code>sgdisk /dev/sda --new=2::+1G</code>
|
<code>sgdisk /dev/sda <nobr>--new=2::+1G</nobr></code>
|
||||||
</li>
|
</li>
|
||||||
<li>create a new / partition for /dev/sda<br>
|
<li>create a new / partition for /dev/sda<br>
|
||||||
<code>sgdisk /dev/sda --new=3</code>
|
<code>sgdisk /dev/sda <nobr>--new=3</nobr></code>
|
||||||
</li>
|
</li>
|
||||||
<li>verify your partition work<br>
|
<li>verify your partition work<br>
|
||||||
<code>sgdisk /dev/sda -p</code>
|
<code>sgdisk /dev/sda <nobr>-p</nobr></code>
|
||||||
</li>
|
</li>
|
||||||
<li>format the efi partition<br>
|
<li>format the efi partition<br>
|
||||||
<code>makefs.vfat -F32 /dev/sda1</code>
|
<code>makefs.vfat <nobr>-F32</nobr> /dev/sda1</code>
|
||||||
</li>
|
</li>
|
||||||
<li>format the /boot partition<br>
|
<li>format the /boot partition<br>
|
||||||
<code>makefs.ext4 /dev/sda2</code>
|
<code>makefs.ext4 /dev/sda2</code>
|
||||||
</li>
|
</li>
|
||||||
<li>encrypt the / partition, you will be prompted for a password<br>
|
<li>encrypt the / partition, you will be prompted for a password<br>
|
||||||
<code>cryptsetup -y -v luksFormat --type luks2 /dev/sda3</code>
|
<code>cryptsetup <nobr>-y -v</nobr> luksFormat <nobr>--type</nobr> luks2 /dev/sda3</code>
|
||||||
</li>
|
</li>
|
||||||
<li>decrypt the / partition, you will be prompted for a password<br>
|
<li>decrypt the / partition, you will be prompted for a password<br>
|
||||||
<code>cryptsetup open /dev/sda3 cryptroot</code>
|
<code>cryptsetup open /dev/sda3 cryptroot</code>
|
||||||
@ -233,7 +233,7 @@ sdb 8:32 1 14.5G 0 disk
|
|||||||
<code>blkid /dev/sda2 -s UUID</code>
|
<code>blkid /dev/sda2 -s UUID</code>
|
||||||
</li>
|
</li>
|
||||||
<li>find the UUID of the "/" device<br>
|
<li>find the UUID of the "/" device<br>
|
||||||
<code>blkid /dev/mapper/cryptroot -s UUID</code>
|
<code>blkid /dev/mapper/cryptroot <nobr>-s</nobr> UUID</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="main-left-indent">
|
<p class="main-left-indent">
|
||||||
|
Loading…
Reference in New Issue
Block a user