Browse Source

POST - Move /home folder

codeskraps 2 months ago
parent
commit
76041d6189

+ 110 - 0
content/posts/2025/move_home_folder.md

@@ -0,0 +1,110 @@
++++
+title = 'Move /home Folder'
+date = 2025-01-29T14:30:17+01:00
+tags = ['linux']
+draft = false
++++
+You can move the `/home` folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move `/home` to a new location.
+<!--more-->
+
+---
+
+## **1. Create a Backup (Recommended)**
+Before proceeding, create a backup of your home folder in case anything goes wrong.
+
+{{<highlight bash>}}
+sudo tar -czvf /home_backup.tar.gz /home
+{{</highlight>}}
+
+## **2. Create a New Partition or Mount Point (If Needed)**
+If you're moving /home to a different partition or disk, make sure it's properly formatted and mounted.
+
+For example, if you want to use a new disk (e.g., `/dev/sdb1`):
+
+{{<highlight bash>}}
+sudo mkfs.ext4 /dev/sdb1
+sudo mkdir /mnt/newhome
+sudo mount /dev/sdb1 /mnt/newhome
+{{</highlight>}}
+
+## **3. Copy the Home Folder**
+Copy all user data to the new location while preserving permissions:
+
+{{<highlight bash>}}
+sudo rsync -aXS /home/ /mnt/newhome/
+{{</highlight>}}
+
+---
+
+## **4. Update fstab**
+Edit /etc/fstab to mount the new home directory at boot.
+
+{{<highlight bash>}}
+sudo nano /etc/fstab
+{{</highlight>}}
+
+Add this line at the end (adjust the path accordingly):
+
+{{<highlight bash>}}
+/dev/sdb1  /home  ext4  defaults  0  2
+{{</highlight>}}
+
+If you prefer using the UUID, first find it:
+
+{{<highlight bash>}}
+sudo blkid
+{{</highlight>}}
+
+Then, add this line instead:
+
+{{<highlight arduino>}}
+UUID=your-uuid /home ext4 defaults 0 2
+{{</highlight>}}
+
+---
+
+## **5. Unmount Old Home and Mount New One**
+Switch to a different session (e.g., TTY):
+
+{{<highlight bash>}}
+Ctrl + Alt + F3
+{{</highlight>}}
+
+Log in and stop processes using `/home`:
+
+{{<highlight bash>}}
+sudo systemctl stop gdm  # For GNOME (or use sddm/lightdm if applicable)
+{{</highlight>}}
+
+Unmount and remount:
+
+{{<highlight bash>}}
+sudo umount /home
+sudo mount /home
+{{</highlight>}}
+
+---
+
+## **6. Verify and Reboot**
+Check that everything is in place:
+
+{{<highlight bash>}}
+ls /home
+{{</highlight>}}
+
+If everything looks good, reboot:
+
+{{<highlight bash>}}
+sudo reboot
+{{</highlight>}}
+
+---
+
+# Things to Keep in Mind
+* If you're logged in as a regular user, switch to a root shell (sudo -i) or use a temporary user with administrative privileges.
+
+* If you face permission issues, you might need to reapply ownership:
+
+{{<highlight bash>}}
+sudo chown -R username:username /home/username
+{{</highlight>}}

+ 1 - 1
public/404.html

@@ -10,7 +10,7 @@
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/404.html" >

+ 1 - 1
public/about/index.html

@@ -10,7 +10,7 @@ About | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/about/" >

+ 1 - 1
public/categories/index.html

@@ -10,7 +10,7 @@ Categories | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/categories/" >

+ 1 - 1
public/index.html

@@ -10,7 +10,7 @@
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/" >

+ 8 - 1
public/index.xml

@@ -8,7 +8,7 @@
     <language>en-us</language>
     <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
     <webMaster>me@codeskraps.com (codeskraps)</webMaster>
-    <lastBuildDate>Thu, 03 Oct 2024 17:16:34 +0200</lastBuildDate>
+    <lastBuildDate>Wed, 29 Jan 2025 14:30:17 +0100</lastBuildDate>
     <atom:link href="https://codeskraps.com/index.xml" rel="self" type="application/rss+xml" />
     <item>
       <title>About Me</title>
