Enable USB storage on LibreCMC router

2 replies [Last post]
GNUbahn
Offline
Joined: 02/18/2016

I have successfully managed to install LibreCMC on a Netgear WNDR3800 router.

I have also successfully installed the necessary software to enable USB.

But I fail to mount the external drive. According to https://wiki.openwrt.org/doc/howto/usb.storage
one should run the following commands:
mkswap /dev/sda1
swapon /dev/sda1
mkdir -p /mnt/share
mount -t ext4 /dev/sda2 /mnt/share -o rw,sync

When I run the last line I am told that the device doesn't exist. Running 'ls' verifies that and I have tried every possible and impossible partition name that I can think of (i.e. sda1, sda2, sdb1, sdb2 etc).

So what am I doing wrong?

aloniv

I am a translator!

Offline
Joined: 01/11/2011

You should probably check first that the hard drive is recognized correctly, e.g. using fdisk.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Or simply:
$ lsblk