#Mount MicroSD card through USB adapter

65 messages · Page 1 of 1 (latest)

sullen wagon
#

Hey all, im trying to get into 3d printing and have this USB to micro sd adapter but it doesnt show up in dolphin. What do I need to do to get it to show up so I can copy the files onto it?

#

I just got an error, it says permission denied, SD card is write locked?

#
git clone https://aur.archlinux.org/snapd.git

hushed spade
sullen wagon
#

oh

#

sorry pasted wrong thing

#
[drewr@Drew-Desktop files]$ sudo hdparm -r0 /dev/sdc1

/dev/sdc1:
 setting readonly to 0 (off)
 readonly      =  0 (off)
hushed spade
#

so it doesn't show up in dolphin, does it show up anywhere else? also do you know if it's formatted and with what?

sullen wagon
#

yeah no

#

I was able to mount /dev/sdc1 to /sdcard

#

but prussia slicer isnt able to write the file into it

hushed spade
#

does the program give an error? do you have /sdcard owned by your user?

sullen wagon
#

idk how to tell

#

but probably not

#

I did chmod 777 -R /sdcard

hushed spade
#

you specified your user in the chmod command right?

sullen wagon
#

no

#
chown: changing ownership of '/sdcard': Operation not permitted
[drewr@Drew-Desktop files]$ 
[drewr@Drew-Desktop files]$ sudo chown drewr /sdcard
#

but I did sudo

#

im so confused

hushed spade
#

wait who is the owner of it

sullen wagon
#

idk how do I tell

#

root owns it

#
[drewr@Drew-Desktop files]$ ls -l /sdcard
total 1536
-rwxr-xr-x 1 root root     585 Jan  1  2000  BIN
-rwxr-xr-x 1 root root  438655 Aug  8 14:32  cibtest.gcode
-rwxr-xr-x 1 root root 1024165 Aug  8 13:59  RetractionTest2.gcode
drwxr-xr-x 2 root root   32768 Aug  3 08:59 'System Volume Information'
[drewr@Drew-Desktop files]$ 
#

prolly cuz I did sudo mount into the root dir

hushed spade
#

and you're running the program as your user correct?

sullen wagon
#

ye

hushed spade
#

/sdcard needs to be owned by your user then

sullen wagon
#

just moved it into my home dir

#
[drewr@Drew-Desktop files]$ ls -l /sdcard
total 1536
-rwxr-xr-x 1 root root     585 Jan  1  2000  BIN
-rwxr-xr-x 1 root root  438655 Aug  8 14:32  cibtest.gcode
-rwxr-xr-x 1 root root 1024165 Aug  8 13:59  RetractionTest2.gcode
drwxr-xr-x 2 root root   32768 Aug  3 08:59 'System Volume Information'
[drewr@Drew-Desktop files]$ 
#

its still owned by root how do I fix this

#

even sudo chown doesnt work

#

I tried to sudo su and chown but I still get permission denied

hushed spade
#

sudo chown drewr /sdcard

sullen wagon
#
Error message: Permission denied
#

yeah I did that

hushed spade
#

can you try mounting somewhere else?

sullen wagon
#

well I diid

#

/home/drewr/sdcard

#

still owned by root

#
-rwxr-xr-x 1 root root     585 Jan  1  2000  BIN
-rwxr-xr-x 1 root root  438655 Aug  8 14:32  cibtest.gcode
-rwxr-xr-x 1 root root 1024165 Aug  8 13:59  RetractionTest2.gcode
drwxr-xr-x 2 root root   32768 Aug  3 08:59 'System Volume Information'
hushed spade
#

what about the directory itself not its contents

sullen wagon
#

that is the directory

#

oh

#
drwxr-xr-x 3 root  root  32768 Jan  1  1970 sdcard
hushed spade
#

try chowning recursively with -R

sullen wagon
#

even sudo su

#

it doesnt let me

#

permission denied

#
drwxr-xr-x 3 root  root  32768 Jan  1  1970 sdcard
#

im literally root

#

but it wont let me chown

hushed spade
#

wait how are you mounting it

sullen wagon
#

sudo mount

hushed spade
#

hmm

sullen wagon
#
[drewr@Drew-Desktop ~]$ sudo mv test_7h35m_0.08mm_210C_PLA_CR10.gcode  /home/drewr/sdcard/
mv: failed to preserve ownership for '/home/drewr/sdcard/test_7h35m_0.08mm_210C_PLA_CR10.gcode': Operation not permitted
#

it wont let me move files onto it either

hushed spade
#

try mount -o remount,rw on it

sullen wagon
#

I mounted with -w and it copied once

#

but I still got some errors it was weird

hoary drift
#

I’ve had better luck just using Thunar’s automounting, which mounts as the user. Dolphin probably has something similar, quite possibly using the same backend.

sullen wagon
#

hey all, any ideas why I get an error "kvm is not available"?

#

I checked and all the kernel modules are there

#
[drewr@Drew-Desktop ~]$ lsmod | grep kvm
kvm                  1318912  0
irqbypass              12288  1 kvm
[drewr@Drew-Desktop ~]$ 




#

however kvm is red here, not sure why