Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Scientists are people who build the Brooklyn Bridge and then buy it. -- William Buckley


computers / comp.sys.raspberry-pi / Re: How to safely power down a headless Pi?

SubjectAuthor
* How to safely power down a headless Pi?Chris Green
+* Re: How to safely power down a headless Pi?Theo
|`* Re: How to safely power down a headless Pi?The Natural Philosopher
| `- Re: How to safely power down a headless Pi?Chris Green
+* Re: How to safely power down a headless Pi?R.Wieser
|`* Re: How to safely power down a headless Pi?Chris Green
| `* Re: How to safely power down a headless Pi?R.Wieser
|  +* Re: How to safely power down a headless Pi?Chris Green
|  |`* Re: How to safely power down a headless Pi?R.Wieser
|  | `* Re: How to safely power down a headless Pi?Chris Green
|  |  `* Re: How to safely power down a headless Pi?R.Wieser
|  |   `* Re: How to safely power down a headless Pi?Chris Elvidge
|  |    `* Re: How to safely power down a headless Pi?56g.1183
|  |     `* Re: How to safely power down a headless Pi?druck
|  |      +* How to safely power down a headless Pi?Vincent Coen
|  |      |+- Re: How to safely power down a headless Pi?R.Wieser
|  |      |+- Re: How to safely power down a headless Pi?Richard Kettlewell
|  |      |+* Re: How to safely power down a headless Pi?The Natural Philosopher
|  |      ||`- Re: How to safely power down a headless Pi?Ahem A Rivet's Shot
|  |      |`* Re: How to safely power down a headless Pi?Andy Burns
|  |      | +* Re: How to safely power down a headless Pi?Andy Burns
|  |      | |`* Re: How to safely power down a headless Pi?The Natural Philosopher
|  |      | | `- Re: How to safely power down a headless Pi?Computer Nerd Kev
|  |      | `- Re: How to safely power down a headless Pi?Richard Kettlewell
|  |      `* Re: How to safely power down a headless Pi?Anssi Saari
|  |       +- Re: How to safely power down a headless Pi?The Natural Philosopher
|  |       +* Re: How to safely power down a headless Pi?Computer Nerd Kev
|  |       |`- Re: How to safely power down a headless Pi?Anssi Saari
|  |       `* Re: How to safely power down a headless Pi?druck
|  |        +- Re: How to safely power down a headless Pi?Richard Kettlewell
|  |        `* Re: How to safely power down a headless Pi?Anssi Saari
|  |         `- Re: How to safely power down a headless Pi?druck
|  `- Re: How to safely power down a headless Pi?The Natural Philosopher
+* Re: How to safely power down a headless Pi?56g.1173
|+* Re: How to safely power down a headless Pi?Chris Green
||+* Re: How to safely power down a headless Pi?56g.1173
|||+* Re: How to safely power down a headless Pi?The Natural Philosopher
||||`* Re: How to safely power dA.M. Rowsell
|||| +- Re: How to safely power dThe Natural Philosopher
|||| +* Re: How to safely power dPancho
|||| |`* Re: How to safely power dThe Natural Philosopher
|||| | `* Re: How to safely power d56g.1183
|||| |  `- Re: How to safely power dThe Natural Philosopher
|||| `* Re: How to safely power ddruck
||||  `- Re: How to safely power dPancho
|||+* Re: How to safely power down a headless Pi?Chris Green
||||`- Re: How to safely power down a headless Pi?The Natural Philosopher
|||`- Re: How to safely power down a headless Pi?Jim Jackson
||`- Re: How to safely power down a headless Pi?Jim Jackson
|`* Re: How to safely power down a headless Pi?The Natural Philosopher
| +* Re: How to safely power down a headless Pi?56g.1173
| |`- Re: How to safely power down a headless Pi?The Natural Philosopher
| `- Re: How to safely power down a headless Pi?56g.1173
`* Re: How to safely power down a headless Pi?John Aldridge
 +* Re: How to safely power down a headless Pi?Martin Gregorie
 |`- Re: How to safely power down a headless Pi?Chris Green
 `- Re: How to safely power down a headless Pi?Jim Jackson

