Posted: Mon Jan 08, 2018 14:29 Post subject: Can't mount USB to router
Hi, I have Linksys E2500 with Mega version of dd-wrt installed.
I followed exactly what is in the wiki : Optware, the right way.
I have Apacer 32 GB flash drive.
I really don't know what is the cause of error so I go and try around many things, each time I went over all the process again.
Formatting the flash drive many times using FAT, NFTS.
Use only 3 partitions and left partition 4 unused, used all 4 partitions.
It still doesn't work.
I really need help on this, please.
This is the result from web-gui.
--- /dev/sda
Block device, size 28.91 GiB (31040995328 bytes)
DOS/MBR partition map
Partition 1: 512.0 MiB (536871424 bytes, 1048577 sectors from 32)
Type 0x83 (Linux)
Ext4 file system
Volume name "Optware"
UUID 9EBF6819-D903-4584-80C7-42BE4C2DA24E (DCE, v4)
Volume size 512 MiB (536870912 bytes, 131072 blocks of 4 KiB)
Partition 2: 64.00 MiB (67109376 bytes, 131073 sectors from 1048609)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 63.99 MiB (67100672 bytes, 16382 pages of 4 KiB)
Partition 3: 128.0 MiB (134218240 bytes, 262145 sectors from 1179682)
Type 0x83 (Linux)
Ext2 file system
Volume name "Shared"
UUID 5CDA9399-2383-4E04-B807-1230A4EF3124 (DCE, v4)
Volume size 128 MiB (134217728 bytes, 131072 blocks of 1 KiB)
Partition 4: 28.22 GiB (30302779904 bytes, 59185117 sectors from 1441827)
Type 0x83 (Linux)
Ext4 file system
Volume name "Data"
UUID 00AFAC3E-7A04-4785-8327-C3F2434538FD (DCE, v4)
Volume size 28.22 GiB (30302777344 bytes, 7398139 blocks of 4 KiB)
Status: Not mounted
Thank you for your reply.
In order to install Entware, I need to mount my USB first anyway. So this time I changed from format by Linux command line and use G-Parted instead.
I only format it into 3 partitions because I use usb and not need jffs, however, when attempting to mount this was the result and I still cannot mount the usb.
--- /dev/sda
Block device, size 28.91 GiB (31040995328 bytes)
DOS/MBR partition map
Partition 1: 256 MiB (268435456 bytes, 524288 sectors from 2048)
Type 0x83 (Linux)
Ext2 file system
Volume name "Optware"
UUID 1C9B4CEF-A205-497B-B95F-A530A50BD652 (DCE, v4)
Volume size 256 MiB (268435456 bytes, 262144 blocks of 1 KiB)
Partition 2: 64 MiB (67108864 bytes, 131072 sectors from 526336)
Type 0x83 (Linux)
Ext2 file system
Volume name "Swapfile"
UUID 43D431DC-16ED-4787-B7E3-7E3861137DFC (DCE, v4)
Volume size 64 MiB (67108864 bytes, 65536 blocks of 1 KiB)
Partition 3: 28.60 GiB (30704402432 bytes, 59969536 sectors from 657408)
Type 0x83 (Linux)
Ext4 file system
Volume name "Data"
UUID 4E4B6F5E-F643-4447-852C-F5E98259F1FC (DCE, v4)
Volume size 28.60 GiB (30704402432 bytes, 7496192 blocks of 4 KiB)
Status: Not mounted
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Mon Jan 15, 2018 12:41 Post subject:
What version are you using?
Old versions had their problems and I read somewhere that in recent Mega versions the ext2 module was missing (because of size limitations?) not sure though
Try to format with FAT only?
G parted is recommended for formatting
Attached my notes for USB, do not know if it helps
What version are you using?
Old versions had their problems and I read somewhere that in recent Mega versions the ext2 module was missing (because of size limitations?) not sure though
Try to format with FAT only?
G parted is recommended for formatting
Attached my notes for USB, do not know if it helps
Thank you very much and sorry for late reply.
At first I tried again using G-Parted to format and partition the USB Flash drive but it doesn't work so
I followed your paper and it suggested that it will be the most simplest to have 2 partitions, so I tried with that first but I still not able to mount it.
You can also see that there is no UUID field for me to fill in.
Here is what I did to my USB Flash Drive. The unused partition I planned for storing data but that will be handled later. Just want to make sure it can be mount first.
I have attempted mounting so many time and it still doesn't work
Posted: Thu Jan 18, 2018 17:46 Post subject: Volume name
Change the volume name in GParted or Partition wizard. Change the name to "Optware". It will auto mount to /opt.
JFFS may have to be written as "Jffs" or "JFFS", I am not sure about that one. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Posted: Fri Jan 19, 2018 13:36 Post subject: Re: Volume name
ian5142 wrote:
Change the volume name in GParted or Partition wizard. Change the name to "Optware". It will auto mount to /opt.
JFFS may have to be written as "Jffs" or "JFFS", I am not sure about that one.
Thank you for your advice but it still doesn't work. Here what is appear.
I'm totally don't understand what's the problem is. I have attempt to use other USB stick, upgrade firmware, etc. What else could be the cause of the problem.
Posted: Fri Jan 19, 2018 13:48 Post subject: Partition Name
Why is the Partition name: Basic data partition?
Don't label the Volume. Label each partition. It should auto mount them. If this is a harddrive, use NTFS or EXT4. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
I have labeled partition as you said and it still couldn't be mounted.
One things that weird here is that Optware partition become ext4 on dd-wrt web GUI but I did format in ext2. I have check it again on both partition tools and it confirmed that ext2.
Posted: Fri Jan 19, 2018 16:37 Post subject: mount
You can manually mount them via the mount command.
mount --bind /(physical location from USB tab) /(mounted location)
ex: mount --bind /dev/sda2 /opt
If you want to always have them mounted, add it to your start up script (Admin tab, Commands), paste the command, click Save Startup. Reboot and see if it works. _________________ Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Actually I'm doing this as my senior project in the university.
Finally my professor help me sort this out, after I have attempted for a month.
If no matter how much you're trying to mount it and it doesn't mount.
For USB FlashDrive
TRY
Format using MiniTool Partition Wizard, have only one partition and label it as "OPTWARE". Use FAT32 format instead of ext2. Magic happened, it's work !!