User avatar
RDK
Posts: 303
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

MOunting USB Memory Stick on OSMC Pi

Mon Jul 06, 2020 5:25 am

Folks…I’m doing something wrong, I think. I would like to have two USB memory sticks mounted at bootup on my Pi 3B running OSMC (Open Source Media Canter). If I’m not mistaken the underlying OS is Stretch? The new USB 3 stick is 32 GB formatted vFAT. The old/current is USB 3 16 GB formatted vFat. But, OSMC seems to automount the 32 GB stick so I do see it as /media/USB30FD, but I want it to be mounted as indicated below.

I have followed my normal practice for installing a USB memory stick and mounting a USB stick:

1. ls /dev to get the USB sticks device name: in my case a USB 3 32 GB; sdb and sdb1, the other USB 3 stick (16 GB) is sda and sda1 is mounted as /mnt/usbdrive.

2. created a mount point folder: sudo mkdir /mnt/MediaLib

3. mount the USB stick: sudo mount /dev/sdb1 /mnt/MediaLib

4. List the elements on the new USB stick mount: sudo ls /mnt/MediaLib
Media Pictures System Volume Information history061420.txt
which is, in fact, the content of the sda1 (/mnt/usbdrive) folder and not that for the new USB stick. which should be,
System Volume Information’ Video

5. I have these two lines to the /etc/fstab to mount the USB sticks, the first is for the sda1 partition and is working, second one is apparently not working
/dev/sda1 /mnt/usbdrive vfat defaults,dmask=000,fmask=111 0 3
/dev/sdb1 /mnt/MediaLib vfat defaults,dmask=000,fmask=111 0 4

The results are the same for the tests in item 4. above

At the same time I have tried to attach my new 64GB USB 3.0 xFat stick but it crashed the OS with a message it can’t find the sda1 device.

Thanks for any help or ideas....RDK

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: MOunting USB Memory Stick on OSMC Pi

Mon Jul 06, 2020 7:56 am

RDK wrote:
Mon Jul 06, 2020 5:25 am
Folks…I’m doing something wrong, I think. I would like to have two USB memory sticks mounted at bootup on my Pi 3B running OSMC (Open Source Media Canter). If I’m not mistaken the underlying OS is Stretch? The new USB 3 stick is 32 GB formatted vFAT. The old/current is USB 3 16 GB formatted vFat. But, OSMC seems to automount the 32 GB stick so I do see it as /media/USB30FD, but I want it to be mounted as indicated below.

I have followed my normal practice for installing a USB memory stick and mounting a USB stick:

1. ls /dev to get the USB sticks device name: in my case a USB 3 32 GB; sdb and sdb1, the other USB 3 stick (16 GB) is sda and sda1 is mounted as /mnt/usbdrive.

2. created a mount point folder: sudo mkdir /mnt/MediaLib

3. mount the USB stick: sudo mount /dev/sdb1 /mnt/MediaLib

4. List the elements on the new USB stick mount: sudo ls /mnt/MediaLib
Media Pictures System Volume Information history061420.txt
which is, in fact, the content of the sda1 (/mnt/usbdrive) folder and not that for the new USB stick. which should be,
System Volume Information’ Video

5. I have these two lines to the /etc/fstab to mount the USB sticks, the first is for the sda1 partition and is working, second one is apparently not working
/dev/sda1 /mnt/usbdrive vfat defaults,dmask=000,fmask=111 0 3
/dev/sdb1 /mnt/MediaLib vfat defaults,dmask=000,fmask=111 0 4

The results are the same for the tests in item 4. above

At the same time I have tried to attach my new 64GB USB 3.0 xFat stick but it crashed the OS with a message it can’t find the sda1 device.

Thanks for any help or ideas....RDK

FYI OSMC is based of Debian Stretch ARMHF

The Developers fully support their software:

https://discourse.osmc.tv/
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
RDK
Posts: 303
Joined: Wed Aug 13, 2014 10:19 am
Location: Wyoming and France

Re: MOunting USB Memory Stick on OSMC Pi

Mon Jul 06, 2020 12:22 pm

Problem solved. Stupid user (me) error.....RDK

Return to “Beginners”