Pages:123
Re: How to safely power down a headless Pi?

<65972176@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8813&group=comp.sys.raspberry-pi#8813

  copy link   Newsgroups: comp.sys.raspberry-pi
Message-ID: <65972176@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: How to safely power down a headless Pi?
Newsgroups: comp.sys.raspberry-pi
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me> <vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me> <id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me> <80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me> <ul9ueo$3n1a0$1@dont-email.me> <vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com> <un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 5 Jan 2024 07:21:59 +1000
Organization: Ausics - https://ausics.net
Lines: 24
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Thu, 4 Jan 2024 21:21 UTC

Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> wrote:
> druck <news@druck.org.uk> writes:
>
>> So I abandoned that, and went back to it's predecessor Pi 4B, which
>> was running Bullseye 64 bit (hand upgraded from 32 bit, and prior to
>> that in place upgraded all the way from the very fist OS running an
>> the original 256MB Pi B)
>
> What's "hand upgraded"? I have this Pi that I kinda would like to keep
> running for a while yet but it has Ubuntu 20.04 LTS on it. Canonical
> extended the support for 20.04 LTS until 2030 but not for the armhf
> architecture which I have. I've considered cross grading it to arm64 but
> I'm not sure it's worth the trouble or if that would even work. And this
> is a CM3+ so there's no SD card, only soldered eMMC for storage.

These are about converting VPS systems from Ubuntu to Debian, but
the process ought to be the same except for any special driver
requirements for the RPis:
https://gist.github.com/4abhinavjain/893ec13c651bee08088c8f4661998952
https://github.com/bohanyang/debi

--
__ __
#_ < |\| |< _# | Note: I won't see posts made from Google Groups |

Re: How to safely power down a headless Pi?

<un782j$3pvfn$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8814&group=comp.sys.raspberry-pi#8814

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@druck.org.uk (druck)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Thu, 4 Jan 2024 21:30:59 +0000
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <un782j$3pvfn$1@dont-email.me>
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me>
<vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me>
<id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me>
<80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me>
<ul9ueo$3n1a0$1@dont-email.me>
<vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com>
<un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Jan 2024 21:30:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="2f691a15a54af426c78a361624660d27";
logging-data="3997175"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kKlEz81vAFfKO9CC5HiFj"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mihkUfkgOuNTajpSvgzh1347TQU=
Content-Language: en-GB
In-Reply-To: <sm05y092noa.fsf@lakka.kapsi.fi>
 by: druck - Thu, 4 Jan 2024 21:30 UTC

On 04/01/2024 14:11, Anssi Saari wrote:
> druck <news@druck.org.uk> writes:
>
>> So I abandoned that, and went back to it's predecessor Pi 4B, which
>> was running Bullseye 64 bit (hand upgraded from 32 bit, and prior to
>> that in place upgraded all the way from the very fist OS running an
>> the original 256MB Pi B)
>
> What's "hand upgraded"? I have this Pi that I kinda would like to keep
> running for a while yet but it has Ubuntu 20.04 LTS on it. Canonical
> extended the support for 20.04 LTS until 2030 but not for the armhf
> architecture which I have. I've considered cross grading it to arm64 but
> I'm not sure it's worth the trouble or if that would even work. And this
> is a CM3+ so there's no SD card, only soldered eMMC for storage.

I don't know if anyone has a working cross-grade for Raspbian then, so I
created a new partition with a clean 64 bit Bullseye on it, installed
all the same optional packages as the 32 bit partition, then copied over
all /home, /opt, bits of /var and lastly looked at /etc. That was the
trickiest bit, machine-id and ssh/ssh_host* were copied across to
preserve the identity, but all the other files had to be diffed and
changes integrated so as to keep the legit configuration and to shed
some of the cruft from multiple previous OS releases.

