User avatar
rpdom
Posts: 14687
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 12:56 pm

The boot partition contains the Linux kernel, so it needs to be updated when the OS is upgraded.

User avatar
topguy
Posts: 5613
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 12:57 pm

so my bootloader partition is untouchable, i want only the meta data to get replaced by the new ones
Then you should first stop using the word "image", because most of us interpret that as a disk-image used to write over all the data on an SD-card including boot partition and partition-tables.

Ernst
Posts: 1179
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 1:59 pm

igyigy wrote:
Tue Jun 18, 2019 12:50 pm
I expect to have a bootloader dependant partition
and the meta data in another partition
so my bootloader partition is untouchable, i want only the meta data to get replaced by the new ones
Do you know what the meaning is of metadata ? see https://en.wikipedia.org/wiki/Metadata
The road to insanity is paved with static ip addresses

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23059
Joined: Sat Jul 30, 2011 7:41 pm

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 2:50 pm

igyigy wrote:
Tue Jun 18, 2019 9:43 am
Thank you all

I still have a question
i want you to imagine a software that enables an OS installation automatically, knowing that the os image is stored somewhere in my raspberry pi.
I want you to suggest an archiitecture for doing this so i can have an idea
I know there are experts among us :p
You should really have started a new thread for a new question, but will leave as is now, since its had a load of responses so people know where the thread is.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Andyroo
Posts: 3756
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 4:37 pm

I would look at software such as NOOBS in Github and modify that so it looks for a new OS and updates it.

You do realise that ALL programs loaded by APT / PIP etc and any data created will be wiped as well as the OS don't you?

You could look to get very cleaver and mount the home folder on another partition and auto-reinstall the programs / data files but this is no minor task to do via a manually created program.

I would look to use something like Puppet for the configuration or possibly FAI (Fully Automatic Installation) for OS and config.

edit: Added link to NOOBs in GITHUB and removed waffle
Need Pi spray - these things are breeding in my house...

User avatar
B.Goode
Posts: 8021
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Lance a script automatically that logs my raspberry pi3 to my server

Tue Jun 18, 2019 4:51 pm

imagine a software that enables an OS installation automatically, knowing that the os image is stored somewhere in my raspberry pi.
I want you to suggest an archiitecture for doing this so i can have an idea
I know there are experts among us


I don't need to 'imagine': your requirement seems to be met by PINN which has its own persistent thread in these forums. The developer of PINN, regular forum contributor @procount, is indeed very knowledgeable on such matters.

Return to “Raspbian”