# Extroot Configuration

**URL:** <https://forum.gl-inet.com/t/extroot-configuration/27421>\
**Category:** Router\
**Created:** [February 17, 2023, 12:40pm UTC](https://forum.gl-inet.com/t/extroot-configuration/27421 "2023-02-17T12:40:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blobbie01](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/blobbie01/32/9200_2.png) [@Blobbie01](https://forum.gl-inet.com/u/Blobbie01)\
**Post date:** [February 17, 2023, 12:40pm UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/1 "2023-02-17T12:40:42Z")

</div>

Hello,

I recently added an SD card to my Slate AXT, and used it to expand storage for installing plugins etc.

Now there are some issues in the GL.iNet panel, and I’m not sure if that’s something to be worried about:

 ![image](https://forum-static.gl-inet.com/original/2X/e/e68cab2b1a80d0c9d8b1a6db78dd87894e422736.jpeg)

It looks good in LuCi:

 ![image](https://forum-static.gl-inet.com/original/2X/e/e3d445fdb48e01104127da645e8c0c49e4f10782.jpeg)  
 ![image](https://forum-static.gl-inet.com/original/2X/6/639378104d01dbb96599a500193a866a0a8eb380.jpeg)  
 ![image](https://forum-static.gl-inet.com/original/2X/6/6345a77fa62f615a5cf2af637ce560e7eb2abd58.jpeg)  
 ![image](https://forum-static.gl-inet.com/original/2X/0/0aecb80812276082def1a93fb7dde0c1ff746b85.jpeg)

I used these commands to configure it, it’s working fine so far, just want to check I won’t run into any issues down the line:

```auto
opkg update
opkg install block-mount kmod-fs-ext4 e2fsprogs

```

```auto
DEVICE="$(sed -n -e "/\s\/overlay\s.*$/s///p" /etc/mtab)"
uci -q delete fstab.rwm
uci set fstab.rwm="mount"
uci set fstab.rwm.device="${DEVICE}"
uci set fstab.rwm.target="/rwm"
uci commit fstab

```

```auto
block info

```

```auto
umount /dev/mmcblk0p1

```

```auto
DEVICE="/dev/mmcblk0p1"
mkfs.ext4 -L extroot ${DEVICE}

```

```auto
eval $(block info ${DEVICE} | grep -o -e "UUID=\S*")
uci -q delete fstab.overlay
uci set fstab.overlay="mount"
uci set fstab.overlay.uuid="${UUID}"
uci set fstab.overlay.target="/overlay"
uci commit fstab

```

```auto
mount ${DEVICE} /mnt
tar -C /overlay -cvf - . | tar -C /mnt -xf -
reboot

```

If anyone spots something I did wrong here, please let me know. No issues yet, but I thought I’d better check before hand 😄

---

<div class="post-metadata">

**Author:** ![robotluo](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/robotluo/32/17434_2.png) [@robotluo](https://forum.gl-inet.com/u/robotluo)\
**Post date:** [February 20, 2023, 1:07am UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/2 "2023-02-20T01:07:31Z")

</div>

Thank you for sharing.

---

<div class="post-metadata">

**Author:** ![Mtheimpaler](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/m/4bbf92/32.png) [@Mtheimpaler](https://forum.gl-inet.com/u/Mtheimpaler)\
**Post date:** [August 9, 2023, 10:33am UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/3 "2023-08-09T10:33:23Z")

</div>

@robotluo @Blobbie01 would using a USB 3.0 drive be better than using an sd-card if im using this as a travel router? Im worried about data corruption from turning a travel router on and off constantly…

I have a sandisk pro extreme and a samsung fit 3.0 drive and im trying to figure out what storage method i should use for the overlay

---

<div class="post-metadata">

**Author:** ![lecmipahu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lecmipahu](https://forum.gl-inet.com/u/lecmipahu)\
**Post date:** [August 9, 2023, 2:00pm UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/4 "2023-08-09T14:00:50Z")

</div>

There are issues with WiFi and USB 3.0 drives. Search this forum if curious.

If SD Card speed is good enough, I’d use that for your travel use case. Data corruption could happen in both cases, unless you carefully perform a shutdown every time you want to disconnect your router from power.

---

<div class="post-metadata">

**Author:** ![wcs2228](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/wcs2228/32/6112_2.png) [@wcs2228](https://forum.gl-inet.com/u/wcs2228)\
**Post date:** [August 10, 2023, 2:26am UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/5 "2023-08-10T02:26:58Z")

</div>

Both SD card and USB drive would be the same in terms of possible data corruption from turning off power when there is still modified data in cache that is not written to storage.

You can Reboot the router, turn off power when the LED stops blinking and before it boots again.

_I do not work for and I am not directly associated with GL.iNet_

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 4:23am UTC](https://forum.gl-inet.com/t/extroot-configuration/27421/6 "2025-10-29T04:23:30Z")

</div>