---druck

Re: How to safely power down a headless Pi?

<wwvsf3c6tr4.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8821&group=comp.sys.raspberry-pi#8821

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Fri, 05 Jan 2024 08:59:11 +0000
Organization: terraraq NNTP server
Message-ID: <wwvsf3c6tr4.fsf@LkoBDZeT.terraraq.uk>
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me>
<vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me>
<id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me>
<80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me>
<ul9ueo$3n1a0$1@dont-email.me>
<vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com>
<un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
<un782j$3pvfn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="21208"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:b/a9AhiZo64gBRdBVHckqFgCwUU=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Fri, 5 Jan 2024 08:59 UTC

druck <news@druck.org.uk> writes:
> I don't know if anyone has a working cross-grade for Raspbian then,

I have done crossgrades with Debian (x86->amd64) and while it worked[1],
I can’t really recommend it unless you are very confident indeed. I’d
expect a similar situation with Raspbian/RPi OS.

[1] meaning I have a working system that’s been continously upgraded
since the mid 1990s:

$ ls -l /etc/hostname
-rw-r--r-- 1 root root 6 Mar 24 1995 /etc/hostname
$ cat /etc/debian_version
12.4
$ uname -r
6.1.0-16-amd64

> so I created a new partition with a clean 64 bit Bullseye on it,
> installed all the same optional packages as the 32 bit partition, then
> copied over all /home, /opt, bits of /var and lastly looked at
> /etc. That was the trickiest bit, machine-id and ssh/ssh_host* were
> copied across to preserve the identity, but all the other files had to
> be diffed and changes integrated so as to keep the legit configuration
> and to shed some of the cruft from multiple previous OS releases.

Makes me wonder how practical it would be to automate this: a tool which
captured the configuration of one host (list of packages, configuration
that’s been customized relative to installed versions, extra state in
/var, etc) and modified a second host to match. I suspect doing it
properly would be more work than is worthwhile (architecture transitions
just don’t happen very often) but that doesn’t always stop people l-)

--
https://www.greenend.org.uk/rjk/

Re: How to safely power down a headless Pi?

<wwv34vb79yx.fsf@LkoBDZeT.terraraq.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8830&group=comp.sys.raspberry-pi#8830

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: inva...@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Fri, 05 Jan 2024 21:21:10 +0000
Organization: terraraq NNTP server
Message-ID: <wwv34vb79yx.fsf@LkoBDZeT.terraraq.uk>
References: <un4isp$3b8gn$1@dont-email.me> <1704324148@f0.n25.z2.fidonet.org>
<kvnmedF9c2rU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="31525"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:p7C8YBCkk5EInZ0A9NSD3pt+Y0g=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
 by: Richard Kettlewell - Fri, 5 Jan 2024 21:21 UTC

Andy Burns <usenet@andyburns.uk> writes:
> The base64 coding does come from druck's Thunderbird, but it's
> probably not his fault, there's a longer chain of "blame" ...
>
> The message from <56g.1183@ztq4.net> uses 8bit encoding and seems to
> have needlessly changed spaces into sequences of 0xC3 0x82 0x20
> possibly triggered by Chris Elvidge's message also using 8bit coding
> and including non US ASCII characters (e.g. a British pound sign £)

None of Chris’s message is quoted in David’s message, so I don’t see how
that can be relevant.

I don’t see the C3... sequence you mention in 56g’s message:

# grep From: 34062
From: "56g.1183" <56g.1183@ztq4.net>
# hd 34062|grep c3
#

However David’s message does use U+00A0 (i.e. NO-BREAK SPACE, C2 A0 in
UTF-8), as part of the quoting of 56g’s message:

# tail +27 34073|base64 -id|hd|head
00000000 4f 6e 20 30 33 2f 30 31 2f 32 30 32 34 20 30 35 |On 03/01/2024 05|
00000010 3a 35 38 2c 20 35 36 67 2e 31 31 38 33 20 77 72 |:58, 56g.1183 wr|
00000020 6f 74 65 3a 0d 0a 3e 20 20 c2 a0 20 54 68 65 20 |ote:..> .. The |
^^^^^
00000030 57 6f 72 6d 20 2a 77 6f 72 6b 73 2a 20 2e 2e 2e |Worm *works* ...|

I think that’s a quoting decision made by Thunderbird, perhaps triggered
by an internal trip through an HTML representation where the redundant
multiple spaces at the start of 56g’s lines need to be converted to
something else to avoid whitespace collapsing.

Thunderbird’s decision to use base64 is certainly not what I’d do (NNTP
is 8-bit clean so Content-Transfer-Encoding: 8bit would be perfectly
adequate) but it is in-spec and has been for many years.

--
https://www.greenend.org.uk/rjk/

Re: How to safely power down a headless Pi?

<sm0bk9tz8sv.fsf@lakka.kapsi.fi>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8877&group=comp.sys.raspberry-pi#8877

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anssi.sa...@usenet.mail.kapsi.fi (Anssi Saari)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Wed, 10 Jan 2024 14:12:32 +0200
Organization: An impatient and LOUD arachnid
Lines: 30
Message-ID: <sm0bk9tz8sv.fsf@lakka.kapsi.fi>
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me>
<vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me>
<id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me>
<80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me>
<ul9ueo$3n1a0$1@dont-email.me>
<vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com>
<un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
<65972176@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b218589c72c166f7a9c653e3f93a127c";
logging-data="2616277"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+AwgZ8YrJoLv0HuQ8p++X"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:EL0MoITVFcHfHVzQ7huup9rqKpY=
sha1:HapjEWv+arKtjgpiU1Q/JHnQmXw=
 by: Anssi Saari - Wed, 10 Jan 2024 12:12 UTC

not@telling.you.invalid (Computer Nerd Kev) writes:

> These are about converting VPS systems from Ubuntu to Debian, but
> the process ought to be the same except for any special driver
> requirements for the RPis:
> https://gist.github.com/4abhinavjain/893ec13c651bee08088c8f4661998952
> https://github.com/bohanyang/debi

Wow, I've actually followed exactly that gist on my Oracle freebie
VPS. It's a good guide but not suitable for the old Pi. I'm not sure of
the other one. Anyways, I'm not looking to install Debian on this.

I did see a blog post here
https://k1024.org/posts/2023/2023-10-31-raspberry-pi-upgrade-crossgrade/
about armhf to arm64 crossgrading which isn't really positive on the
process although he was apparently successful. Then again, he had
Raspberry PI OS and a Pi4 and a Zero 2 W, my CM3+ and Ubuntu might hit
other snags.

What I'm planning is either retire or replace the thing, I actually have
a cheap refurb mini-PC to take its place running Debian currently or
cross grade to amd64 so I would need no changes and have support until
2030 or maybe upgrade to Ubuntu 22.04 LTS. But I have until 2025 to
decide.

As it happens, during the Xmas break I got around to playing with my
RTL-SDR software radio and getting some weather data from my outdoor
wireless temperature/humidity sensor. Works fine but the rtl_433 package
on Ubuntu 20.04 is too old, I'd need a newer rtl_433 to easily support
the sensor I have. One point in favor of upgrading Ubuntu.

Re: How to safely power down a headless Pi?

<sm05y01z8sa.fsf@lakka.kapsi.fi>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8878&group=comp.sys.raspberry-pi#8878

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anssi.sa...@usenet.mail.kapsi.fi (Anssi Saari)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Mon, 08 Jan 2024 11:50:14 +0200
Organization: An impatient and LOUD arachnid
Lines: 15
Message-ID: <sm05y01z8sa.fsf@lakka.kapsi.fi>
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me>
<vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me>
<id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me>
<80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me>
<ul9ueo$3n1a0$1@dont-email.me>
<vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com>
<un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
<un782j$3pvfn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b218589c72c166f7a9c653e3f93a127c";
logging-data="2616277"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18b94LwXmJ/4SkE7/Y8gqcG"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:p0bLvht/KgHlopyVW9FSq6I3N7k=
sha1:BLwbtaBunrN04grNBekFvbm7hjM=
 by: Anssi Saari - Mon, 8 Jan 2024 09:50 UTC

