Difference between revisions of "GL iNet GL AR300M"

Wiki.TerraBase.info
Jump to navigation Jump to search
(Created page with "https://openwrt.org/toh/gl.inet/gl-ar300m Without a USB Flash drive; /dev/mtdblock4: /rom (squashfs, Boot Image) /dev/mtdblock5 /overlay (where all the read / write stuff is stored) ==== ...to mount the above /dev/mtdblock5 (in the instance of changing from a USB Flash Drive designated as /overlay) and access FSTAB ==== mkdir /tmp/mtd5 mount -t jffs2 /dev/mtdblock5 /tmp/mtd5 nano /tmp/mtd5/upper/etc/config/fstab")
 
m
Line 7: Line 7:
/dev/mtdblock5 /overlay (where all the read / write stuff is stored)
/dev/mtdblock5 /overlay (where all the read / write stuff is stored)


==== ...to mount the above /dev/mtdblock5 (in the instance of changing from a USB Flash Drive designated as /overlay) and access FSTAB ====
====...to mount the above /dev/mtdblock5 (in the instance of changing from a USB Flash Drive designated as /overlay) and access FSTAB====
mkdir /tmp/mtd5
mkdir /tmp/mtd5


Line 13: Line 13:


nano /tmp/mtd5/upper/etc/config/fstab
nano /tmp/mtd5/upper/etc/config/fstab
==== Why do that? ====
Disk (USB Flash Drive) Maintenance silly!  Especially if the router is in a location where one can't easily pull out the external USB Flash Drive.
fsck.ext4 /dev/WhatEverSDAx

Revision as of 18:54, 31 December 2024

https://openwrt.org/toh/gl.inet/gl-ar300m

Without a USB Flash drive;

/dev/mtdblock4: /rom (squashfs, Boot Image)

/dev/mtdblock5 /overlay (where all the read / write stuff is stored)

...to mount the above /dev/mtdblock5 (in the instance of changing from a USB Flash Drive designated as /overlay) and access FSTAB

mkdir /tmp/mtd5

mount -t jffs2 /dev/mtdblock5 /tmp/mtd5

nano /tmp/mtd5/upper/etc/config/fstab

Why do that?

Disk (USB Flash Drive) Maintenance silly! Especially if the router is in a location where one can't easily pull out the external USB Flash Drive.

fsck.ext4 /dev/WhatEverSDAx