@@ -17,6 +17,13 @@
       <guid>https://codeskraps.com/about/</guid>
       <description>&lt;p&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;  &#xA;  &#xA;  &#xA;      &#xA;      &#xA;  &lt;picture&gt;&#xA;  &lt;img class=&#34;img-fluid&#34; src=&#34;https://codeskraps.com/images/me_codeskraps.gif?v=9df9e0930034eb1e10990a99d3ef1056&#34; alt=&#34;me&#34; loading=&#34;lazy&#34; height=&#34;107&#34; width=&#34;150&#34; /&gt;&#xA;&lt;/picture&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m a passionate and highly motivated software engineer with a deep-rooted love for technology that dates back to my first computer, an Amstrad 8256. From those early days of programming as a hobby, I&amp;rsquo;ve turned my passion into a successful career, specializing in mobile development with a focus on Android.&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;h2 id=&#34;professional-journey&#34;&gt;Professional Journey&lt;/h2&gt;&#xA;&lt;p&gt;Currently, I&amp;rsquo;m leading the mobile team at Game Golf, where I oversee all aspects of our mobile app development. My experience spans various domains, including:&lt;/p&gt;</description>
     </item>
+    <item>
+      <title>Move /home Folder</title>
+      <link>https://codeskraps.com/posts/2025/move_home_folder/</link>
+      <pubDate>Wed, 29 Jan 2025 14:30:17 +0100</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/posts/2025/move_home_folder/</guid>
+      <description>&lt;p&gt;You can move the &lt;code&gt;/home&lt;/code&gt; folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move &lt;code&gt;/home&lt;/code&gt; to a new location.&lt;/p&gt;</description>
+    </item>
     <item>
       <title>React Native vs Kotlin Multiplatform</title>
       <link>https://codeskraps.com/posts/2024/react_vs_kmp/</link>

+ 1 - 1
public/posts/2024/git_ssh_command/index.html

@@ -10,7 +10,7 @@ Configuring SSH Keys for Individual Git Commands | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/posts/2024/git_ssh_command/" >

+ 1 - 1
public/posts/2024/gitignore_not_working/index.html

@@ -10,7 +10,7 @@ When .gitignore Doesnt Seem to Work: A Quick Fix | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/posts/2024/gitignore_not_working/" >

+ 1 - 1
public/posts/2024/mvi_architecture/index.html

@@ -10,7 +10,7 @@ Simplifying MVI Architecture | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/posts/2024/mvi_architecture/" >

+ 1 - 1
public/posts/2024/react_vs_kmp/index.html

@@ -10,7 +10,7 @@ React Native vs Kotlin Multiplatform | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/posts/2024/react_vs_kmp/" >

+ 175 - 0
public/posts/2025/move_home_folder/index.html

