poking and prodding
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<title>fstab guide | TheWittyBanter.com</title>
|
||||
<meta name="keywords" content="">
|
||||
<meta name="description" content="When I was but a burgeoning console junkie cutting my teeth in Mint, my first few forays with mounting a new drive had proven to be a struggle. Sure - LLMs exist now, why bother writing this?
|
||||
<meta name="keywords" content="linux, guide">
|
||||
<meta name="description" content="When I was but a burgeoning penguin cutting my teeth in Mint, my first few forays with mounting a new drive had proven to be a struggle. Sure - LLMs exist now, why bother writing this?
|
||||
Why not.
|
||||
This brief tutorial should be cross-flavor, meaning it should work on Debian-, Fedora-, and Arch-based systems alike. For today’s guide we’ll be using CachyOS, adjust for your package manager accordingly! :)">
|
||||
This brief tutorial should be cross-flavor, meaning it should work on Debian-, Fedora-, and Arch-based systems alike. For today’s guide we’ll be using CachyOS, adjust for your package manager accordingly! :)
|
||||
STOP TALKING AND GIVE ME INFO
|
||||
Installing Gnome Disks
|
||||
I’m assuming your drive is already installed in the machine.">
|
||||
<meta name="author" content="">
|
||||
<link rel="canonical" href="//localhost:1313/docs/fstab/">
|
||||
<link crossorigin="anonymous" href="/assets/css/stylesheet.cd9298b33628769aa1bc1acebbbfd7aa11ce81dfe03484d479e1907760249a1d.css" integrity="sha256-zZKYszYodpqhvBrOu7/XqhHOgd/gNITUeeGQd2Akmh0=" rel="preload stylesheet" as="style">
|
||||
@@ -146,34 +149,57 @@ This brief tutorial should be cross-flavor, meaning it should work on Debian-, F
|
||||
|
||||
<div class="inner"><ul>
|
||||
<li>
|
||||
<a href="#stop-talking-and-give-me-info" aria-label="STOP TALKING AND GIVE ME INFO">STOP TALKING AND GIVE ME INFO</a>
|
||||
<a href="#stop-talking-and-give-me-info" aria-label="STOP TALKING AND GIVE ME INFO">STOP TALKING AND GIVE ME INFO</a><ul>
|
||||
|
||||
<li>
|
||||
<a href="#installing-gnome-disks" aria-label="Installing Gnome Disks">Installing Gnome Disks</a></li>
|
||||
<li>
|
||||
<a href="#formatting" aria-label="Formatting">Formatting</a></li>
|
||||
<li>
|
||||
<a href="#making-a-directory" aria-label="Making a Directory">Making a Directory</a></li>
|
||||
<li>
|
||||
<a href="#etcfstab" aria-label="/etc/fstab">/etc/fstab</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<div class="post-content md-content"><p>When I was but a burgeoning console junkie cutting my teeth in Mint, my first few forays with mounting a new drive had proven to be a struggle. Sure - LLMs exist now, why bother writing this?</p>
|
||||
<div class="post-content md-content"><p>When I was but a burgeoning penguin cutting my teeth in Mint, my first few forays with mounting a new drive had proven to be a struggle. Sure - LLMs exist now, why bother writing this?</p>
|
||||
<p>Why not.</p>
|
||||
<p>This brief tutorial should be cross-flavor, meaning it should work on Debian-, Fedora-, and Arch-based systems alike. For today’s guide we’ll be using CachyOS, adjust for your package manager accordingly! :)</p>
|
||||
<h2 id="stop-talking-and-give-me-info">STOP TALKING AND GIVE ME INFO<a hidden class="anchor" aria-hidden="true" href="#stop-talking-and-give-me-info">#</a></h2>
|
||||
<p>I’m assuming your drive is already installed. If not, To begin, if you don’t already have it, I like to use Gnome’s Disk Utility on most of my distributions. Install it with:</p>
|
||||
<h3 id="installing-gnome-disks">Installing Gnome Disks<a hidden class="anchor" aria-hidden="true" href="#installing-gnome-disks">#</a></h3>
|
||||
<p>I’m assuming your drive is already installed in the machine.</p>
|
||||
<p>To begin, if you don’t already have it, I like to use Gnome’s Disk Utility on most of my distributions - it is handy for our use case.</p>
|
||||
<p>Install it with:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo pacman -Syyu
|
||||
</span></span><span style="display:flex;"><span>sudo pacman -S gnome-disk-utility
|
||||
</span></span></code></pre></div><p>Then we leave that terminal open to the side, and open up what we just installed. You can either search “Disks” in your app launcher, or run:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>gnome-disk-utility
|
||||
</span></span></code></pre></div><p>Ideally you’ll have Disks on one window, terminal on the other.</p>
|
||||
<h3 id="formatting">Formatting<a hidden class="anchor" aria-hidden="true" href="#formatting">#</a></h3>
|
||||
<p>Now. In Disks, you’ll want to format your disk from the 3-dot menu in the top right.</p>
|
||||
<p>Once formatted, mount the sucker. Name it something you’ll remember, we’ll need it soon.</p>
|
||||
<p><em>(Quick note! If you plan to daily this drive in Linux, leave it as “ext4”. If you intend to dual boot, format to “fat32”)</em></p>
|
||||
<h3 id="making-a-directory">Making a Directory<a hidden class="anchor" aria-hidden="true" href="#making-a-directory">#</a></h3>
|
||||
<p>Now you’re formatted. You’ll notice a little string of numbers under the partition now, a field labeled “UUID”. We need that. Copy paste your UUID, and move over to the terminal</p>
|
||||
<p>In your terminal, run</p>
|
||||
<p>Now it’s time to make a directory - so the computer knows where to dump the available storage. In your terminal:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo mkdir -p /mnt/YourDriveName
|
||||
</span></span></code></pre></div><p>Name the directory whatever you decided earlier.</p>
|
||||
<h3 id="etcfstab">/etc/fstab<a hidden class="anchor" aria-hidden="true" href="#etcfstab">#</a></h3>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo nano /etc/fstab
|
||||
</span></span></code></pre></div><p>Use the DOWN key to go to the bottom of the file. Once there, insert:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-txt" data-lang="txt"><span style="display:flex;"><span>UUID=[uuid from Gnome Disk Util] /mnt/
|
||||
</span></span></code></pre></div>
|
||||
|
||||
</div>
|
||||
|
||||
<footer class="post-footer">
|
||||
<ul class="post-tags">
|
||||
<li><a href="//localhost:1313/tags/linux/">Linux</a></li>
|
||||
<li><a href="//localhost:1313/tags/guide/">Guide</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user