diff --git a/+/activitypub/@hacks/outbox/1 b/+/activitypub/@hacks/outbox/1 index e7415e9..1d3ed7d 100755 --- a/+/activitypub/@hacks/outbox/1 +++ b/+/activitypub/@hacks/outbox/1 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/0","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/-1","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:06:41.560136473+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","type":"Note","published":"2023-02-28T00:06:41.560136473+05:30","url":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Migrate from UEFI to (Legacy) BIOS\nhttps://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/0","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/-1","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Home","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:20:07.14678556+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Home","type":"Note","published":"2023-02-28T00:20:07.14678556+05:30","url":"https://hacks.wiki/Home","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Home\nhttps://hacks.wiki/Home"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/2 b/+/activitypub/@hacks/outbox/2 index ecfc4be..ef79474 100755 --- a/+/activitypub/@hacks/outbox/2 +++ b/+/activitypub/@hacks/outbox/2 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/0","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:05:52.993470865+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","type":"Note","published":"2023-02-28T00:05:52.993470865+05:30","url":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Detect UEFI or BIOS\nhttps://hacks.wiki/Detect%20UEFI%20or%20BIOS"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/0","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/site/README","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:11:02+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/site/README","type":"Note","published":"2023-02-28T00:11:02+05:30","url":"https://hacks.wiki/site/README","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"site/README\nhttps://hacks.wiki/site/README"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/3 b/+/activitypub/@hacks/outbox/3 index b83841b..191eb56 100755 --- a/+/activitypub/@hacks/outbox/3 +++ b/+/activitypub/@hacks/outbox/3 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Home","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T23:57:48.550148127+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Home","type":"Note","published":"2023-02-27T23:57:48.550148127+05:30","url":"https://hacks.wiki/Home","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Home\nhttps://hacks.wiki/Home"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:06:41.560136473+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","type":"Note","published":"2023-02-28T00:06:41.560136473+05:30","url":"https://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Migrate from UEFI to (Legacy) BIOS\nhttps://hacks.wiki/Migrate%20from%20UEFI%20to%20%28Legacy%29%20BIOS"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/4 b/+/activitypub/@hacks/outbox/4 index bb09d18..1a6f89c 100755 --- a/+/activitypub/@hacks/outbox/4 +++ b/+/activitypub/@hacks/outbox/4 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T23:42:13.170168807+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","type":"Note","published":"2023-02-27T23:42:13.170168807+05:30","url":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Mounting BTRFS subvolumes\nhttps://hacks.wiki/Mounting%20BTRFS%20subvolumes"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/2","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-28T00:05:52.993470865+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","type":"Note","published":"2023-02-28T00:05:52.993470865+05:30","url":"https://hacks.wiki/Detect%20UEFI%20or%20BIOS","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Detect UEFI or BIOS\nhttps://hacks.wiki/Detect%20UEFI%20or%20BIOS"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/5 b/+/activitypub/@hacks/outbox/5 index 984019b..d4a7af2 100755 --- a/+/activitypub/@hacks/outbox/5 +++ b/+/activitypub/@hacks/outbox/5 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/5","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/starred","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T23:41:14.286836779+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/starred","type":"Note","published":"2023-02-27T23:41:14.286836779+05:30","url":"https://hacks.wiki/starred","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"starred\nhttps://hacks.wiki/starred"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/3","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/5","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T23:42:13.170168807+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","type":"Note","published":"2023-02-27T23:42:13.170168807+05:30","url":"https://hacks.wiki/Mounting%20BTRFS%20subvolumes","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Mounting BTRFS subvolumes\nhttps://hacks.wiki/Mounting%20BTRFS%20subvolumes"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/6 b/+/activitypub/@hacks/outbox/6 index 5adf884..698d869 100755 --- a/+/activitypub/@hacks/outbox/6 +++ b/+/activitypub/@hacks/outbox/6 @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/5","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/6","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Chromebox-Audio","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T17:37:52+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Chromebox-Audio","type":"Note","published":"2023-02-27T17:37:52+05:30","url":"https://hacks.wiki/Chromebox-Audio","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Chromebox-Audio\nhttps://hacks.wiki/Chromebox-Audio"}}]} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/5","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/4","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/6","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/starred","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T23:41:14.286836779+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/starred","type":"Note","published":"2023-02-27T23:41:14.286836779+05:30","url":"https://hacks.wiki/starred","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"starred\nhttps://hacks.wiki/starred"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/7 b/+/activitypub/@hacks/outbox/7 new file mode 100755 index 0000000..db72368 --- /dev/null +++ b/+/activitypub/@hacks/outbox/7 @@ -0,0 +1 @@ +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox/6","type":"OrderedCollectionPage","prev":"https://hacks.wiki/+/activitypub/@hacks/outbox/5","next":"https://hacks.wiki/+/activitypub/@hacks/outbox/7","partOf":"https://hacks.wiki/+/activitypub/@hacks/outbox","orderedItems":[{"id":"https://hacks.wiki/Chromebox-Audio","type":"Create","actor":"https://hacks.wiki/+/activitypub/@hacks","published":"2023-02-27T17:37:52+05:30","to":["https://www.w3.org/ns/activitystreams#Public"],"Object":{"id":"https://hacks.wiki/Chromebox-Audio","type":"Note","published":"2023-02-27T17:37:52+05:30","url":"https://hacks.wiki/Chromebox-Audio","attributedTo":"https://hacks.wiki/+/activitypub/@hacks","to":["https://www.w3.org/ns/activitystreams#Public"],"Content":"Chromebox-Audio\nhttps://hacks.wiki/Chromebox-Audio"}}]} \ No newline at end of file diff --git a/+/activitypub/@hacks/outbox/index.html b/+/activitypub/@hacks/outbox/index.html index 209f7bb..fa39bd8 100755 --- a/+/activitypub/@hacks/outbox/index.html +++ b/+/activitypub/@hacks/outbox/index.html @@ -1 +1 @@ -{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox","type":"OrderedCollection","totalItems":6,"first":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","last":"https://hacks.wiki/+/activitypub/@hacks/outbox/6"} \ No newline at end of file +{"@context":"https://www.w3.org/ns/activitystreams","id":"https://hacks.wiki/+/activitypub/@hacks/outbox","type":"OrderedCollection","totalItems":7,"first":"https://hacks.wiki/+/activitypub/@hacks/outbox/1","last":"https://hacks.wiki/+/activitypub/@hacks/outbox/7"} \ No newline at end of file diff --git a/+/feed.rss b/+/feed.rss index 23f73d8..4456f9c 100755 --- a/+/feed.rss +++ b/+/feed.rss @@ -5,6 +5,20 @@ https:///+/feed.rss en-US + + Home + <p dir="auto">Welcome to <strong>&#x1f3e1; Hacks.Wiki</strong> - a Wikifull of Hacks</p> <article class="message is-info"><div class="message-body"><p dir="auto"><em>Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.</em> - <strong>Douglas Adams</strong></p> </div></article><p dir="auto">Hacks.Wiki is an experiment to organise quick hacks, notes, bookmarks and tools into an easy-to-build-and-maintain &ldquo;Digital Garden&rdquo;.</p> <article class="message is-success"><div class="message-body"><p dir="auto">It should take others far less time and effort to do what we&rsquo;ve already done.</p> </div></article><p dir="auto">You can start by visiting <a href="+/recent">Recent</a> entries. Or start by browsing the <a href="+/tags">Hashtags</a>. There is also a <a href="+/feed.rss">RSS Feed</a> that you can subscribe to. And - &#x1f38a;surprise - there is an ActivityPub handle as well; Just follow <code>hacks@hacks.wiki</code> via a Mastodon / Pleroma / Soapbox / Misskey and other instances and tools.</p> <p dir="auto">Powered by: Xlog - <a href="https://xlog.emadelsaid.com/">https://xlog.emadelsaid.com/</a><br> Source code: <a href="https://sovran.dev/abhas/hacks-wiki">https://sovran.dev/abhas/hacks…</a></p> <p dir="auto">Unless otherwise noted, all hacks in this wiki are licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.</p> + 2023-02-28T00:20:07.14678556+05:30 + Home + https:///Home + + + site/README + <h1 id="hacks-wiki" dir="auto">hacks-wiki <a class="show-on-parent-hover is-hidden has-text-grey" href="#hacks-wiki">¶</a></h1> <p dir="auto">A Wikiful of Hacks: Hacks.Wiki is an experiment to organise quick hacks, notes, bookmarks and tools into an easy-to-build-and-maintain “Digital Garden”.</p> + 2023-02-28T00:11:02+05:30 + site/README + https:///site/README + Migrate from UEFI to (Legacy) BIOS <p dir="auto">Migrating Grub from a UEFI system to a BIOS (legacy) system &#x1f501;</p> <p dir="auto">The general steps are:</p> <ul dir="auto"> <li><input type="checkbox" disabled="" > Boot the computer using a live boot image - Eg. <a href="https://www.system-rescue.org/">System Rescue Image</a></li> <li><input type="checkbox" disabled="" > Mount the root filesystem<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></li> <li><input type="checkbox" disabled="" > Bind mount <code>/dev</code>, <code>/sys</code>, <code>/proc</code> and <code>/run</code><sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup></li> <li><input type="checkbox" disabled="" > Change your EFI boot partition to <code>EF02 BIOS boot partition</code><sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup></li> <li><input type="checkbox" disabled="" > Chroot into the mounted file-system</li> <li><input type="checkbox" disabled="" > Re-install Grub <sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup></li> </ul> <p dir="auto">Here is someone who has documented this process in good detail:</p> <div class="card my-5"> <header class="card-header"> <p class="card-header-title"> <strong><a href="https://logan.tw/posts/2015/05/17/grub-install-and-btrfs-root-file-system/">Grub Install and Btrfs Root File System | Logan&#39;s Note</a></strong> </p> </header> <div class="card-footer"> <a class="card-footer-item" href="https://logan.tw/posts/2015/05/17/grub-install-and-btrfs-root-file-system/">https://logan.tw/posts/2015/05/17/grub-install-and-btrfs-root-file-system/</a> </div></div> <p dir="auto"><a href="/+/tag/grub" class="tag is-info is-light">#grub</a> <a href="/+/tag/seabios" class="tag is-info is-light">#seabios</a> <a href="/+/tag/coreboot" class="tag is-info is-light">#coreboot</a> <a href="/+/tag/uefi" class="tag is-info is-light">#uefi</a></p> <div class="footnotes" role="doc-endnotes"> <hr> <ol> <li id="fn:1"> <p dir="auto"><a href="/Mounting%20BTRFS%20subvolumes">Mounting BTRFS subvolumes</a> needs an extra option&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p> </li> <li id="fn:2"> <p dir="auto"><code>for f in dev sys proc run; do mount --bind /$f /mnt/$f; done</code>&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p> </li> <li id="fn:3"> <p dir="auto">Remember to use <code>gdisk</code> if you have a GPT partition table. The BIOS boot partition code is <strong><code>EF02</code></strong>&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p> </li> <li id="fn:4"> <p dir="auto"><code>grub-install /dev/sda</code>&#160;<a href="#fnref:4" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p> </li> </ol> </div> @@ -19,13 +33,6 @@ Detect UEFI or BIOS https:///Detect%20UEFI%20or%20BIOS - - Home - <p dir="auto">Welcome to <strong>&#x1f3e1; Hacks.Wiki</strong> - a Wikifull of Hacks</p> <article class="message is-info"><div class="message-body"><p dir="auto"><em>Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.</em> - <strong>Douglas Adams</strong></p> </div></article><p dir="auto">Hacks.Wiki is an experiment to organise quick hacks, notes, bookmarks and tools into an easy-to-build-and-maintain &ldquo;Digital Garden&rdquo;.</p> <article class="message is-success"><div class="message-body"><p dir="auto">It should take others far less time and effort to do what we&rsquo;ve already done.</p> </div></article><p dir="auto">You can start by visiting <a href="+/recent">Recent</a> entries. Or start by browsing the <a href="+/tags">Hashtags</a>. There is also a <a href="+/feed.rss">RSS Feed</a> that you can subscribe to. And - &#x1f38a;surprise - there is an ActivityPub handle as well; Just follow <code>hacks@hacks.wiki</code> via a Mastodon / Pleroma / Soapbox / Misskey and other instances and tools.</p> <p dir="auto">Unless otherwise noted, all hacks in this wiki are licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.</p> - 2023-02-27T23:57:48.550148127+05:30 - Home - https:///Home - Mounting BTRFS subvolumes <p dir="auto">If you have installed GNU/Linux with BTRFS as the filesystem, chances are that your OS installer has used <strong>sub-volumes</strong> for the <code>root</code>, <code>home</code> and other mount points. &#x1f5c4;&#xfe0f;</p> <p dir="auto">You can verify this by mounting the actual root filesystem device and listing its contents:</p> <pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;"><code><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1</span><span><span style="color:#6272a4"># ls -l /mnt/</span> </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2</span><span>total <span style="color:#bd93f9">0</span> </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">204</span> Feb <span style="color:#bd93f9">22</span> 13:28 @ </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">180</span> Feb <span style="color:#bd93f9">22</span> 14:29 @cache </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">10</span> Dec <span style="color:#bd93f9">2</span> 10:52 @home </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">482</span> Feb <span style="color:#bd93f9">26</span> 00:00 @log </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7</span><span>drwxr-x--- <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">350</span> Feb <span style="color:#bd93f9">23</span> 15:40 @root </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">14</span> Oct <span style="color:#bd93f9">19</span> 07:42 @srv </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">9</span><span>drwxrwxrwt <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">1576</span> Feb <span style="color:#bd93f9">27</span> 17:18 @tmp </span></span></code></pre><p dir="auto">Here <code>@</code>, <code>@home</code>, <code>@log</code> etc. are the BTRFS sub-volumes. <code>@</code> is the OS root sub-volume. You can mount by giving the <code>-osubvol=@</code> option to the mount command:</p> <pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;"><code><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1</span><span><span style="color:#6272a4"># mount -osubvol=@ /dev/dm-0 /mnt/</span> </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2</span><span><span style="color:#6272a4"># ls -l /mnt/</span> </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3</span><span>total <span style="color:#bd93f9">24</span> </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4</span><span>lrwxrwxrwx <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">7</span> Feb <span style="color:#bd93f9">1</span> 02:21 bin -&gt; usr/bin </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">208</span> Feb <span style="color:#bd93f9">22</span> 13:30 boot </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">8</span> Oct <span style="color:#bd93f9">20</span> 18:39 dev </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">5018</span> Feb <span style="color:#bd93f9">25</span> 10:56 etc </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">0</span> Dec <span style="color:#bd93f9">2</span> 10:48 home </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9</span><span>lrwxrwxrwx <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">7</span> Feb <span style="color:#bd93f9">1</span> 02:21 lib -&gt; usr/lib </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10</span><span>lrwxrwxrwx <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">7</span> Feb <span style="color:#bd93f9">1</span> 02:21 lib64 -&gt; usr/lib </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">22</span> Dec <span style="color:#bd93f9">16</span> 13:00 mnt </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">214</span> Feb <span style="color:#bd93f9">23</span> 15:50 opt </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">0</span> Dec <span style="color:#bd93f9">2</span> 10:48 proc </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14</span><span>drwxr-xr-x <span style="color:#bd93f9">1</span> root root <span style="color:#bd93f9">66</span> Oct <span style="color:#bd93f9">20</span> 18:47 root </span></span><span style="display:flex;"><span style="white-space:pre;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15</span><span> .... .... .... </span></span></code></pre><p dir="auto"><a href="/+/tag/linux" class="tag is-info is-light">#linux</a> <a href="/+/tag/btrfs" class="tag is-info is-light">#btrfs</a> <a href="/+/tag/systemrescue" class="tag is-info is-light">#systemrescue</a> <a href="/+/tag/filesystem" class="tag is-info is-light">#filesystem</a></p> diff --git a/+/recent/index.html b/+/recent/index.html index 7ded99d..50e37a8 100755 --- a/+/recent/index.html +++ b/+/recent/index.html @@ -37,15 +37,19 @@