@@ -0,0 +1,175 @@
+<!DOCTYPE html>
+<html lang="en-us">
+
+<head>
+    <title>
+Move /home Folder | codeskraps
+</title>
+
+    <meta http-equiv="content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="Your website description">
+
+<meta name="generator" content="Hugo 0.141.0">
+
+
+<link rel="canonical" href="https://codeskraps.com/posts/2025/move_home_folder/" >
+
+
+
+
+<link href="/css/style.min.ee0d47e4d4346c71a65a9e873108c81ffae54d60a2fc2338f6df394eb4b25a82.css" rel="stylesheet">
+
+
+
+
+</head>
+
+<body>
+
+    <div class="flexWrapper">
+        <header class="headerWrapper">
+    <div class="header">
+        <div>
+            <a class="terminal" href="https://codeskraps.com/">
+                <span>me@codeskraps.com ~ $</span>
+            </a>
+        </div>
+        <input class="side-menu" type="checkbox" id="side-menu">
+        <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
+        <nav class="headerLinks">
+            <ul>
+                
+                <li>
+                    <a href="https://codeskraps.com/projects/" title="" >
+                        ~/projects</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/about/" title="" >
+                        ~/about</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/posts/" title="" >
+                        ~/posts</a>
+                </li>
+                
+            </ul>
+        </nav>
+    </divi>
+    
+      <script async src="https://www.googletagmanager.com/gtag/js?id=G-YP8WK3KZF1"></script>
+      <script>
+        var doNotTrack = false;
+        if ( false ) {
+          var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
+          var doNotTrack = (dnt == "1" || dnt == "yes");
+        }
+        if (!doNotTrack) {
+          window.dataLayer = window.dataLayer || [];
+          function gtag(){dataLayer.push(arguments);}
+          gtag('js', new Date());
+          gtag('config', 'G-YP8WK3KZF1');
+        }
+      </script>
+</header>
+
+
+        <div class="content">
+            <main class="main">
+                
+<div class="postWrapper">
+    <h1>Move /home Folder</h1>
+    
+    
+    <section class="postMetadata">
+        <dl>
+            
+                
+<dt>tags</dt>
+<dd><span></span>
+    <a href="/tags/linux/">#Linux</a></dd>
+            
+            
+            
+            
+                <dt>published</dt>
+                
+                <dd><time datetime="2025-01-29">January 29, 2025</time></dd>
+            
+            
+                <dt>reading time</dt>
+                <dd>2 minutes</dd>
+            
+        </dl>
+    </section>
+    
+    <div>
+        <p>You can move the <code>/home</code> folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move <code>/home</code> to a new location.</p>
+<hr>
+<h2 id="1-create-a-backup-recommended"><strong>1. Create a Backup (Recommended)</strong></h2>
+<p>Before proceeding, create a backup of your home folder in case anything goes wrong.</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo tar -czvf /home_backup.tar.gz /home</span></span></code></pre></div>
+<h2 id="2-create-a-new-partition-or-mount-point-if-needed"><strong>2. Create a New Partition or Mount Point (If Needed)</strong></h2>
+<p>If you&rsquo;re moving /home to a different partition or disk, make sure it&rsquo;s properly formatted and mounted.</p>
+<p>For example, if you want to use a new disk (e.g., <code>/dev/sdb1</code>):</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo mkfs.ext4 /dev/sdb1
+</span></span><span style="display:flex;"><span>sudo mkdir /mnt/newhome
+</span></span><span style="display:flex;"><span>sudo mount /dev/sdb1 /mnt/newhome</span></span></code></pre></div>
+<h2 id="3-copy-the-home-folder"><strong>3. Copy the Home Folder</strong></h2>
+<p>Copy all user data to the new location while preserving permissions:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo rsync -aXS /home/ /mnt/newhome/</span></span></code></pre></div>
+<hr>
+<h2 id="4-update-fstab"><strong>4. Update fstab</strong></h2>
+<p>Edit /etc/fstab to mount the new home directory at boot.</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo nano /etc/fstab</span></span></code></pre></div>
+<p>Add this line at the end (adjust the path accordingly):</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>/dev/sdb1  /home  ext4  defaults  <span style="color:#ae81ff">0</span>  <span style="color:#ae81ff">2</span></span></span></code></pre></div>
+<p>If you prefer using the UUID, first find it:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo blkid</span></span></code></pre></div>
+<p>Then, add this line instead:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-arduino" data-lang="arduino"><span style="display:flex;"><span>UUID<span style="color:#f92672">=</span>your<span style="color:#f92672">-</span>uuid <span style="color:#f92672">/</span><span style="color:#a6e22e">home</span> ext4 defaults <span style="color:#ae81ff">0</span> <span style="color:#ae81ff">2</span></span></span></code></pre></div>
+<hr>
+<h2 id="5-unmount-old-home-and-mount-new-one"><strong>5. Unmount Old Home and Mount New One</strong></h2>
+<p>Switch to a different session (e.g., TTY):</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>Ctrl + Alt + F3</span></span></code></pre></div>
+<p>Log in and stop processes using <code>/home</code>:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo systemctl stop gdm  <span style="color:#75715e"># For GNOME (or use sddm/lightdm if applicable)</span></span></span></code></pre></div>
+<p>Unmount and remount:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo umount /home
+</span></span><span style="display:flex;"><span>sudo mount /home</span></span></code></pre></div>
+<hr>
+<h2 id="6-verify-and-reboot"><strong>6. Verify and Reboot</strong></h2>
+<p>Check that everything is in place:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>ls /home</span></span></code></pre></div>
+<p>If everything looks good, reboot:</p>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo reboot</span></span></code></pre></div>
+<hr>
+<h1 id="things-to-keep-in-mind">Things to Keep in Mind</h1>
+<ul>
+<li>
+<p>If you&rsquo;re logged in as a regular user, switch to a root shell (sudo -i) or use a temporary user with administrative privileges.</p>
+</li>
+<li>
+<p>If you face permission issues, you might need to reapply ownership:</p>
+</li>
+</ul>
+<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>sudo chown -R username:username /home/username</span></span></code></pre></div>
+    </div>
+</div>
+
+            </main>
+        </div>
+
+
+        <footer class="footer">
+    
+        <span>CC 2024, Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> and <a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> theme</span>
+    
+</footer>
+    </div>
+
+</body>
+
+</html>

