torios-dev team mailing list archive
-
torios-dev team
-
Mailing list archive
-
Message #01260
Re: mount usb flash disk as read wrtie
Hi Paul,
In a recently installed ToriOS system, I tested with a USB pendrive with
an MSDOS partition table and three partition made with gparted:
All three partitions were automounted rw both when the pendrive was
plugged in at boot and when it was plugged in when ToriOS was running.
See the attached file.
Maybe it is an issue with flags. Run
sudo parted -ls
to print the flags (I may have other flags.)
Or maybe we are running different versions of ToriOS. Please tell me
exactly which ToriOS version you have installed, and how it was or was
not updated & upgraded.
Best regards
Nio
Den 2017-03-18 kl. 17:19, skrev Paul Sutton:
File system is vfat
Paul
On 18/03/17 16:05, Nio Wiklund wrote:
What file system is (NTFS or FAT32)?
You find that via
sudo lsblk -f
or simply
sudo lsblk -o name,fstype
Den 2017-03-18 kl. 16:43, skrev Paul Sutton:
The same device mounts fine on other computers running Linux
the device is
sdb 8:16 1 3.8G 0 disk
sdb1 8:17 1 3.8G 0 part /media/torios/E6D3-22CA
I am at present unable to ssh in to run this remotely which would make
it easier to copy / paste information, so manually typed that.
Paul
On 18/03/17 15:27, Nio Wiklund wrote:
Den 2017-03-18 kl. 16:23, skrev Paul Sutton:
Hi
Fresh install (iso downloaded 17/3/2017)
Plugged in usb flash disk, and I can't write to it, are these devices
mounted read only.
Rignt now this is the ON;Y way I can get files from the toriOS netbook
to my desktop for inclusion in the manual.
When I plug this device in I get the error
The specified directory /media/torios/E6D8-22CA is not valid
While I probably know how to fix this, it is not the point when I am
writing the manual as I need to describe how the system behaves and
provide fixes in the manual perhaps.
Thanks for any help.
Paul
Hi Paul,
The problem might depend on the partition table and file system(s) on
the USB flash drive.
Please tell me, and I can create a similar system and test how it
behaves. You can reply with the output of the following commands
df
sudo lsblk -f
Best regards
Nio
tester@torios ~ $ sudo lsblk -f /dev/sdb
NAME FSTYPE LABEL UUID MOUNTPOINT
sdb
├─sdb1 vfat FAT16 DF58-9D69 /media/tester/FAT16
├─sdb2 vfat FAT32 DF91-42FD /media/tester/FAT32
└─sdb3 ntfs ntfs 654E55032C4CEAE0 /media/tester/ntfs
tester@torios ~ $ sudo parted /dev/sdb print
Model: JetFlash Transcend 32GB (scsi)
Disk /dev/sdb: 32,5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 4295MB 4294MB primary fat16
2 4295MB 8590MB 4295MB primary fat32
3 8590MB 12,9GB 4295MB primary ntfs
tester@torios ~ $ mount|grep /dev/sdb
/dev/sdb3 on /media/tester/ntfs type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdb2 on /media/tester/FAT32 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdb1 on /media/tester/FAT16 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
tester@torios ~ $
References