From 1f8048f18b1a46662dc9791626550c1393508bd4 Mon Sep 17 00:00:00 2001 From: Scott Leonard Date: Mon, 24 Nov 2025 02:40:55 -0800 Subject: [PATCH] README-P2 --- extroot/{extroot.txt => README.md} | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) rename extroot/{extroot.txt => README.md} (78%) diff --git a/extroot/extroot.txt b/extroot/README.md similarity index 78% rename from extroot/extroot.txt rename to extroot/README.md index ece5550..bfd2849 100644 --- a/extroot/extroot.txt +++ b/extroot/README.md @@ -1,13 +1,6 @@ -OpenWrt 24.x Extroot on XE300 +# OpenWRT 24.10.0 Extroot on XE-300 -Goal: Use a microSD card as the router's writable storage (overlay), -single ext4 partition, no data copied from internal flash. - -Device: GL-iNet XE300, OpenWRT 24.10.4, 512 Gb SD Card - -Detected as: /dev/sda with one partition /dev/sda1 - -1. Insert card & install required packages +## 1. Insert card & install required packages opkg update opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs @@ -17,7 +10,7 @@ kmod-fs-ext4 - kernel driver for ext4 filesystem kmod-usb-storage - makes the SD slot show up as /dev/sda e2fsprogs - provides mkfs.ext4 -2. Confirm the SD card is /dev/sda and /dev/sda1 +## 2. Confirm the SD card is /dev/sda and /dev/sda1 Check dmesg: @@ -30,12 +23,12 @@ sda: sda1 sd 0:0:0:0: [sda] Attached SCSI removable disk -3. Format /dev/sda1 as ext4 for extroot +## 3. Format /dev/sda1 as ext4 for extroot mkfs.ext4 -L extroot /dev/sda1 You should see output ending with success and a UUID. -4. Grab the UUID and create the extroot fstab entry +## 4. Grab the UUID and create the extroot fstab entry UUID=$(block info | awk -F\" '/sda1/ {print $2}') echo $UUID @@ -73,13 +66,13 @@ config mount 'extroot' option enabled '1' -5. Reboot into extroot +## 5. Reboot into extroot reboot Wait for the router to come back up, then SSH in again. -6. Verify that the SD card is now your root overlay +## 6. Verify that the SD card is now your root overlay df -h