+ 18 - 1
public/posts/index.html

@@ -10,7 +10,7 @@ Posts | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/posts/" >
@@ -92,6 +92,23 @@ Posts | codeskraps
     <div>
         
 
+        <a class="postListLink" href="https://codeskraps.com/posts/2025/move_home_folder/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Move /home Folder</span>
+                    
+                    <time class="postDate" datetime="2025-01-29">January 29, 2025</time>
+                </div>
+                <div class="postExcerpt">
+                    <p><p>You can move the <code>/home</code> folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move <code>/home</code> to a new location.</p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+
         <a class="postListLink" href="https://codeskraps.com/posts/2024/react_vs_kmp/">
             
             <div class="postListItem" role="listitem">

+ 8 - 1
public/posts/index.xml

@@ -8,8 +8,15 @@
     <language>en-us</language>
     <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
     <webMaster>me@codeskraps.com (codeskraps)</webMaster>
-    <lastBuildDate>Thu, 03 Oct 2024 17:16:34 +0200</lastBuildDate>
+    <lastBuildDate>Wed, 29 Jan 2025 14:30:17 +0100</lastBuildDate>
     <atom:link href="https://codeskraps.com/posts/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Move /home Folder</title>
+      <link>https://codeskraps.com/posts/2025/move_home_folder/</link>
+      <pubDate>Wed, 29 Jan 2025 14:30:17 +0100</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/posts/2025/move_home_folder/</guid>
+      <description>&lt;p&gt;You can move the &lt;code&gt;/home&lt;/code&gt; folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move &lt;code&gt;/home&lt;/code&gt; to a new location.&lt;/p&gt;</description>
+    </item>
     <item>
       <title>React Native vs Kotlin Multiplatform</title>
       <link>https://codeskraps.com/posts/2024/react_vs_kmp/</link>

+ 1 - 1
public/projects/index.html

@@ -10,7 +10,7 @@ Projects | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/projects/" >

+ 15 - 9
public/sitemap.xml

@@ -3,11 +3,23 @@
   xmlns:xhtml="http://www.w3.org/1999/xhtml">
   <url>
     <loc>https://codeskraps.com/about/</loc>
-  </url><url>
-    <loc>https://codeskraps.com/tags/android/</loc>
-    <lastmod>2024-10-03T17:16:34+02:00</lastmod>
   </url><url>
     <loc>https://codeskraps.com/</loc>
+    <lastmod>2025-01-29T14:30:17+01:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/linux/</loc>
+    <lastmod>2025-01-29T14:30:17+01:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/posts/2025/move_home_folder/</loc>
+    <lastmod>2025-01-29T14:30:17+01:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/posts/</loc>
+    <lastmod>2025-01-29T14:30:17+01:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/</loc>
+    <lastmod>2025-01-29T14:30:17+01:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/android/</loc>
     <lastmod>2024-10-03T17:16:34+02:00</lastmod>
   </url><url>
     <loc>https://codeskraps.com/tags/ios/</loc>
@@ -18,18 +30,12 @@
   </url><url>
     <loc>https://codeskraps.com/tags/kotlin/</loc>
     <lastmod>2024-10-03T17:16:34+02:00</lastmod>
