Using an SD card for patches


#14

:wq

Thanks YouTube!


#15

You need an ESC before any command usually, even if you don’t it’s worth pressing ESC so 4 keystrokes:

ESC : w q


#20

Hi All!

Thanks to @thetechnobear for this - I think I got the SD card partitioned.
In order to move my files from usb to SD card, do I have to use the Terminal for that?
If so - a little handholding would be much appreciated.

Also - could you possibly post a link to the new “mother” that you mention that defaults to SD card unless USB is present.

also I’m on v3.0 - on mac osx (in case that’s relevant)

Thanks so much!


#21

The “switch” between USB drive to sd card is automatic/seemless; if the first is preset it goes from there, if “Storage”>eject, sdcard shows up (works from there on)

Copy files over…I did it with with WiFi (cyber duck, FileZilla, sftp) sorry but networks not my strong.

@TheDeadFarmer edit: with HDMI+mouse+keyboard you can copy from “old” USB stick to SD Card (that is the partition holding PATCHES)


#22

Also the web file manager suppose the sdcard, assuming you have WiFi stick , which is highly recommended


#23

In the web file manager I can click “SD card” but when I go to create a folder or paste something that I’ve copied from USB - it doesn’t show up. Wondering if something went wrong when I partitioned.

I just now installed the “organelle_file_manager” from this thread (Organelle Web File Manager) but am wondering if that’s unnecessary after 3.0 and if I should remove it. Using this I don’t even see SD Card showing up as a button or otherwise.

I do have the WiFi stick, it’s the canakit one - works great no problems there.

Thanks for the reply and also @keymanpal ty very much!


#24

yes, this is no longer required, OS 3.0 has the file manager built-in


#25

Any reason the copy/paste method wouldn’t work in the file manager - besides the possibility that I messed something up when partitioning?

At this point when I click the SD card button (in the file manager) it brings me to the SD card page but nothing shows up when I try to add a folder or paste in a file I’ve copied from USB.

Thx again for all the help here - and for orac (amazing)!!!


#26

I’m afraid of not much help, but it looks like it; seems you can’t write to that partition…
Did you follow above post? Using an SD card for patches

Carefully… no harm in redo it all over again :wink:


#27

Can’t say I tried copy paste , I usually just us upload , does that work?


#28

are you able to navigate to /sdcard using the Organelle (with mouse and monitor, not web file manager) and move a file there or make a folder? also check the output of this command to see if the partition is actually mounted:

cat /proc/mounts

#29

@thetechnobear upload button brings me to browse my files but upon choosing one it doesn’t show up.
@oweno No mouse/monitor so have been using Terminal to SSH into organelle.
Here’s what I got back after entering that command (sorry this makes it so long a post - please do remind me if there’s a better method for situations like this):

[root@organelle ~]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext4 ro,relatime,data=ordered 0 0
devtmpfs /dev devtmpfs rw,relatime,size=119508k,nr_inodes=29877,mode=755 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,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 /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/bfqio cgroup rw,nosuid,nodev,noexec,relatime,bfqio 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 0 0
tmpfs /tmp tmpfs rw 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
tmpfs /var/log tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /var/tmp tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=50732k,mode=700 0 0
/dev/sda1 /usbdrive vfat rw,noatime,uid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
[root@organelle ~]#


#30

you don’t appear to have the sdcard mount,

can you do

cat /etc/fstab

essentially, id say you missed a step from the instructions, perhaps you can review them again.


#31

It’s possible I missed something. If no one has any other suggestions I will redo it.
Must I initialize the SD card and remount disk image or just repeat steps in the terminal for partitioning?

Here’s what I get back from that command:

[root@organelle ~]# cat /etc/fstab

/etc/fstab: static file system information

/dev/mmcblk0p2 / ext4 ro 0 0
tmpfs /var/log tmpfs nodev,nosuid 0 0
tmpfs /var/tmp tmpfs nodev,nosuid 0 0


#32

Yeah, don’t take this in a bad way, I already suggested that, and by now you could be having fun :wink:


#33

so you didn’t do the bit that says

:slight_smile:


#34

your fstab should be

/dev/mmcblk0p1 / ext4 ro 0 0
tmpfs /var/log tmpfs nodev,nosuid 0 0
tmpfs /var/tmp tmpfs nodev,nosuid 0 0
/dev/mmcblk0p2 /sdcard ext4 defaults,noatime 0 0

can you tell me the output from the command

fdisk -l 

id expect something like

/dev/mmcblk0p1         2048  7626751  7624704  3.7G 83 Linux
/dev/mmcblk0p2      7626752 60874751 53248000 25.4G 83 Linux

#35

I remember pasting that command in and after what came back pressing ESC : w q (then hitting return)
I felt like maybe there was something else I had to do after that but wasn’t sure and just closed Terminal.

I will try process again later but if you may please lmk - must I mount disk image again or just repeat the whole partition process in the Terminal?

Thx again everyone - I so appreciate the help!


#36

I need to know the output from the following commands

fdisk -l
ls /sdcard

this should tell me what stage your at… we should just then be able to fix whats wrong.
as long as the organelle is still booting your probably ok :slight_smile:


#37

@thetechnobear That’s in there - except slightly dif as I’m using a 16GB card not 32GB

[root@organelle ~]# fdisk -l
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbe4d55a9

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 7626751 7624704 3.7G 83 Linux
/dev/mmcblk0p2 7626752 31116287 23489536 11.2G 83 Linux

Disk /dev/sda: 3.8 GiB, 4009754624 bytes, 7831552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sda1 2 7831551 7831550 3.8G b W95 FAT32
[root@organelle ~]#