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
 
(One intermediate revision by the same user not shown)
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
==== Emergency Situation ====
If booted to an external USB Flash Drive that has issues, base commands are available in /rom/bin (where /rom is a directory in MTDBLOCK4).
<br />

Latest revision as of 18:38, 1 January 2025

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

Emergency Situation

If booted to an external USB Flash Drive that has issues, base commands are available in /rom/bin (where /rom is a directory in MTDBLOCK4).