Hi everyone,
I have a few questions about an old 3D printer (Type A Machines Series1) that runs Octoprint on a Beaglebone Black as the only interface.
All software installations date back to 2015 and since the company closed down on 2017 I’m kinda stuck at them to keep thing running.
My main goal is to update the software components in a fresh new installation, but I need to have a backup scenario that I can quickly reverse to if things go bad or if I need to use the printer in the meantime.
I’m a really begginer into linux and also on single board computers (BBB and RPi), but I don’t think things are that hard to give it a try. I’m also not 100% sure about the current scenario on the BBB, but I have made a little research and got some information, maybe someone can help me figure thing out.
Type A Machines have left the repositories accessible HERE, so I could dig into it and found the user/password to SSH into the BBB.
Here are a few data collected:
lsb_release - a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.1 (jessie)
Release: 8.1
Codename: jessie
uname -r
3.8.13-bone71
cat /etc/dogtag
Type A Series 1 Debian jessie 2015-07-27
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 7.2G 1.4G 5.5G 20% /
udev 10M 0 10M 0% /dev
tmpfs 100M 8.5M 91M 9% /run
tmpfs 249M 0 249M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 249M 0 249M 0% /sys/fs/cgroup
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16 0 2M 1 disk
mmcblk1boot1 179:24 0 2M 1 disk
mmcblk0 179:0 0 7.4G 0 disk
|-mmcblk0p1 179:1 0 96M 0 part
`-mmcblk0p2 179:2 0 7.3G 0 part /
mmcblk1 179:8 0 3.6G 0 disk
|-mmcblk1p1 179:9 0 96M 0 part
`-mmcblk1p2 179:10 0 3.5G 0 part
sudo fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 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/mmcblk0p1 * 2048 198655 196608 96M e W95 FAT16 (LBA)
/dev/mmcblk0p2 198656 15523839 15325184 7.3G 83 Linux
Disk /dev/mmcblk1: 3.6 GiB, 3867148288 bytes, 7553024 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/mmcblk1p1 * 2048 198655 196608 96M e W95 FAT16 (LBA)
/dev/mmcblk1p2 198656 7553023 7354368 3.5G 83 Linux
Disk /dev/mmcblk1boot1: 2 MiB, 2097152 bytes, 4096 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
Disk /dev/mmcblk1boot0: 2 MiB, 2097152 bytes, 4096 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
In addition to that, I powered down the printer, removed the sd card and powered it back on. Wasn’t able to access anything. Put the sd card back in and had some trouble to make it work again (I’m not sure what I did, but I think I held Boot button, pressed Power button, then after some time released boot button).
From all that information It seems everithing is always running from the sd card. (I dont need to make any button presses on normal operation. The printer always boot ok after each power cicle).
If that is correct I have two options:
1 - create a copy of the current SD card and mess with it to update a few packages; or
2 - create a fresh new image with all thing updated
either case, I want to revert things back, if needed, just plugging back the old sd card.
What do you guys recommend?