What's new

Trying to install Entware but usb drive is readonly (R7800)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

R7800 uses old version of mount cmd. Old version of mount can only mount usb/partition read-only with metadata_csum feature enabled. Disable Metadata-Checksum.

Format Ext4:
Code:
mkfs.ext4 -L <name> /dev/sda1

Disable Metadata-Checksum:
Code:
tune2fs -O ^metadata_csum /dev/sda1

Mount Read/Write:
Code:
mount /dev/sda1 /mnt/sda1/

Unmount:
Code:
umount /mnt/sda1/

Mount Readonly:
Code:
mount -r /dev/sda1 /mnt/sda1/

1680149900839.png
 
Last edited:
You can use below cmd to check if "metadata_csum" feature is enabled by "mkfs.ext4" cmd on the usb:

Code:
tune2fs -l /dev/sda1 | grep features
 
R7800 uses old version of mount cmd. Old version of mount can only mount usb/partition read-only with metadata_csum feature enabled. Disable Metadata-Checksum.

Format Ext4:
Code:
mkfs.ext4 -L <name> /dev/sda1

Disable Metadata-Checksum:
Code:
tune2fs -O ^metadata_csum /dev/sda1

Mount Read/Write:
Code:
mount /dev/sda1 /mnt/sda1/

Unmount:
Code:
umount /mnt/sda1/

Mount Readonly:
Code:
mount -r /dev/sda1 /mnt/sda1/

View attachment 48980
Thanks for your help. It appears "metadata_csum" is disabled. I'm unable to umount the filesystem when login as "Admin"! Do I need to login as "Root" but I don't know the password. Please see screenshot below
1680153585639.png
 
Did you disable the "metadata_csum" or it was already disabled?

Try to force unmount usb:
Code:
umount -f /mnt/sda1/

If force unmount does not work unplug the usb. Check if usb is still mounted with cmd "ls -l /mnt/" [OR] "df -h" [OR] "mount | grep sda1". If it is, router reboot is needed with usb unplugged. Plug the usb in after router is rebooted.

It seems like you are using telnet to login to R7800. Enable ssh access from Voxel's readme. It uses root user by default using key based authentication.
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top