Can't connect USB stick

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 12:24    Post subject: Can't connect USB stick Reply with quote
Hello, I'm trying to connect the USB stick to my RT-N10U for installing Entware. I successfully formatted my USB, but when I plugged in this flash disc - the router couldn't mount it


--- /dev/sda
Block device, size 3.771 GiB (4049600512 bytes)
Ext4 file system
Volume name "Optware"
UUID BBCF7C9C-E157-445E-8460-790564BEF93E (DCE, v4)
Volume size 3.771 GiB (4049600512 bytes, 988672 blocks of 4 KiB)
Status: Not mounted - Unsupported file system or disk not formated

Firmware: DD-WRT v3.0-r36596 mega (08/14/1Cool

What I need to do?



2021-09-25 в 16.06.26.png
 Description:
 Filesize:  131.69 KB
 Viewed:  1762 Time(s)

 2021-09-25 в 16.06.26.png




Last edited by Higherous on Sat Sep 25, 2021 13:06; edited 1 time in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Sep 25, 2021 12:27    Post subject: Reply with quote
EXT4 filesystem is probably not supported on this device. To determine what filesystems are supported, you have to look under /lib/modules/(kernelversion)...

...also, please re-size your image to 768 pixels wide...

EDIT: *not /var/lib EmbarassedRolling Eyes

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net


Last edited by kernel-panic69 on Sat Sep 25, 2021 17:48; edited 1 time in total
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sat Sep 25, 2021 12:28    Post subject: Reply with quote
old build...update
for automount name must be either opt or jffs
otherwise mount it manually...
and use ext 2 or 3 format..

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 13:03    Post subject: Reply with quote
In fact, this flash drive has ext3 (also tried ext2), but the router does not see it.
On newer versions, immediately after connecting, the router enters a reboot cycle and I cannot enter the web interface
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 13:09    Post subject: Reply with quote
kernel-panic69 wrote:
look under /var/lib/modules/(kernelversion)

I don't have it; in var folder there is only empty folder misc
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Sep 25, 2021 13:14    Post subject: Reply with quote
Code:
ls -la /lib/modules/*/ | grep ext


possible that the stick has no partitions and you have formatted the whole drive?

The WebIF shows only sda
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 13:28    Post subject: Reply with quote
Quote:
stick has no partitions and you have formatted the whole drive?

Yes. But I now formatted it with partitions, no result. Router is rebooting infinitly
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 GB disk4
1: EFI EFI 209.7 MB disk4s1
2: 3.8 GB disk4s2
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 13:30    Post subject: Reply with quote
ho1Aetoo wrote:
Code:
ls -la /lib/modules/*/ | grep ext

Code:
-rw-r--r--    1 root     root        400660 Sep 24 00:09 ext4.ko
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Sep 25, 2021 14:41    Post subject: Reply with quote
Higherous wrote:
Quote:
stick has no partitions and you have formatted the whole drive?

Yes. But I now formatted it with partitions, no result. Router is rebooting infinitly
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *4.0 GB disk4
1: EFI EFI 209.7 MB disk4s1
2: 3.8 GB disk4s2


but doesn't look right either or why is there an EFI partition?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Sep 25, 2021 17:51    Post subject: Reply with quote
I have not a clue why I was thinking /var/lib; post edited. You need to completely wipe that drive and / or format as ext4. It's not formatted, apparently.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 20:42    Post subject: Reply with quote
kernel-panic69 wrote:
I have not a clue why I was thinking /var/lib; post edited. You need to completely wipe that drive and / or format as ext4. It's not formatted, apparently.

For formatting, I use this command
Code:
sudo $(brew --prefix e2fsprogs)/sbin/mkfs.ext4 -L Optware /dev/disk4

Does it format the disk properly?
Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sat Sep 25, 2021 20:46    Post subject: Reply with quote
kernel-panic69 wrote:
EXT4 filesystem is probably not supported on this device. /lib/modules/(kernelversion)

Probably, the only EXT4 is supported)
In the list of files related to file systems that start from ext, I only see ext4.ko
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Sep 25, 2021 21:57    Post subject: Reply with quote
The ext4.ko module is backwards-compatible to EXT3 and EXT2, if I am not mistaken; it seems you are using Homebrew on a Mac to format the disk, and that is where you may be in error and why the UEFI partition is coming from. Best bet is to use an actual Linux PC.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2029

PostPosted: Sat Sep 25, 2021 23:00    Post subject: Reply with quote
If you have updated as advised previously your router may have the option to format the drive @ Services>Nas.


drive-manager.png
 Description:
 Filesize:  15.2 KB
 Viewed:  1613 Time(s)

drive-manager.png


Higherous
DD-WRT Novice


Joined: 25 Sep 2021
Posts: 8

PostPosted: Sun Sep 26, 2021 6:26    Post subject: Reply with quote
bushant wrote:
If you have updated as advised previously your router may have the option to format the drive @ Services>Nas.

In newer builds, if automount enabled, after plugging USB router enters a reboot cycle and I can't access webUI.
Can I do the same without auto mount?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum