Git Product home page Git Product logo

Comments (10)

mgrouch avatar mgrouch commented on August 15, 2024

Looks like you forgot to delete old partition and you cloned to SSD over some old data existing on it.

Did you follow “Getting Started Guide”?

SSD Boot  | Before doing it (if you had a previous installation), go into Disks tool from App Menu/Utilities/Disks and remove all partitions from your SSD drive.

from lysmarine_gen.

ryansabin avatar ryansabin commented on August 15, 2024

I have tried again using fdisk to delete partitions then running rpi-clone. Still the same issue of tlegraf not starting.

root@lysmarine:/home/user# fdisk /dev/sda

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): d
Partition number (1,2, default 2): 2

Partition 2 has been deleted.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): p
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: 2115
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xc198e278

Command (m for help): w
The partition table has been altered.

Calling ioctl() to re-read partition table.
Syncing disks.

from lysmarine_gen.

ryansabin avatar ryansabin commented on August 15, 2024

I cloned a fresh image of the 5-17 build bbn-os. This worked without issue. I am not sure if I modified something in the last build or it was something in the build.

Thanks for responding. I just started working with your build and am very excited to use it more. Great job.

I plan to put a build document for my build shortly.

from lysmarine_gen.

mgrouch avatar mgrouch commented on August 15, 2024

Did you load any other software yourself after booting from BBN SD card?

telegraf is disabled on it. It wouldn’t attempt to start unless you have done something to enable it.

also file paths for telegraf in your log
do not match what is on BBN OS.

I’ve tried starting telegraf on mine it starts fine.
but its script is in

/etc/init.d/telegraf

so somehow you have configuration of your telegraf which didn’t come from BBN OS image, but from some other system.

You could have better idea how that could happen because you know what other steps you did.

I’d not trust this configuration. I would burn new SD card, erased all partitions from SSD and start loading system from scratch.

from lysmarine_gen.

ryansabin avatar ryansabin commented on August 15, 2024

I am starting from scratch with a clean burn. Here is the commands I ran on the other version. I use vim for editing and barrier to share the mouse and keyboard from my laptop. I don't see why vim or barrier would try to start telegraf but I will look into that.

~/add-ons/change-password.sh
sudo passwd root
~/add-ons/hot-fixes-install.sh
~/add-ons/timezone-setup.sh
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim -y
sudo apt-get install barrier -y
cp /usr/share/applications/barrier.desktop ~/.config/autostart/
vim ~/.config/autostart/barrier.desktop
mkdir .barrier
vim ~/.barrier/run-barrier.sh
chmod +x ~/.barrier/run-barrier.sh
sudo rpi-clone sda

from lysmarine_gen.

mgrouch avatar mgrouch commented on August 15, 2024

This is what I do before

rpi-clone

SSD Boot | Before doing it (if you had a previous installation), go into Disks tool from App Menu/Utilities/Disks and remove all partitions from your SSD drive.

from lysmarine_gen.

ryansabin avatar ryansabin commented on August 15, 2024

My cli list does not include the part where I used Disks utility to delete the partitions as outlined in your document. As stated this didn't work with an older build that I had played around with trying different things. Unfortunately I overwrote the SD card with that version and am not able to get history.

It works great now following your document and with the latest build. I'm sure earlier versions worked as well and I just did something.

from lysmarine_gen.

mgrouch avatar mgrouch commented on August 15, 2024

apt upgrade

is also unnecessary. It does break things sometimes.

If something doesn’t work for you and and there is known fix via apt upgrade
I would just cherry pick package that needs to be upgraded and install only that one and dependencies via apt.

from lysmarine_gen.

ryansabin avatar ryansabin commented on August 15, 2024

Thanks for the heads up on that upgrade. I can upgrade individually as/if needed.

from lysmarine_gen.

mgrouch avatar mgrouch commented on August 15, 2024

You upgraded telegraf

doing
apt upgrade

somehow that upgrade breaks it.
:)

not all upgrades are safe in fact.

from lysmarine_gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.