You are not logged in.

#1 2019-12-12 11:07:20

ouyang
Member
Registered: 2019-11-02
Posts: 10

How to update USB to ZIP or STL or SLC ?

This is the configuration of my 3D printer(raspberry pi 3B+,mega2560,ramps1.4,nextion).
When I use a flash drive to print,There is no thumb drive drop-down list。According to the forum method, I did a lot of testing。

The First Way:
SSH:sudo fdisk -l.
There's a flash drive on it
So there's nothing wrong with the drive。

The Second Way:
When I try to change it with MountFlags=slave to MountFlags=shared,
There is no code of  MountFlags=slave,So I had to add the code manually of MountFlags=shared.
There is no result after save and restart,When I ran sudo nano /lib/systemd/system/systemd-udevd.service, I found that I could not access the file.

The Third Way:
Running sudo apt-get install usbmount codes,The code shows that the current version is the latest.
Is there something wrong with raspberry pi?
Maybe I should use 3B instead of 3B+?

I really hope to get help. Thank you in advance!

Offline

#2 2019-12-12 11:13:39

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: How to update USB to ZIP or STL or SLC ?

Could you let me know where the drive mounted?

Offline

#3 2019-12-12 11:20:52

ouyang
Member
Registered: 2019-11-02
Posts: 10

Re: How to update USB to ZIP or STL or SLC ?

Sorry, I don't understand what you said about the drive mounted?

Offline

#4 2019-12-12 11:48:48

ouyang
Member
Registered: 2019-11-02
Posts: 10

Re: How to update USB to ZIP or STL or SLC ?

ouyang wrote:

Sorry, I don't understand what you said about the drive mounted?

Do you mean this drive mounted:

sudo nano /lib/systemd/system/systemd-udevd.service

[Service]
Type=notify
OOMScoreAdjust=-1000
Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket
Restart=always
RestartSec=0
ExecStart=/lib/systemd/systemd-udevd
KillMode=mixed
WatchdogSec=3min
TasksMax=infinity
PrivateMounts=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
SystemCallArchitectures=native
LockPersonality=yes
IPAddressDeny=any

Offline

#5 2019-12-13 06:40:35

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: How to update USB to ZIP or STL or SLC ?

cat /proc/mounts

Offline

#6 2019-12-16 06:47:44

ouyang
Member
Registered: 2019-11-02
Posts: 10

Re: How to update USB to ZIP or STL or SLC ?

This is the information you get from your tip

/dev/root / ext4 rw,noatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=443152k,nr_inodes=110788,mode=755 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
sunrpc /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0$
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
/dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,er$
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=89552k,mode=700,uid=1000,gid=1000 0 0

Offline

#7 2019-12-17 15:50:06

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: How to update USB to ZIP or STL or SLC ?

Looks like it does not get mounted at all.

Offline

Board footer

Powered by FluxBB