-  </url><url>
-    <loc>https://codeskraps.com/posts/</loc>
-    <lastmod>2024-10-03T17:16:34+02:00</lastmod>
   </url><url>
     <loc>https://codeskraps.com/posts/2024/react_vs_kmp/</loc>
     <lastmod>2024-10-03T17:16:34+02:00</lastmod>
   </url><url>
     <loc>https://codeskraps.com/tags/react-native/</loc>
     <lastmod>2024-10-03T17:16:34+02:00</lastmod>
-  </url><url>
-    <loc>https://codeskraps.com/tags/</loc>
-    <lastmod>2024-10-03T17:16:34+02:00</lastmod>
   </url><url>
     <loc>https://codeskraps.com/tags/architecture/</loc>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>

+ 1 - 1
public/tags/android/index.html

@@ -10,7 +10,7 @@ Android | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/android/" >

+ 1 - 1
public/tags/architecture/index.html

@@ -10,7 +10,7 @@ Architecture | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/architecture/" >

+ 1 - 1
public/tags/git/index.html

@@ -10,7 +10,7 @@ Git | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/git/" >

+ 18 - 1
public/tags/index.html

@@ -10,7 +10,7 @@ Tags | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/" >
@@ -92,6 +92,23 @@ Tags | codeskraps
     <div>
         
 
+        <a class="postListLink" href="https://codeskraps.com/tags/linux/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Linux</span>
+                    
+                    <time class="postDate" datetime="2025-01-29">January 29, 2025</time>
+                </div>
+                <div class="postExcerpt">
+                    <p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+
         <a class="postListLink" href="https://codeskraps.com/tags/android/">
             
             <div class="postListItem" role="listitem">

+ 8 - 1
public/tags/index.xml

@@ -8,8 +8,15 @@
     <language>en-us</language>
     <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
     <webMaster>me@codeskraps.com (codeskraps)</webMaster>
-    <lastBuildDate>Thu, 03 Oct 2024 17:16:34 +0200</lastBuildDate>
+    <lastBuildDate>Wed, 29 Jan 2025 14:30:17 +0100</lastBuildDate>
     <atom:link href="https://codeskraps.com/tags/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Linux</title>
+      <link>https://codeskraps.com/tags/linux/</link>
+      <pubDate>Wed, 29 Jan 2025 14:30:17 +0100</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/tags/linux/</guid>
+      <description></description>
+    </item>
     <item>
       <title>Android</title>
       <link>https://codeskraps.com/tags/android/</link>

+ 1 - 1
public/tags/ios/index.html

@@ -10,7 +10,7 @@ Ios | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/ios/" >

+ 1 - 1
public/tags/kmp/index.html

@@ -10,7 +10,7 @@ Kmp | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/kmp/" >

+ 1 - 1
public/tags/kotlin/index.html

@@ -10,7 +10,7 @@ Kotlin | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/kotlin/" >

+ 128 - 0
public/tags/linux/index.html

