×

INDI Library v1.9.4 Released (17 Jan 2022)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Stellarmate on SSD - easier than I expected

  • Posts: 622
  • Thank you received: 81
Rishi, I followed your instructions but had a problem in that I was unable to copy the Pictures folder as you instructed. It would not copy. I then just created a new Pictures folder in /media/stellarmate/rootfs/home/stellarmate/ and then continued with the best of your instructions which seemed to work… howler, when I SMB into the Stellarmate as a guest, it still points to the empty folder within /home/stellarmate.

iOptron CEM120 EC2 and CEM25P
Celestron C11 EdgeHD
William Optics Star71
ASI 1600Mm Pro, ASI 462MC
Moonlight motorfocus & Esatto focuser
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
7 months 6 days ago #72578

Please Log in or Create an account to join the conversation.

  • Posts: 232
  • Thank you received: 56
I forgot I did change the permissions. I did it by changing the owner to stellarmate:
sudo chown -R stellarmate:stellarmate Pictures but your method works fine too.

How do you make the SMB connection? We will need to change the folder it points too.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

7 months 5 days ago #72596

Please Log in or Create an account to join the conversation.

  • Posts: 232
  • Thank you received: 56
I forgot I did change the permissions. I did it by changing the owner to stellarmate:
sudo chown -R stellarmate:stellarmate Pictures but your method works fine too.

I will look into the SMB connection and let you know.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 7 months 5 days ago by Rishi Garrod.
7 months 5 days ago #72597

Please Log in or Create an account to join the conversation.

  • Posts: 232
  • Thank you received: 56
It's taking a little longer than I expected. There is a samba config file, /etc/samba/smb.conf, at the end you see a section [Pictures] which has the path. I changed it to the new path, restarted samba but the Mac refuses to see it. I can change to any sub folder in the "home" folder but not the new Pictures folder on the new partition.

I am not a real Linux expert myself but this has to be something simple. I will let you know when I have worked it out.
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

The following user(s) said Thank You: Peter Kennett
Last edit: 7 months 5 days ago by Rishi Garrod.
7 months 5 days ago #72599

Please Log in or Create an account to join the conversation.

  • Posts: 633
  • Thank you received: 62
Hi Peter,
In your original post you said it was easier than expected and then problems started.
I tried it a couple of times with some random USB sticks and it just worked.
Tomorrow I am actually getting a dedicated 120Gb M.2 SSD module to run Stellarmate.

What you need to do:
If you have a backup of your working Stellarmate SD card (I am on Windows - I use Win32 Disk Imager to backup/restore). Burn it to the SSD.
If you don't have a backup but do have a good working Stellarmate SD card :
Connect SSD to USB while having your SD in its usual place. Boot.
In Raspbian environment - run SD Card Copier and copy your SD to SSD.
Shut down. Remove SD. Boot.
It should boot from SSD and be exactly the same as with the SD but faster.

HTH
Max S.

RPI 4 B (4Gb) with SMate
Askar FRA400, TPO RC6, Nikon D5500 full spectrum (with IDAS clip-in filter).
ASI2600MC Pro
ZWO ASI120MM Mini on ZWO 30F4
ZWO ASI224MC-S on Orion 50 mm f/3.2
ZWO EAF x 2
SW AZ-GTi
SW HEQ5
RST-135
Last edit: 7 months 5 days ago by maxthebuilder.
7 months 5 days ago #72604

Please Log in or Create an account to join the conversation.

  • Posts: 232
  • Thank you received: 56
Not really sure what was giving me a problem changing the SMB share. I think it was a permissions issue.

Anyway changing the "Pictures" share (SMB) is very simple.

In the folder /etc/samba you will find a file called smb.conf. We need to edit this.

sudo nano /etc/samba/smb.conf

Scroll down to the end of the file and your will find a section called [Pictures]
modify it to contain your new path: path = /media/stellarmate/data/Pictures

^X Y to save the file

Now we need to restart samba:
sudo smbcontrol smbd reload-config

Now you should be able to view the Pictures folder on your Mac or PC.

 
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

7 months 5 days ago #72613

Please Log in or Create an account to join the conversation.

  • Posts: 232
  • Thank you received: 56
For me the whole point of the extra partition was to make a backup of the Stellarmate image easy when its on the SSD. I went looking for a backup solution and found rpi-clone. A great script which copies partitions and creates bootable images.
To get rpi-clone:
$ git clone github.com/billw2/rpi-clone.git
$ cd rpi-clone
$ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
$ cd rpi-clone
$ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin

I make the backup to a SD card. I am only going to backup the first 2 partitions, boot and root.
I used:
sudo rpi-clone -f2 /dev/mmcblk0
 
This enabled me to make a bootable clone to a 32GB SD card. More importantly I can clone this back onto a SSD in case of failure. I always copy my imaging data from Pictures at the end of each session so it doesn't require backing up.

 
WO ZS 61
Esprit 100
Skyliner 200p
Edgehd 8 with Celestron OAG
Stellarmate on RPi 4
iOptron GEM45
294 mc pro
224 planetary cam
174 guide cam
Powerbox Ultimate
Sesto Senso focusser
Arduino focusser
QHY5II-Mono guide camera
EOS6D - not modified

Last edit: 7 months 4 days ago by Rishi Garrod.
7 months 4 days ago #72618
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 1.027 seconds