druck <news@druck.org.uk> writes:

> I don't know if anyone has a working cross-grade for Raspbian then, so
> I created a new partition with a clean 64 bit Bullseye on it,
> installed all the same optional packages as the 32 bit partition, then
> copied over all /home, /opt, bits of /var and lastly looked at
> /etc. That was the trickiest bit, machine-id and ssh/ssh_host* were
> copied across to preserve the identity, but all the other files had to
> be diffed and changes integrated so as to keep the legit configuration
> and to shed some of the cruft from multiple previous OS releases.

That's the thing, isn't it? Either copy all the cruft over or spend
months in transition, going from wondering "didn't I have a
script/config/whatever for this" to "oh right, it was on the old system,
time to copy that over too." BTDT...

Re: How to safely power down a headless Pi?

<unn10h$2ks0h$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=8888&group=comp.sys.raspberry-pi#8888

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@druck.org.uk (druck)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: How to safely power down a headless Pi?
Date: Wed, 10 Jan 2024 21:08:32 +0000
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <unn10h$2ks0h$1@dont-email.me>
References: <hg5j4k-um341.ln1@esprimo.zbmc.eu> <ul743h$36as4$1@dont-email.me>
<vhij4k-36051.ln1@esprimo.zbmc.eu> <ul7f0j$3833h$1@dont-email.me>
<id3k4k-ig461.ln1@esprimo.zbmc.eu> <ul95pt$3jf0h$1@dont-email.me>
<80ll4k-ll691.ln1@esprimo.zbmc.eu> <ul9b8r$3k880$1@dont-email.me>
<ul9ueo$3n1a0$1@dont-email.me>
<vbWdnS0X77_3agn4nZ2dnZfqnPednZ2d@earthlink.com>
<un4isp$3b8gn$1@dont-email.me> <sm05y092noa.fsf@lakka.kapsi.fi>
<un782j$3pvfn$1@dont-email.me> <sm05y01z8sa.fsf@lakka.kapsi.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 21:08:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f27aba6b13a9863d43720dac8c77c875";
logging-data="2781201"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZO/dKmoEFsClSkhleFCf6"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:I9qTubTCj7qN8LvjpcJgDn9STuA=
In-Reply-To: <sm05y01z8sa.fsf@lakka.kapsi.fi>
Content-Language: en-GB
 by: druck - Wed, 10 Jan 2024 21:08 UTC

On 08/01/2024 09:50, Anssi Saari wrote:
> druck <news@druck.org.uk> writes:
>
>> I don't know if anyone has a working cross-grade for Raspbian then, so
>> I created a new partition with a clean 64 bit Bullseye on it,
>> installed all the same optional packages as the 32 bit partition, then
>> copied over all /home, /opt, bits of /var and lastly looked at
>> /etc. That was the trickiest bit, machine-id and ssh/ssh_host* were
>> copied across to preserve the identity, but all the other files had to
>> be diffed and changes integrated so as to keep the legit configuration
>> and to shed some of the cruft from multiple previous OS releases.
>
> That's the thing, isn't it? Either copy all the cruft over or spend
> months in transition, going from wondering "didn't I have a
> script/config/whatever for this" to "oh right, it was on the old system,
> time to copy that over too." BTDT...

No everything useful was copied over, but I spent some time looking at
/etc to weed out config for packages which are no longer installed. For
the stuff that is still installed the config files have often gained new
options over time, and it's useful to add these in to my copies, so they
can be altered in future.

---druck

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor