From 422d598841dbc7475e11b2546bf32a6df7c8c7f0 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Wed, 14 Jul 2021 08:58:27 -0400 Subject: [PATCH] NetBSD ext4 tutorial --- homepage/index.html | 2 ++ homepage/knowledge/netbsd/index.html | 37 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 homepage/knowledge/netbsd/index.html diff --git a/homepage/index.html b/homepage/index.html index 0c0f649..0f50127 100644 --- a/homepage/index.html +++ b/homepage/index.html @@ -66,6 +66,8 @@ You can also use the #now, #privacy, /thegame; +knowledge: +NetBSD; shilling: #stickers

diff --git a/homepage/knowledge/netbsd/index.html b/homepage/knowledge/netbsd/index.html new file mode 100644 index 0000000..735535c --- /dev/null +++ b/homepage/knowledge/netbsd/index.html @@ -0,0 +1,37 @@ + + + + + + + + + +knowledge/NetBSD + + +

~ Return to the rest of the site

+ + + +

NetBSD

+

updated 2021-07-14

+
+

Mounting ext4 partitions

+

+I don't know that this is documented in either the NetBSD guide or wiki. +If you have edit access to either and see this, please, add this in with any necessary edits! +This page is public domain (as is the rest of my site); don't worry about copyright (I can confirm anything by e-mail if needed). +

+
    +
  1. Install filesystems/fuse and filesystems/ext2.
  2. +
  3. Connect the drive with the ext4 partition you want to access.
  4. +
  5. Use dmesg(8) to determine the location in /dev/ of the disk.
  6. +
  7. Use disklabel(8) to determine which partition on the disk you want to access (disklabel /dev/disk) +- it will be listed with the partition type "Linux Ext2" even though the partition may be ext4.
  8. +
  9. Use fuse-ext2(1) to mount the partition (fuse-ext2 /dev/disk with partition letter mountpoint +- for example, fuse-ext2 /dev/sd1e /mnt/sd1 to mount partition e of device sd1 to the mountpoint /mnt/sd1).
  10. +
  11. This mountpoint can be unmounted with umount(8) (TODO: double-check this) as normal.
  12. +
+ +