@@ -0,0 +1,128 @@
+<!DOCTYPE html>
+<html lang="en-us">
+
+<head>
+    <title>
+Linux | codeskraps
+</title>
+
+    <meta http-equiv="content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="Your website description">
+
+<meta name="generator" content="Hugo 0.141.0">
+
+
+<link rel="canonical" href="https://codeskraps.com/tags/linux/" >
+  <link href="https://codeskraps.com/tags/linux/index.xml" rel="alternate" type="application/rss+xml" title="codeskraps" >
+  <link href="https://codeskraps.com/tags/linux/index.xml" rel="feed" type="application/rss+xml" title="codeskraps" >
+
+
+
+
+<link href="/css/style.min.ee0d47e4d4346c71a65a9e873108c81ffae54d60a2fc2338f6df394eb4b25a82.css" rel="stylesheet">
+
+
+
+
+</head>
+
+<body>
+
+    <div class="flexWrapper">
+        <header class="headerWrapper">
+    <div class="header">
+        <div>
+            <a class="terminal" href="https://codeskraps.com/">
+                <span>me@codeskraps.com ~ $</span>
+            </a>
+        </div>
+        <input class="side-menu" type="checkbox" id="side-menu">
+        <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
+        <nav class="headerLinks">
+            <ul>
+                
+                <li>
+                    <a href="https://codeskraps.com/projects/" title="" >
+                        ~/projects</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/about/" title="" >
+                        ~/about</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/posts/" title="" >
+                        ~/posts</a>
+                </li>
+                
+            </ul>
+        </nav>
+    </divi>
+    
+      <script async src="https://www.googletagmanager.com/gtag/js?id=G-YP8WK3KZF1"></script>
+      <script>
+        var doNotTrack = false;
+        if ( false ) {
+          var dnt = (navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack);
+          var doNotTrack = (dnt == "1" || dnt == "yes");
+        }
+        if (!doNotTrack) {
+          window.dataLayer = window.dataLayer || [];
+          function gtag(){dataLayer.push(arguments);}
+          gtag('js', new Date());
+          gtag('config', 'G-YP8WK3KZF1');
+        }
+      </script>
+</header>
+
+
+        <div class="content">
+            <main class="main">
+                
+
+<div>
+    <div class="listHeader">
+        <h1>Linux</h1>
+    </div>
+
+    
+
+    <div>
+        
+
+        <a class="postListLink" href="https://codeskraps.com/posts/2025/move_home_folder/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Move /home Folder</span>
+                    
+                    <time class="postDate" datetime="2025-01-29">January 29, 2025</time>
+                </div>
+                <div class="postExcerpt">
+                    <p><p>You can move the <code>/home</code> folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move <code>/home</code> to a new location.</p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+    </div>
+</div>
+
+
+            </main>
+        </div>
+
+
+        <footer class="footer">
+    
+        <span>CC 2024, Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> and <a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> theme</span>
+    
+</footer>
+    </div>
+
+</body>
+
+</html>

+ 21 - 0
public/tags/linux/index.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+  <channel>
+    <title>Linux on codeskraps</title>
+    <link>https://codeskraps.com/tags/linux/</link>
+    <description>Recent content in Linux on codeskraps</description>
+    <generator>Hugo</generator>
+    <language>en-us</language>
+    <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
+    <webMaster>me@codeskraps.com (codeskraps)</webMaster>
+    <lastBuildDate>Wed, 29 Jan 2025 14:30:17 +0100</lastBuildDate>
+    <atom:link href="https://codeskraps.com/tags/linux/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Move /home Folder</title>
+      <link>https://codeskraps.com/posts/2025/move_home_folder/</link>
+      <pubDate>Wed, 29 Jan 2025 14:30:17 +0100</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/posts/2025/move_home_folder/</guid>
+      <description>&lt;p&gt;You can move the &lt;code&gt;/home&lt;/code&gt; folder on Ubuntu, but you must do it carefully to avoid breaking your system. Below are the steps to safely move &lt;code&gt;/home&lt;/code&gt; to a new location.&lt;/p&gt;</description>
+    </item>
+  </channel>
+</rss>

+ 1 - 1
public/tags/mvi/index.html

@@ -10,7 +10,7 @@ Mvi | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/mvi/" >

+ 1 - 1
public/tags/mvvm/index.html

@@ -10,7 +10,7 @@ Mvvm | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/mvvm/" >

+ 1 - 1
public/tags/react-native/index.html

@@ -10,7 +10,7 @@ React-Native | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/react-native/" >

+ 1 - 1
public/tags/ssh/index.html

@@ -10,7 +10,7 @@ Ssh | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/ssh/" >

+ 1 - 1
public/tags/viewmodel/index.html

@@ -10,7 +10,7 @@ Viewmodel | codeskraps
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <meta name="description" content="Your website description">
 
-<meta name="generator" content="Hugo 0.134.3">
+<meta name="generator" content="Hugo 0.141.0">
 
 
 <link rel="canonical" href="https://codeskraps.com/tags/viewmodel/" >

+ 2 - 0
syntax.css

@@ -1,3 +1,5 @@
+/* Generated using: hugo gen chromastyles --style=monokai */
+
 /* Background */ .bg { color:#f8f8f2;background-color:#272822; }
 /* PreWrapper */ .chroma { color:#f8f8f2;background-color:#272822; }
 /* Other */ .chroma .x {  }