fix forklift-upgrade-arch-linux-precision-3561.md

This commit is contained in:
Trent Palmer 2021-10-22 00:36:14 -07:00
parent 848f3d73bd
commit 4cf55974ec
7 changed files with 61 additions and 45 deletions

View File

@ -156,10 +156,14 @@ and also plugged in the thumbdrive on which my Arch system was installed.
I opened each nvme ssd in `gdisk`, created a new _gpt_ partition table, I opened each nvme ssd in `gdisk`, created a new _gpt_ partition table,
an 1GB _efi_ partition (type ef00), and for the remainder of each disk an 1GB _efi_ partition (type ef00), and for the remainder of each disk
created a Linux Raid Parition (type fd00). created a Linux Raid Parition (type fd00).
* I formatted one of the _efi_ partitions: * I formatted one of the _efi_ partitions:
* `mkfs.vfat -F32 /dev/nvme0n1p1` * `mkfs.vfat -F32 /dev/nvme0n1p1`
* I created a _raid_ array: * I created a _raid_ array:
* `mdadm --create --verbose --level=1 --metadata=1.2 --raid-devices=2 /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2` ```bash
mdadm --create --verbose --level=1 --metadata=1.2 \
--raid-devices=2 /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2
```
* I luks-encrypted the new _raid_ array: * I luks-encrypted the new _raid_ array:
* `luksFormat -y -v /dev/md0` * `luksFormat -y -v /dev/md0`
* I opened the new luks device: * I opened the new luks device:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2259,17 +2259,29 @@ and also plugged in the thumbdrive on which my Arch system was installed.</p>
<h3 id="formatting-the-new-nvme-ssds">Formatting The New NVME ssds</h3> <h3 id="formatting-the-new-nvme-ssds">Formatting The New NVME ssds</h3>
<p>I opened each nvme ssd in <code>gdisk</code>, created a new <em>gpt</em> partition table, <p>I opened each nvme ssd in <code>gdisk</code>, created a new <em>gpt</em> partition table,
an 1GB <em>efi</em> partition (type ef00), and for the remainder of each disk an 1GB <em>efi</em> partition (type ef00), and for the remainder of each disk
created a Linux Raid Parition (type fd00). created a Linux Raid Parition (type fd00).</p>
* I formatted one of the <em>efi</em> partitions: <ul>
* <code>mkfs.vfat -F32 /dev/nvme0n1p1</code> <li>I formatted one of the <em>efi</em> partitions:<ul>
* I created a <em>raid</em> array: <li><code>mkfs.vfat -F32 /dev/nvme0n1p1</code></li>
* <code>mdadm --create --verbose --level=1 --metadata=1.2 --raid-devices=2 /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2</code> </ul>
* I luks-encrypted the new <em>raid</em> array: </li>
* <code>luksFormat -y -v /dev/md0</code> <li>I created a <em>raid</em> array:
* I opened the new luks device: <div class="highlight"><pre><span></span><code>mdadm --create --verbose --level<span class="o">=</span><span class="m">1</span> --metadata<span class="o">=</span><span class="m">1</span>.2 <span class="se">\ </span>
* <code>cryptsetup open /dev/md0 cryptroot</code> --raid-devices<span class="o">=</span><span class="m">2</span> /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2
* And then Formatted it: </code></pre></div></li>
* <code>mkfs.xfs /dev/mapper/cryptroot</code></p> <li>I luks-encrypted the new <em>raid</em> array:<ul>
<li><code>luksFormat -y -v /dev/md0</code></li>
</ul>
</li>
<li>I opened the new luks device:<ul>
<li><code>cryptsetup open /dev/md0 cryptroot</code></li>
</ul>
</li>
<li>And then Formatted it:<ul>
<li><code>mkfs.xfs /dev/mapper/cryptroot</code></li>
</ul>
</li>
</ul>
<h3 id="copying-the-efi-partition-files-to-nvme-ssd">Copying the <em>efi</em> partition files to NVME ssd</h3> <h3 id="copying-the-efi-partition-files-to-nvme-ssd">Copying the <em>efi</em> partition files to NVME ssd</h3>
<ul> <ul>
<li>I mounted the thumbdrive's <em>efi</em> partition:<ul> <li>I mounted the thumbdrive's <em>efi</em> partition:<ul>

File diff suppressed because one or more lines are too long

View File

@ -2,152 +2,152 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/</loc> <loc>https://blog.trentsonlinedocs.xyz/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/links/</loc> <loc>https://blog.trentsonlinedocs.xyz/links/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/rss/</loc> <loc>https://blog.trentsonlinedocs.xyz/rss/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/add-kvm-network-with-virsh/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/add-kvm-network-with-virsh/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-1/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-1/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-2/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-2/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-3/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-3/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-4/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-4/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-5/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-5/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-6/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/ansible-kvm-router-lab-part-6/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/clear-linux-encrypted-xfs-root/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/clear-linux-guest-virt-manager/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/debian-11-nspawn-flutter-integration-test-server/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/forklift-upgrade-arch-linux-precision-3561/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/forklift-upgrade-arch-linux-precision-3561/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/instructions-for-tethering-from-phone/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/kvm-on-arch/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/kvm-on-arch/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/linux-move-cursor-with-keyboard/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/lmde3-xfs-full-disk-encryption/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/lmde4-custom-partitions-disk-encryption/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/raspberrypi-lte-failover-router-with-dns-caching/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/raspberrypi-lte-failover-router-with-dns-caching/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/rewrite-hugo-themes-report-in-python/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/sendxmpp-handler-for-python-logging/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
<url> <url>
<loc>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/</loc> <loc>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/</loc>
<lastmod>2021-10-20</lastmod> <lastmod>2021-10-22</lastmod>
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
</url> </url>
</urlset> </urlset>

Binary file not shown.