Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 902

mounting /dev/sdb1 on /tmp/usb_stick failed: Invalid argument (6 replies)

$
0
0
I have a pink POGO-E02. I haven't used it except I tried to install Linux years ago. Now I want to try running "homeassistant" (HomeAssistant.io).

Only port 22 is open and I finally guessed the root password I entered. I am trying to mount a USB drive.

mount /dev/sdb1 /tmp/usb_stick: mounting /dev/sdb1 on /tmp/usb_stick failed: Invalid argument

I just formatted it on my Linux PC.

fdisk -l

/dev/sdb1 1 584 3926016 c Win95 FAT32 (LBA)

ls -l /

drwxr-xr-x 2 root root 0 Nov 4 2009 bin
drwxr-xr-x 5 root root 0 Feb 26 2008 dev
drwxr-xr-x 5 root root 0 Dec 23 2013 etc
drwxr-xr-x 2 root root 0 Nov 4 2009 lib
lrwxrwxrwx 1 root root 11 Nov 4 2009 linuxrc -> bin/busybox
drwxr-xr-x 2 root root 0 Dec 18 2008 mnt
dr-xr-xr-x 41 root root 0 Jan 1 1970 proc
drwxr-xr-x 2 root root 0 Dec 23 2013 root
drwxr-xr-x 2 root root 0 Nov 4 2009 sbin
drwxr-xr-x 10 root root 0 Jan 1 1970 sys
drwxrwxrwt 5 root root 120 Jan 15 06:39 tmp
-rw-r--r-- 1 root root 524288 Dec 23 2013 uboot-original-mtd0.kwb
drwxr-xr-x 7 root root 0 Apr 9 2012 usr
lrwxrwxrwx 1 root root 8 Nov 4 2009 var -> /tmp/var

ls -l /tmp

-rw-r--r-- 1 root root 30 Jan 15 03:01 resolv.conf
drwxr-xr-x 2 root root 40 Jan 15 06:39 touro
drwxrwxrwx 2 root root 40 Jan 15 06:24 usb_stick
drwxr-xr-x 2 root root 40 Jan 1 00:00 var

cat /proc/partitions
major minor #blocks name

31 0 1024 mtdblock0
31 1 4096 mtdblock1
31 2 32768 mtdblock2
31 3 93184 mtdblock3
8 0 1953514492 sda
8 1 1953512448 sda1
8 16 3928063 sdb
8 17 3926016 sdb1

Why can't I mount the USB drive? Thanks

P.S. I can install a serial connection if necessary.

Viewing all articles
Browse latest Browse all 902

Trending Articles