fix forklift-upgrade-arch-linux-precision-3561.md
This commit is contained in:
parent
848f3d73bd
commit
4cf55974ec
@ -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,
|
||||
an 1GB _efi_ partition (type ef00), and for the remainder of each disk
|
||||
created a Linux Raid Parition (type fd00).
|
||||
|
||||
* I formatted one of the _efi_ partitions:
|
||||
* `mkfs.vfat -F32 /dev/nvme0n1p1`
|
||||
* 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:
|
||||
* `luksFormat -y -v /dev/md0`
|
||||
* 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
@ -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>
|
||||
<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
|
||||
created a Linux Raid Parition (type fd00).
|
||||
* I formatted one of the <em>efi</em> partitions:
|
||||
* <code>mkfs.vfat -F32 /dev/nvme0n1p1</code>
|
||||
* I created a <em>raid</em> array:
|
||||
* <code>mdadm --create --verbose --level=1 --metadata=1.2 --raid-devices=2 /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2</code>
|
||||
* I luks-encrypted the new <em>raid</em> array:
|
||||
* <code>luksFormat -y -v /dev/md0</code>
|
||||
* I opened the new luks device:
|
||||
* <code>cryptsetup open /dev/md0 cryptroot</code>
|
||||
* And then Formatted it:
|
||||
* <code>mkfs.xfs /dev/mapper/cryptroot</code></p>
|
||||
created a Linux Raid Parition (type fd00).</p>
|
||||
<ul>
|
||||
<li>I formatted one of the <em>efi</em> partitions:<ul>
|
||||
<li><code>mkfs.vfat -F32 /dev/nvme0n1p1</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>I created a <em>raid</em> array:
|
||||
<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>
|
||||
--raid-devices<span class="o">=</span><span class="m">2</span> /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p2
|
||||
</code></pre></div></li>
|
||||
<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>
|
||||
<ul>
|
||||
<li>I mounted the thumbdrive's <em>efi</em> partition:<ul>
|
||||
|
File diff suppressed because one or more lines are too long
@ -2,152 +2,152 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/links/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/rss/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/apache-virtual-hosts/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/debian-11-ttrss/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/faster-partitioning-with-sgdisk/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/kvm-on-arch/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/prosody-photo-uploads/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<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>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/simplified-raspberry-streaming/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/test-qr-svg-django/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://blog.trentsonlinedocs.xyz/posts/xmpp-apt-notifications/</loc>
|
||||
<lastmod>2021-10-20</lastmod>
|
||||
<lastmod>2021-10-22</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user