Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"In the fight between you and the world, back the world." -- Frank Zappa


computers / alt.os.linux / Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

SubjectAuthor
* What may prevent hibernation from workingMarioCPPP
+* What may prevent hibernation from workingCarlos E.R.
|`* What may prevent hibernation from workingMarioCPPP
| `- What may prevent hibernation from workingCarlos E.R.
+* What may prevent hibernation from workingJ.O. Aho
|+* What may prevent hibernation from workingCarlos E.R.
||`- What may prevent hibernation from workingJ.O. Aho
|+* What may prevent hibernation from workingJasen Betts
||`* What may prevent hibernation from workingMarioCPPP
|| `- What may prevent hibernation from workingCarlos E.R.
|`* What may prevent hibernation from workingMarioCPPP
| `* What may prevent hibernation from workingKilladebug
|  `* What may prevent hibernation from workingMarioCPPP
|   `* What may prevent hibernation from workingCarlos E.R.
|    `* What may prevent hibernation from workingMarioCPPP
|     `- What may prevent hibernation from workingCarlos E.R.
`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |    +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |  +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   +* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |   |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |   |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   |   `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |   +* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |   |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |   | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    |     | |+* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | ||`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     | || +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    |     | || |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |     `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |      +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | || |      |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | || |      | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | || |      |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |      `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |       `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |        `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |         `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |          `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |           `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINFonntuggnio
 |     |    |     | | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINBubba the Corn Dog
 |     |    |     | | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBubba the Corn Dog
 |     |    |     | | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     | | |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 |     |    |     | |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     `* What may prevent hibernation from working - OOOPS, I DID IT AGAINPeter 'Shaggy' Haywood
 |      +- What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |      `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 `* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
  +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
  |`- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINFonntuggnio
   `- What may prevent hibernation from working - OOOPS, I DID IT AGAINPeter 'Shaggy' Haywood

Pages:1234
Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<op.17l7e8ina3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2005&group=alt.os.linux#2005

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 05 Jul 2023 11:17:22 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7pcaa$2up5n$1@dont-email.me>
<kgbitmFf9qqU1@mid.individual.net> <slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="68fb226c8e146799ffb5907894e1646f";
logging-data="596419"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18abuA/deXwDHsnnakYDQVjo1rNrowrx4M="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:FejW4nYGpc3sIaF0B09lf030E+w=
 by: David W. Hodgins - Wed, 5 Jul 2023 15:17 UTC

On Wed, 05 Jul 2023 09:10:49 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:

> On 2023-07-05 00:13, David W. Hodgins wrote:
>> On Tue, 04 Jul 2023 17:09:32 -0400, Carlos E. R.
>> <robin_listas@es.invalid> wrote:
>>> On 2023-07-04 22:57, J.O. Aho wrote:
>>>> Oh, but yes it will have issues, Grub do make changes in the stage files
>>>> which can make them incompatible with the grub loader stage installed by
>>>> earlier versions, then you will not be able to load even the grub rescue
>>>> prompt. I can see times when the distros won't be insync with the
>>>> version of Grub or that they not been updated by the end user at the
>>>> same frequency.
>>>
>>> Yes. IMHO the status quo can be, rather will be, a source of problems
>>> for the foreseeable future.
>>
>> Since the stage 1 part of the boot loader from the mbr will be using the
>> grub.cfg and stage2 from the same install, how can what's in the other
>> install impact it?
>
> Because Linux_2 is still capable of writing again in the MBR.

So what? It will be putting code in the mbr that points to it's stage 2 in /boot,
and uses it's grub.cfg file. This is not chain loading. Only one version of grub
is in use, and it can boot either install.

Regards, Dave Hodgins

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u845ib$ijtp$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2006&group=alt.os.linux#2006

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 12:25:48 -0400
Organization: A noiseless patient Spider
Lines: 97
Message-ID: <u845ib$ijtp$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<u8398b$f8jp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 5 Jul 2023 16:25:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3efa19886970ac794a6a988cfd200f7f";
logging-data="610233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mFEPP/ZcRa+IME2N0jbj6HXvqzMP2c8c="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:ussN5gVsdWinGTc00GzXGo8Gz2w=
Content-Language: en-US
In-Reply-To: <u8398b$f8jp$1@dont-email.me>
 by: Paul - Wed, 5 Jul 2023 16:25 UTC

On 7/5/2023 4:22 AM, Fonntuggnio wrote:

>
> my BIOSes (at least in legacy mode), I mean all I've had insofar, scanned ALL hardware devices,
>
> and if sth bootable is found, add them to the list one can switch. I mean,
> I have 4 internal physical disks, some MBR, some GPT, and if I installed a lot of OSes
> on each, the BIOS would enable me to boot from any one of them. But I find it annoying
> to use this way. Often I don't even remember the key to invoke the feature at the > very start of the bios control.
>
> The current situation though is different, since I have installed the two Distro on
> two distinct partition belonging to one single physical drive (which is MBR), so
> the bios boot selection feature is useless here.
>
> I don't dare move MX to another disk

Multi-booting is a topic that you learn by doing these things.

You cannot be afraid of making mistakes.

The basics of cloning a disk, you have to remember to make the BLKIDs unique.
And your reply would be "but but, that will break things".
And the answer is, "Yes, yes it will".

Make sure you have a Boot Repair CD.

1) Clone
2) Change BLKID values on destination disk.
3) Use Boot Repair CD, to make the destination disc bootable again, by itself.
This is the way that a lazy guy does the work.

+-----+----------+---------+----------+
| MBR | Swap | Debian | MXLinux |
+-----+----------+---------+----------+

Clone, remove the undesired partition by not cloning it.

+-----+----------+---------+----------+
| MBR | Swap | <none> | MXLinux |
+-----+----------+---------+----------+

List all the BLKIDs on the system. Make sure
to change the BLKIDs on the destination disk.

Now, unplug the source disk. Only the destination disk should be plugged in.
Boot the Boot Repair CD. Boot Repair this disk drive. By itself.

+-----+----------+---------+----------+
| MBR | Swap | <none> | MXLinux |
+-----+----------+---------+----------+

Now, do a test boot of the clone. Does it work ?

While booted in MXLinux, and with the MXLinux drive all by itself,
do a "sudo update-grub" or equivalent. Hopefully, this should
improve what you see in the boot menu on it.

As Yoda would say "Do or Do not, there is no Try".

You practice your craft, until you get it right.

The issues may be slightly different, on a legacy MSDOS setup,
versus a UEFI disk setup.

Being a fraidy-cat isn't going to get you anywhere.

So your first preparatory step, is preparing your Boot Repair CD.

The other thing you need, is hard drives, enough hard drives to
keep your materials safe, while you experiment.

This is my favorite drive, for boot experiments. WD1003FZEX.
Buy from a local retailer. On one of these I purchased locally,
the spindle did not spin. I took it back and got a substitute one
that did spin. That's the first retail drive that has been
dead-on-arrival. Still, the price is reasonable. And it does not
wear like an SSD flash-based drive.

https://www.newegg.com/black-wd1003fzex-1tb/p/N82E16822236625

As far as practices go, I prefer a /swapfile on each OS partition,
not because I am in love with the concept. Instead, the /swapfile
is preferred because of the lousy handling of swap by GRUB. In the
past, I used a swap partition quite successfully. But today, as
the lazy guy in the description, I no longer want to worry about
the BLKID of swap constantly being changed by something I've done,
so /swapfile is the preferred method now.

And yes, I have manually changed all the OSes on a multiboot Linux,
to using swapfile. I was angry at the time, and wanted to smack someone,
but I did it. I caught Ubuntu searching for RAID and BTRFS partitions
(two minute boot times), and at first I figured I'd screwed something
else up for this behavior to exist. Well, Ubuntu was doing this
stupid stuff, purely because it could not find swap. Never work on
computers when you're angry :-)

Paul

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<slrnuabanm.11gae.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2007&group=alt.os.linux#2007

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 12:39:59 -0500
Organization: A noiseless patient Spider
Lines: 113
Message-ID: <slrnuabanm.11gae.BitTwister@wb.home.arpa>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <u8398b$f8jp$1@dont-email.me>
<u845ib$ijtp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="eba4ed92b6348355c390a1c4b107fd5d";
logging-data="626533"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eAWOHsCEMUaR5DO4UnIxqliKEybFeBCM="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:QAINKQtRSsjOj9gyc/yC0LkWQjM=
 by: Bit Twister - Wed, 5 Jul 2023 17:39 UTC

On Wed, 5 Jul 2023 12:25:48 -0400, Paul wrote:
> On 7/5/2023 4:22 AM, Fonntuggnio wrote:
>
>>
>> my BIOSes (at least in legacy mode), I mean all I've had insofar, scanned ALL hardware devices,
>>
>> and if sth bootable is found, add them to the list one can switch. I mean,
>> I have 4 internal physical disks, some MBR, some GPT, and if I installed a lot of OSes
>> on each, the BIOS would enable me to boot from any one of them. But I find it annoying
>> to use this way. Often I don't even remember the key to invoke the feature at the > very start of the bios control.
>>
>> The current situation though is different, since I have installed the two Distro on
>> two distinct partition belonging to one single physical drive (which is MBR), so
>> the bios boot selection feature is useless here.
>>
>> I don't dare move MX to another disk
>
> Multi-booting is a topic that you learn by doing these things.
>
> You cannot be afraid of making mistakes.
>
> The basics of cloning a disk, you have to remember to make the BLKIDs unique.
> And your reply would be "but but, that will break things".
> And the answer is, "Yes, yes it will".
>
> Make sure you have a Boot Repair CD.
>
> 1) Clone
> 2) Change BLKID values on destination disk.
> 3) Use Boot Repair CD, to make the destination disc bootable again, by itself.
> This is the way that a lazy guy does the work.
>
> +-----+----------+---------+----------+
> | MBR | Swap | Debian | MXLinux |
> +-----+----------+---------+----------+
>
> Clone, remove the undesired partition by not cloning it.
>
> +-----+----------+---------+----------+
> | MBR | Swap | <none> | MXLinux |
> +-----+----------+---------+----------+
>
> List all the BLKIDs on the system. Make sure
> to change the BLKIDs on the destination disk.

AND update/fix /etc/fstab !!!!!!

> Now, unplug the source disk. Only the destination disk should be plugged in.
> Boot the Boot Repair CD. Boot Repair this disk drive. By itself.
>
> +-----+----------+---------+----------+
> | MBR | Swap | <none> | MXLinux |
> +-----+----------+---------+----------+
>
> Now, do a test boot of the clone. Does it work ?
>
> While booted in MXLinux, and with the MXLinux drive all by itself,
> do a "sudo update-grub" or equivalent. Hopefully, this should
> improve what you see in the boot menu on it.
>
> As Yoda would say "Do or Do not, there is no Try".
>
> You practice your craft, until you get it right.
>
> The issues may be slightly different, on a legacy MSDOS setup,
> versus a UEFI disk setup.
>
> Being a fraidy-cat isn't going to get you anywhere.
>
> So your first preparatory step, is preparing your Boot Repair CD.
>
> The other thing you need, is hard drives, enough hard drives to
> keep your materials safe, while you experiment.
>
> This is my favorite drive, for boot experiments. WD1003FZEX.
> Buy from a local retailer. On one of these I purchased locally,
> the spindle did not spin. I took it back and got a substitute one
> that did spin. That's the first retail drive that has been
> dead-on-arrival. Still, the price is reasonable. And it does not
> wear like an SSD flash-based drive.
>
> https://www.newegg.com/black-wd1003fzex-1tb/p/N82E16822236625
>
> As far as practices go, I prefer a /swapfile on each OS partition,
> not because I am in love with the concept. Instead, the /swapfile
> is preferred because of the lousy handling of swap by GRUB. In the
> past, I used a swap partition quite successfully. But today, as
> the lazy guy in the description, I no longer want to worry about
> the BLKID of swap constantly being changed by something I've done,
> so /swapfile is the preferred method now.
>
> And yes, I have manually changed all the OSes on a multiboot Linux,
> to using swapfile. I was angry at the time, and wanted to smack someone,
> but I did it. I caught Ubuntu searching for RAID and BTRFS partitions
> (two minute boot times), and at first I figured I'd screwed something
> else up for this behavior to exist. Well, Ubuntu was doing this
> stupid stuff, purely because it could not find swap. Never work on
> computers when you're angry :-)

It is not the fault of grub, per se, but the fact that the os installer
formats swap during install causing the swap partition to be changed.

I solved my problem by using a Partition Label, and modify /etc/fstab
to use the Partition Label.

$ lsblk -o NAME,TYPE,FSTYPE,MOUNTPOINT,LABEL,PARTLABEL | grep swap
NAME TYPE FSTYPE MOUNTPOINT LABEL PARTLABEL
s├─sda11 part swap [SWAP] swap swap

$ grep swap /etc/fstab
PARTLABEL=swap swap swap defaults,nofail 0 0

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u84etf$jkgo$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2008&group=alt.os.linux#2008

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 21:05:19 +0200
Organization: A noiseless patient Spider
Lines: 102
Message-ID: <u84etf$jkgo$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<u8398b$f8jp$1@dont-email.me> <ul7gnjx5nn.ln2@Telcontar.valinor>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Wed, 5 Jul 2023 19:05:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d7e94a08421ad57a30c66caba61c3bcb";
logging-data="643608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GRqWTJsnqZ+FzWMTl9dW3"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:XpBgPPiIg5h/eCt5euxCVD0+etI=
Content-Language: en-GB, it-IT
In-Reply-To: <ul7gnjx5nn.ln2@Telcontar.valinor>
 by: MarioCPPP - Wed, 5 Jul 2023 19:05 UTC

On 05/07/23 15:26, Carlos E.R. wrote:
> On 2023-07-05 10:22, Fonntuggnio wrote:
>> On 04/07/23 22:08, Carlos E. R. wrote:
>>> On 2023-07-04 20:24, MarioCPPP wrote:
>>>> On 04/07/23 14:40, J.O. Aho wrote:
>>>>> On 7/4/23 13:30, MarioCPPP wrote:
>>>>>> On 03/07/23 23:20, Carlos E.R. wrote:
>>>>>>> On 2023-07-03 20:21, MarioCPPP wrote:
>>>>
>>>>
>>>>>
>>>>>> I would need to ensure this same route is followed
>>>>>> also for "minor updates" that are not full install.
>>>>>
>>>>> Yes, by only allowing one distro to store it's grub
>>>>> loader on the MBR and the rest has their BR grub loader
>>>>> on the partitions.
>>>>
>>>> How this is done "ex post" ?
>>>> I mean, how can I tell MX23, that is just installed :
>>>> move your grub data from whatever they are to your own
>>>> partition ? I must add that I don't have any more UNUSED
>>>> partitions.
>>>
>>> No. If you installed MX23 on /dev/sda4, its grub goes to
>>> the boot sector of that same sda4.
>>>
>>> The method depends on each distribution. For instance, on
>>> openSUSE it is very easy: I start YaST2, choose boot
>>> configuration, and change in the menu the partition where
>>> grub is to go.
>>>
>>>
>>>> In case, MX23 would remain bootable using BIOS boot
>>>> device selection at power on ?
>>>
>>> No. The bios can only boot whatever is in the MBR.
>>
>> my BIOSes (at least in legacy mode), I mean all I've had
>> insofar, scanned ALL hardware devices,
>
> Yes, but MarioCPPP has only one hardware device.
no, sorry, It was always myself. Often I got error message
from the server that does not let me post for unknown
reasons, and I reply with other accounts.
Fonntuggnio was myself.
I have a lot of drives (physical), but I did not use any
other for the system, since the same that I chose was an
nvme type (the faster) and half empty (since I had moved the
large /home on an HDD).
>
>> and if sth bootable is found, add them to the list one can
>> switch. I mean, I have 4 internal physical disks, some
>> MBR, some GPT, and if I installed a lot of OSes on each,
>> the BIOS would enable me to boot from any one of them. But
>> I find it annoying to use this way. Often I don't even
>> remember the key to invoke the feature at the very start
>> of the bios control.
>
> Not the case here.
Well, not actually. It could have been potentially, If I had
installed MX onto another SDD (that is empty now).
>
>>
>> The current situation though is different, since I have
>> installed the two Distro on two distinct partition
>> belonging to one single physical drive (which is MBR), so
>> the bios boot selection feature is useless here.
>>
>> I don't dare move MX to another disk
>
>
> Are you MarioCPPP under another name? If this is so, please
> say so at the start of the post, this is confusing.
sorry ... the server was annoying with denials.
I forgot to state It wes myself :\
>
>
>
>>> If what is there is the grub from linux_1, you have to
>>> make it present to you a menu entry to chainload the grub
>>> of linux_2, and/or to probe and find other linuxes and
>>> include boot entries for them.
>>>
>>>
>>> However, the MBR can contain instead "generic boot code"
>>> which loads and boots whatever partition is marked
>>> bootable. This is the preferred method for multibootin.
>>> You would tell linux_1 to install grub to its own "/",
>>> and you would tell linux_2 to install grub to its own "/".
>>>
>>
>> how can I discover where it is installed currently ?
>
> We know that both are set to install grub on MBR, so the
> latest install/update overwrites the first.
in fact it shows themes from MX
>
>> I see each distro has one /boot/grub  folder, with
>> subfolders like (locale, i386-pc, fonts) which is located
>> onto the same "self" partition (the same of /bin /usr and
>> so).
>>
>> where else should be located ? Is this what you call grub
>> install or else ?
>
> I told you already.
>
> There is a tiny code installed in the MBR, which is LBA
> zero. There is a relatively bigger code that starts at LBA
> one, and spans several sectors before the first partition
> starts. Notice: this code is outside any partition. This
> piece of code finally reads and loads parts from /boot/grub.
>
> In grub parlance, these are stage 1, 1.5, and stage 2. As I
> am not sure of the nomenclature, I avoided it.
>
>
> Look at <https://en.wikipedia.org/wiki/GNU_GRUB>
>
> Look at the graphic:
>
> <https://en.wikipedia.org/wiki/GNU_GRUB#/media/File:GNU_GRUB_on_MBR_partitioned_hard_disk_drives.svg>
I'll go, tnx
>
>
> Do yo notice sector #0 and sectors 1..62? They are
> physically unmovable and single.
>
> Stage 2 can be on any partition, in /boot/grub
>
>>
>> MX23 too has the same structure (on ITS own root, on the
>> other partition), plus one "themes" folder, not present in
>> Debian.
>
> That's stage 2. Stages 1 and 1.5 are unmovable.
>
> Your problem is that every time you update linux_1 or
> linux_2, they overwrite stage 1 and 1.5, rending the other
> linux unbootable by itself.
that's one of the few thing I have understood.
But having enabled the os-prober on both, would this be
enough or no ?
>
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u84f30$jkgo$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2009&group=alt.os.linux#2009

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 21:08:16 +0200
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <u84f30$jkgo$2@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<u8398b$f8jp$1@dont-email.me> <u83sog$hg4e$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 5 Jul 2023 19:08:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d7e94a08421ad57a30c66caba61c3bcb";
logging-data="643608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Fj7n0j7Cs0T5xCBRkOQey"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:vb/A/IrTXXYOB4cqo2TEG0hwjnc=
In-Reply-To: <u83sog$hg4e$1@dont-email.me>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Wed, 5 Jul 2023 19:08 UTC

On 05/07/23 15:55, Bubba the Corn Dog wrote:
> On Wed, 05 Jul 2023 10:22:34 +0200, Fonntuggnio wrote:
>
> <SNIP>
>
>>
>> my BIOSes (at least in legacy mode), I mean all I've had insofar,
>> scanned ALL hardware devices, and if sth bootable is found, add them to
>> the list one can switch. I mean, I have 4 internal physical disks, some
>> MBR, some GPT, and if I installed a lot of OSes on each, the BIOS would
>> enable me to boot from any one of them. But I find it annoying to use
>> this way. Often I don't even remember the key to invoke the feature at
>> the very start of the bios control.
>
> And there it is. This poor soul has created a Frankenlinux of Huge
> proportions. Best advice for this gentleman is to pick ONE linux as your
> main driver, and then use Virtualbox to install and test other distros in
> a few virtual machines.

it would not be useful for the main aim : to have a second
system to do offline backups of the main one.
I used to use Virtual Box, but lately It gave a lot of
problems, refusing to load saved images (getting stuck at 20
% forever, while beforehands it had been fast). Moreover a
virtual guest cannot do a backup of its host.

In the end I dropped Vbox usage

>
>
> <SNIP>

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<oc5hnjx5ug.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2010&group=alt.os.linux#2010

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 23:54:00 +0200
Lines: 38
Message-ID: <oc5hnjx5ug.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <u7pcaa$2up5n$1@dont-email.me>
<kgbitmFf9qqU1@mid.individual.net> <slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net HRrIwYOLcD79iFrzIi63yAV4vrsytRk70Sw/uJzGFVdt3z1+LH
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:QjgkT37b/9P9TyG5OKD9+SmwKLU= sha256:ylvqx6InRekAjLuz1pWaojHRlbi8tyUsNymrr1/9fyA=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
 by: Carlos E.R. - Wed, 5 Jul 2023 21:54 UTC

On 2023-07-05 17:17, David W. Hodgins wrote:
> On Wed, 05 Jul 2023 09:10:49 -0400, Carlos E.R.
> <robin_listas@es.invalid> wrote:
>
>> On 2023-07-05 00:13, David W. Hodgins wrote:
>>> On Tue, 04 Jul 2023 17:09:32 -0400, Carlos E. R.
>>> <robin_listas@es.invalid> wrote:
>>>> On 2023-07-04 22:57, J.O. Aho wrote:
>>>>> Oh, but yes it will have issues, Grub do make changes in the stage
>>>>> files
>>>>> which can make them incompatible with the grub loader stage
>>>>> installed by
>>>>> earlier versions, then you will not be able to load even the grub
>>>>> rescue
>>>>> prompt. I can see times when the distros won't be insync with the
>>>>> version of Grub or that they not been updated by the end user at the
>>>>> same frequency.
>>>>
>>>> Yes. IMHO the status quo can be, rather will be, a source of problems
>>>> for the foreseeable future.
>>>
>>> Since the stage 1 part of the boot loader from the mbr will be using the
>>> grub.cfg and stage2 from the same install, how can what's in the other
>>> install impact it?
>>
>> Because Linux_2 is still capable of writing again in the MBR.
>
> So what? It will be putting code in the mbr that points to it's stage 2
> in /boot,
> and uses it's grub.cfg file. This is not chain loading. Only one version
> of grub
> is in use, and it can boot either install.

So what? It destroys stage 1 and 1.5 of linux_1, and boots instead linux_2.

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u84qfr$ktj0$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2011&group=alt.os.linux#2011

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bubbadog@mouse-potato.com (Bubba the Corn Dog)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 22:22:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <u84qfr$ktj0$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <u8398b$f8jp$1@dont-email.me>
<u83sog$hg4e$1@dont-email.me> <u84f30$jkgo$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 5 Jul 2023 22:22:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6b85f42d589517f9268574b7b68027fa";
logging-data="685664"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9G8eGjGo6GsGo99R9sBDDWYY4zg1a7V8="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:dv2H8rOCO0/I3GFM3PyRqqiuop0=
 by: Bubba the Corn Dog - Wed, 5 Jul 2023 22:22 UTC

On Wed, 05 Jul 2023 21:08:16 +0200, MarioCPPP wrote:

> On 05/07/23 15:55, Bubba the Corn Dog wrote:
>> On Wed, 05 Jul 2023 10:22:34 +0200, Fonntuggnio wrote:
>>
>> <SNIP>
>>
>>
>>> my BIOSes (at least in legacy mode), I mean all I've had insofar,
>>> scanned ALL hardware devices, and if sth bootable is found, add them
>>> to the list one can switch. I mean, I have 4 internal physical disks,
>>> some MBR, some GPT, and if I installed a lot of OSes on each, the BIOS
>>> would enable me to boot from any one of them. But I find it annoying
>>> to use this way. Often I don't even remember the key to invoke the
>>> feature at the very start of the bios control.
>>
>> And there it is. This poor soul has created a Frankenlinux of Huge
>> proportions. Best advice for this gentleman is to pick ONE linux as
>> your main driver, and then use Virtualbox to install and test other
>> distros in a few virtual machines.
>
> it would not be useful for the main aim : to have a second system to do
> offline backups of the main one.
> I used to use Virtual Box, but lately It gave a lot of problems,
> refusing to load saved images (getting stuck at 20 % forever, while
> beforehands it had been fast). Moreover a virtual guest cannot do a
> backup of its host.
>
> In the end I dropped Vbox usage

I use VirtualBox to run/test six seperate Linux Distros and 1 Win10 vm. I
have never had Virtualbox stall loading a vdi file. Sounds to me like
you have some serious issues with you linux install. Like I suggested
earlier, pick ONE Linux distro as your main driver, do a clean install,
(I use LMDE5 which is based on Debian Bullseye), install Virtualbox,
create your vms are different HD's if you so desire.

If you want to do offline backups download clonezilla, install it on a
flash drive and let it do a complte image of you HD/SSD. Been using
clonezilla for 8 years, I use it now to backup my 1 TB Samsung Evo Plus
SSD. I store the images on my old 500 GB Samsung EVO 850 house ina
external usb enclosure. I use option #4 Partclone using DD and I have had
a failed backup in those 8 years.

I will stand by what I stated earlier, you have created as Massive
Frankenlinux of which there probably is no undoing the carnage. However
it is your freedom to continue torturing yourself if you so desire.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<slrnuabv3t.129k2.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2012&group=alt.os.linux#2012

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 18:27:57 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <slrnuabv3t.129k2.BitTwister@wb.home.arpa>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <u8398b$f8jp$1@dont-email.me>
<ul7gnjx5nn.ln2@Telcontar.valinor> <u84etf$jkgo$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="bbceb96286dcb5c59e8d6c474efca8b9";
logging-data="698792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v5PjVuN8Bn3oF4eipQ4tcBUWGRR+xCLw="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:BbrAmBOQytNTjg7/swF/GjQmMtQ=
 by: Bit Twister - Wed, 5 Jul 2023 23:27 UTC

On Wed, 5 Jul 2023 21:05:19 +0200, MarioCPPP wrote:
> On 05/07/23 15:26, Carlos E.R. wrote:

>> Your problem is that every time you update linux_1 or
>> linux_2, they overwrite stage 1 and 1.5, rending the other
>> linux unbootable by itself.
>
> that's one of the few thing I have understood.
> But having enabled the os-prober on both, would this be
> enough or no ?

os-prober runs when grub-update is executed and only re-creates grub.cfg
for that install.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<slrnuabvel.129k2.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2013&group=alt.os.linux#2013

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 5 Jul 2023 18:33:41 -0500
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <slrnuabvel.129k2.BitTwister@wb.home.arpa>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <u8398b$f8jp$1@dont-email.me>
<u83sog$hg4e$1@dont-email.me> <u84f30$jkgo$2@dont-email.me>
Injection-Info: dont-email.me; posting-host="bbceb96286dcb5c59e8d6c474efca8b9";
logging-data="698792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BARnYu5/stq+jaQ6s9cYB9eJqWhenGaw="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:a7B3U3TYwXDVw8I3c7HgVLmm8yQ=
 by: Bit Twister - Wed, 5 Jul 2023 23:33 UTC

On Wed, 5 Jul 2023 21:08:16 +0200, MarioCPPP wrote:
> On 05/07/23 15:55, Bubba the Corn Dog wrote:
>> On Wed, 05 Jul 2023 10:22:34 +0200, Fonntuggnio wrote:
>>
>> And there it is. This poor soul has created a Frankenlinux of Huge
>> proportions. Best advice for this gentleman is to pick ONE linux as your
>> main driver, and then use Virtualbox to install and test other distros in
>> a few virtual machines.
>
> it would not be useful for the main aim : to have a second
> system to do offline backups of the main one.
> I used to use Virtual Box, but lately It gave a lot of
> problems, refusing to load saved images (getting stuck at 20
> % forever, while beforehands it had been fast). Moreover a
> virtual guest cannot do a backup of its host.

Very true.

> In the end I dropped Vbox usage

How sad, a perfect place to do a dual OS install one one guest
and experiment without screwing up current HOST.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<op.17mud9zua3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2014&group=alt.os.linux#2014

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 05 Jul 2023 19:33:35 -0400
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <op.17mud9zua3w0dxdave@hodgins.homeip.net>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net> <kgjfeeFledsU2@mid.individual.net>
<kgjg4cFkgcgU1@mid.individual.net> <op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor> <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="301b6a0d20f75a08471055496faa582d";
logging-data="700779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wMqP8u76m5u5b4+NJbNDf4LdwVq1mGfc="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:eVF4i2t0pXZ0dy8eOl8xX8jpIMw=
 by: David W. Hodgins - Wed, 5 Jul 2023 23:33 UTC

On Wed, 05 Jul 2023 17:54:00 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:
> So what? It destroys stage 1 and 1.5 of linux_1, and boots instead linux_2.

No it does not, unless /boot is also shared which is not what's being discussed.
It's the mbr and the mbr only that is being overwritten.

Regards, Dave Hodgins

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<kgn34cF93dnU1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2015&group=alt.os.linux#2015

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 6 Jul 2023 07:52:12 +0200
Lines: 32
Message-ID: <kgn34cF93dnU1@mid.individual.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<u8398b$f8jp$1@dont-email.me> <u83sog$hg4e$1@dont-email.me>
<u84f30$jkgo$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ZJ9WGvMqyQZipTghqk69DgNZVuDyOnSbsHMeHFgBAxvzVq5cnz
Cancel-Lock: sha1:IZvTGHNBuJ6lSdNdtra+juT3a9c= sha256:czQVGsvuf94tAOEfa1miKXSdZruV/zO7U9qLNwQWS8U=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Content-Language: en-US-large
In-Reply-To: <u84f30$jkgo$2@dont-email.me>
 by: J.O. Aho - Thu, 6 Jul 2023 05:52 UTC

On 7/5/23 21:08, MarioCPPP wrote:
> On 05/07/23 15:55, Bubba the Corn Dog wrote:
>> On Wed, 05 Jul 2023 10:22:34 +0200, Fonntuggnio wrote:
>>
>> <SNIP>
>>
>>>
>>> my BIOSes (at least in legacy mode), I mean all I've had insofar,
>>> scanned ALL hardware devices, and if sth bootable is found, add them to
>>> the list one can switch. I mean, I have 4 internal physical disks, some
>>> MBR, some GPT, and if I installed a lot of OSes on each, the BIOS would
>>> enable me to boot from any one of them. But I find it annoying to use
>>> this way. Often I don't even remember the key to invoke the feature at
>>> the very start of the bios control.
>>
>> And there it is. This poor soul has created a Frankenlinux of Huge
>> proportions. Best advice for this gentleman  is to pick ONE linux as your
>> main driver, and then use Virtualbox to install and test other distros in
>> a few virtual machines.
>
> it would not be useful for the main aim : to have a second system to do
> offline backups of the main one.

For that you could just have a USB stick with a distro, you just plug it
in when you want to do backups of the system and boot from the USB.

In the BIOS you could set the USB boot have higher priority than the
internal hard-drive.

--
//Aho

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<t6iinjxmod.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2016&group=alt.os.linux#2016

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 6 Jul 2023 12:38:53 +0200
Lines: 19
Message-ID: <t6iinjxmod.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net> <kgjfeeFledsU2@mid.individual.net>
<kgjg4cFkgcgU1@mid.individual.net> <op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor> <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor> <op.17mud9zua3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net n2WIbB9UoadVVcCZXYetjQE1oymKfGwoWsK+sfXHrGJ9SneSU2
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:4vMqcfBiN86eXnXnbl+Wq0lE7/Y= sha256:ahvpuQBuGSm/eIqnbAlF/9rWmhkJtsUn4I8xHq4cGbg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <op.17mud9zua3w0dxdave@hodgins.homeip.net>
 by: Carlos E.R. - Thu, 6 Jul 2023 10:38 UTC

On 2023-07-06 01:33, David W. Hodgins wrote:
> On Wed, 05 Jul 2023 17:54:00 -0400, Carlos E.R.
> <robin_listas@es.invalid> wrote:
>> So what? It destroys stage 1 and 1.5 of linux_1, and boots instead
>> linux_2.
>
> No it does not, unless /boot is also shared which is not what's being
> discussed.
> It's the mbr and the mbr only that is being overwritten.

No, stage 1.5 is also overwritten. It is not inside /boot. It is on LBA
1..63

Overwriting only stage 1 and not 1.5 renders the machine unbootable, or
booting the wrong /boot.

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u86a4a$trng$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2017&group=alt.os.linux#2017

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 6 Jul 2023 13:55:54 +0200
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <u86a4a$trng$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net> <kgjfeeFledsU2@mid.individual.net>
<kgjg4cFkgcgU1@mid.individual.net> <op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor> <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor> <op.17mud9zua3w0dxdave@hodgins.homeip.net>
<t6iinjxmod.ln2@Telcontar.valinor>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 6 Jul 2023 11:55:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bd7d0a380e6c222b444ad610498a9e7b";
logging-data="978672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+m3BPOIO5UvqnZcUbYU09A"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:SEJG/lYSeCgS3EkMQitogRQeabY=
In-Reply-To: <t6iinjxmod.ln2@Telcontar.valinor>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Thu, 6 Jul 2023 11:55 UTC

On 06/07/23 12:38, Carlos E.R. wrote:
> On 2023-07-06 01:33, David W. Hodgins wrote:
>> On Wed, 05 Jul 2023 17:54:00 -0400, Carlos E.R.
>> <robin_listas@es.invalid> wrote:
>>> So what? It destroys stage 1 and 1.5 of linux_1, and
>>> boots instead linux_2.
>>
>> No it does not, unless /boot is also shared which is not
>> what's being discussed.
>> It's the mbr and the mbr only that is being overwritten.
>
> No, stage 1.5 is also overwritten. It is not inside /boot.
> It is on LBA 1..63
>
> Overwriting only stage 1 and not 1.5 renders the machine
> unbootable, or booting the wrong /boot.
>

so how to make sure every time stage 1 is overwritten, then
also stage 1.5 is ?
I mean doing it on purpose, not simply let it done on a new
install (or, MAYBE, not sure of this, on grub-update) ?

One thing also I have not understood.

There is difference from a grub-update caused by a new
version or a manual one ?
In particular, when one attempts the command update-grub but
it answers : the package is just at its latest version ...
this way I presume nothing changes and no overwrite at all
happens. Or not ?

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u86ach$trng$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2018&group=alt.os.linux#2018

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 6 Jul 2023 14:00:17 +0200
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <u86ach$trng$2@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
<u7k9q4$26mhq$1@dont-email.me> <j3n2njx7p6.ln2@Telcontar.valinor>
<u7pcaa$2up5n$1@dont-email.me> <kgbitmFf9qqU1@mid.individual.net>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<u8398b$f8jp$1@dont-email.me> <u83sog$hg4e$1@dont-email.me>
<u84f30$jkgo$2@dont-email.me> <kgn34cF93dnU1@mid.individual.net>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Thu, 6 Jul 2023 12:00:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="bd7d0a380e6c222b444ad610498a9e7b";
logging-data="978672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kxZgvvB/QkXWRiYjMugFK"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:eKqdLwC0kJcIPZz4kd9EYm/3rps=
In-Reply-To: <kgn34cF93dnU1@mid.individual.net>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Thu, 6 Jul 2023 12:00 UTC

On 06/07/23 07:52, J.O. Aho wrote:
> On 7/5/23 21:08, MarioCPPP wrote:
>> On 05/07/23 15:55, Bubba the Corn Dog wrote:
>>> On Wed, 05 Jul 2023 10:22:34 +0200, Fonntuggnio wrote:
>>>
>>> <SNIP>
>>>
>>>>
>>>> my BIOSes (at least in legacy mode), I mean all I've had
>>>> insofar,
>>>> scanned ALL hardware devices, and if sth bootable is
>>>> found, add them to
>>>> the list one can switch. I mean, I have 4 internal
>>>> physical disks, some
>>>> MBR, some GPT, and if I installed a lot of OSes on each,
>>>> the BIOS would
>>>> enable me to boot from any one of them. But I find it
>>>> annoying to use
>>>> this way. Often I don't even remember the key to invoke
>>>> the feature at
>>>> the very start of the bios control.
>>>
>>> And there it is. This poor soul has created a
>>> Frankenlinux of Huge
>>> proportions. Best advice for this gentleman  is to pick
>>> ONE linux as your
>>> main driver, and then use Virtualbox to install and test
>>> other distros in
>>> a few virtual machines.
>>
>> it would not be useful for the main aim : to have a second
>> system to do offline backups of the main one.
>
> For that you could just have a USB stick with a distro, you
> just plug it in when you want to do backups of the system
> and boot from the USB.
well, I do have, but it is slow to load. Also that was the
main goal, but not the only one.
I also would prefer to have a second spare FULL system for
emergencies, particularly when i.g. the main one need some
deep mainteinance while at the same time beeing still able
to do some work (they share the data disk, so I can keep on
working on documents and data also from MX, at need).
I mean, you are not using continually a safety boat, but
it's useful that it is there

>
> In the BIOS you could set the USB boot have higher priority
> than the internal hard-drive.
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<slrnuadmam.1539f.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2019&group=alt.os.linux#2019

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 6 Jul 2023 10:10:12 -0500
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <slrnuadmam.1539f.BitTwister@wb.home.arpa>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa>
<19v7njxham.ln2@Telcontar.valinor> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net>
<t6iinjxmod.ln2@Telcontar.valinor> <u86a4a$trng$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="bbceb96286dcb5c59e8d6c474efca8b9";
logging-data="1033293"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++fKsRTeHFQ6eO7Leddjgt5HoJiley5fU="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:TxtCHcnDYUuNQwk//eY0LPJOV38=
 by: Bit Twister - Thu, 6 Jul 2023 15:10 UTC

On Thu, 6 Jul 2023 13:55:54 +0200, MarioCPPP wrote:
> On 06/07/23 12:38, Carlos E.R. wrote:

>>
>> Overwriting only stage 1 and not 1.5 renders the machine
>> unbootable, or booting the wrong /boot.
>>
>
> so how to make sure every time stage 1 is overwritten, then
> also stage 1.5 is ?

What is your problem here, You can screw up the partition by formatting
it. What does is matter, in either case loss of data will prevent booting.

> I mean doing it on purpose, not simply let it done on a new
> install (or, MAYBE, not sure of this, on grub-update) ?

To my knowledge grub-update does not overwrite stage 1 and 2.
It only renames grub.cfg and creates a new one.

> One thing also I have not understood.
>
> There is difference from a grub-update caused by a new
> version or a manual one ?

One more time, trust me, grub-update will scan all your partitions
and create an entry for each kernel found in grub.cfg.

Does not matter how often you run it.
grub-update is executed by the kernel install/update package.

> In particular, when one attempts the command update-grub but
> it answers : the package is just at its latest version ...
> this way I presume nothing changes and no overwrite at all
> happens. Or not ?

Why assume. run update-grub and do a
ls -al /boot/
ls -al /boot/grub*

To answer your next post, partitions mounted read/write can be
shared between installs.

You just need to make sure that Uid,Gid and group access are the same for same
users .

to check run
id users_of_interest_here
on each booted install.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<op.17n6qtqba3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2020&group=alt.os.linux#2020

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 06 Jul 2023 12:57:55 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <op.17n6qtqba3w0dxdave@hodgins.homeip.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="301b6a0d20f75a08471055496faa582d";
logging-data="1111482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193vZSJbopYSxO3wIu/kalrUDMg9iWVZKA="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:b0j9LZq9uvkGxpn66U6locbEfGQ=
 by: David W. Hodgins - Thu, 6 Jul 2023 16:57 UTC

On Thu, 06 Jul 2023 06:38:53 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:

> On 2023-07-06 01:33, David W. Hodgins wrote:
>> On Wed, 05 Jul 2023 17:54:00 -0400, Carlos E.R.
>> <robin_listas@es.invalid> wrote:
>>> So what? It destroys stage 1 and 1.5 of linux_1, and boots instead
>>> linux_2.
>>
>> No it does not, unless /boot is also shared which is not what's being
>> discussed.
>> It's the mbr and the mbr only that is being overwritten.
>
> No, stage 1.5 is also overwritten. It is not inside /boot. It is on LBA
> 1..63
>
> Overwriting only stage 1 and not 1.5 renders the machine unbootable, or
> booting the wrong /boot.

Sorry, my mistake. The stage 1 code is in the mbr itself before the primary
partition table, with 1.4 in the rest of the first track.
https://en.wikipedia.org/wiki/GNU_GRUB#Version_2_(GRUB_2)

Never the less, when either linux install adds or removes a kernel, both
stage1 and 1.5 get overwritten with the result that it uses the matching
grub.cfg and stage2 from it's /boot.

Regards, Dave Hodgins

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<426lnjx2ok.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2022&group=alt.os.linux#2022

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Fri, 7 Jul 2023 12:29:56 +0200
Lines: 54
Message-ID: <426lnjx2ok.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <u7rq55$3ag34$1@dont-email.me>
<q588njxr67.ln2@Telcontar.valinor> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
<op.17n6qtqba3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net tQnjwSNpI0TaHbntyUe/Tw6sdQj3n2fpJbOrFl/8Qvrd/tKvt8
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:ABg7BcUg4ujrFLz5I+5ZI0RUUoI= sha256:h27OxmHo/8Z4dAoLZzk4A4Ffdoq7fFdO+50dBbafrrk=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <op.17n6qtqba3w0dxdave@hodgins.homeip.net>
 by: Carlos E.R. - Fri, 7 Jul 2023 10:29 UTC

On 2023-07-06 18:57, David W. Hodgins wrote:
> On Thu, 06 Jul 2023 06:38:53 -0400, Carlos E.R.
> <robin_listas@es.invalid> wrote:
>
>> On 2023-07-06 01:33, David W. Hodgins wrote:
>>> On Wed, 05 Jul 2023 17:54:00 -0400, Carlos E.R.
>>> <robin_listas@es.invalid> wrote:
>>>> So what? It destroys stage 1 and 1.5 of linux_1, and boots instead
>>>> linux_2.
>>>
>>> No it does not, unless /boot is also shared which is not what's being
>>> discussed.
>>> It's the mbr and the mbr only that is being overwritten.
>>
>> No, stage 1.5 is also overwritten. It is not inside /boot. It is on LBA
>> 1..63
>>
>> Overwriting only stage 1 and not 1.5 renders the machine unbootable, or
>> booting the wrong /boot.
>
> Sorry, my mistake. The stage 1 code is in the mbr itself before the primary
> partition table, with 1.4 in the rest of the first track.
> https://en.wikipedia.org/wiki/GNU_GRUB#Version_2_(GRUB_2)

Right.

Nice graphic:

<https://en.wikipedia.org/wiki/GNU_GRUB#/media/File:GNU_GRUB_components.svg>

>
> Never the less, when either linux install adds or removes a kernel, both
> stage1 and 1.5 get overwritten with the result that it uses the matching
> grub.cfg and stage2 from it's /boot.

Just updating the kernel should not touch stages 1 & 1.5; just updating
the menu text file(s) should be enough, because stage 2 is capable of
reading filesystems, and access files like the kernel by its name.

That's the beauty of grub vs lilo.

Stages 1 & 1.5 get written when updating grub itself, and maybe some
other operations.

Of course, some distro might do things differently and actually write
stages 1 & 1.5 when updating the kernel; unneeded but possible.

For instance, the openSUSE tool YaST writes everything when you edit the
timeout value, which is a useful feature to know.

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<op.17p1u2zga3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2030&group=alt.os.linux#2030

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Fri, 07 Jul 2023 13:07:40 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <op.17p1u2zga3w0dxdave@hodgins.homeip.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
<op.17n6qtqba3w0dxdave@hodgins.homeip.net> <426lnjx2ok.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="0bab41bdd991c2ef27de013ad00826dd";
logging-data="1492285"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dk1rBH3zVhCX/tfAf0ddDO0Mz9Sj2/Mw="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:BykgBXzafqJPMxH3Zoaj7Ue8dak=
 by: David W. Hodgins - Fri, 7 Jul 2023 17:07 UTC

On Fri, 07 Jul 2023 06:29:56 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:
> Just updating the kernel should not touch stages 1 & 1.5; just updating
> the menu text file(s) should be enough, because stage 2 is capable of
> reading filesystems, and access files like the kernel by its name.
>
> That's the beauty of grub vs lilo.
>
> Stages 1 & 1.5 get written when updating grub itself, and maybe some
> other operations.
>
> Of course, some distro might do things differently and actually write
> stages 1 & 1.5 when updating the kernel; unneeded but possible.
>
>
> For instance, the openSUSE tool YaST writes everything when you edit the
> timeout value, which is a useful feature to know.

If stage 1 and 1.5 don't get overwritten, how does booting end up loading
the new grub.cfg file?

Regards, Dave Hodgins

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<gu6mnjxvtj.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2031&group=alt.os.linux#2031

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Fri, 7 Jul 2023 21:51:12 +0200
Lines: 154
Message-ID: <gu6mnjxvtj.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <u7sv8m$3eff0$1@dont-email.me>
<ae0anjxgao.ln2@Telcontar.valinor> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
<op.17n6qtqba3w0dxdave@hodgins.homeip.net> <426lnjx2ok.ln2@Telcontar.valinor>
<op.17p1u2zga3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Ahqd2eaaY8sYfXVzDqWbAQgEpb597eHkrCatmTldDkcmEhwKI0
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:5T5qsZjaQCBaPz/tr677rbcsGRE= sha256:VgEqOP/xLpakMA8EAaUxxh/pJiX+rnlU46Wji+aBSNo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <op.17p1u2zga3w0dxdave@hodgins.homeip.net>
 by: Carlos E.R. - Fri, 7 Jul 2023 19:51 UTC

On 2023-07-07 19:07, David W. Hodgins wrote:
> On Fri, 07 Jul 2023 06:29:56 -0400, Carlos E.R.
> <robin_listas@es.invalid> wrote:
>> Just updating the kernel should not touch stages 1 & 1.5; just updating
>> the menu text file(s) should be enough, because stage 2 is capable of
>> reading filesystems, and access files like the kernel by its name.
>>
>> That's the beauty of grub vs lilo.
>>
>> Stages 1 & 1.5 get written when updating grub itself, and maybe some
>> other operations.
>>
>> Of course, some distro might do things differently and actually write
>> stages 1 & 1.5 when updating the kernel; unneeded but possible.
>>
>>
>> For instance, the openSUSE tool YaST writes everything when you edit the
>> timeout value, which is a useful feature to know.
>
> If stage 1 and 1.5 don't get overwritten, how does booting end up loading
> the new grub.cfg file?

Stage 1.5 can read the files it needs by name and path.

Do you know the tool "bootinfoscript"?
https://github.com/arvidjaar/bootinfoscript

It is just a script, try it on a computer with MBR,

An example of a multiboot MBR computer - I quote the text to break
Thunderbird from wrapping the lines:

> Boot Info Script 0.76 [13 April 2017]
>
> Last git commit: Also search for grub2 custom.cfg on FAT
> Commit date: 2017-04-23T05:49:05Z
>
>
> ============================= Boot Info Summary: ===============================
>
> => Syslinux ALTMBR (4.06 and higher) with boot partition 0x04 is installed in
> the MBR of /dev/sda.
> => Syslinux GPTMBR (4.04-5.01) is installed in the MBR of /dev/sdb.
>
> sda1: __________________________________________________________________________
>
> File system: ntfs
> Boot sector type: Windows 8/2012: NTFS
> Boot sector info: No errors found in the Boot Parameter Block.
> Operating System:
> Boot files: /bootmgr /Boot/BCD
>
> sda2: __________________________________________________________________________
>
> File system: ntfs
> Boot sector type: Windows 7/2008: NTFS
> Boot sector info: No errors found in the Boot Parameter Block.
> Operating System:
> Boot files: /bootmgr /boot/BCD /Windows/System32/winload.exe
>
> sda3: __________________________________________________________________________
>
> File system: crypto_LUKS
> Boot sector type: Unknown
> Boot sector info:
>
> sda4: __________________________________________________________________________
>
> File system: Extended Partition
> Boot sector type: Grub2 (v1.99-2.00)
> Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda4
> and looks at sector 396060737 of the same hard drive
> for core.img. core.img is at this location and looks
> for (,msdos7)/boot/grub2. It also embeds following
> components:
>
> modules
> -------------------------------------------------------
> fshelp ext2 part_msdos biosdisk
> -------------------------------------------------------
>
> sda5: __________________________________________________________________________
>
> File system: swap
> Boot sector type: -
> Boot sector info:
>
> sda6: __________________________________________________________________________
>
> File system: ext2
> Boot sector type: -
> Boot sector info:
> Operating System:
> Boot files: /grub2/grub.cfg /boot/grub2/grub.cfg /grub2/custom.cfg
> /boot/grub2/custom.cfg /grub2/i386-pc/core.img
> /boot/grub2/i386-pc/core.img
>
> sda7: __________________________________________________________________________
>
> File system: ext4
> Boot sector type: -
> Boot sector info:
> Operating System: openSUSE Leap 15.2
> Boot files: /boot/grub2/grub.cfg /boot/grub2/custom.cfg /etc/fstab
> /boot/grub2/i386-pc/core.img

Summary:

«=> Syslinux ALTMBR (4.06 and higher) with boot partition 0x04 is
installed in the MBR of /dev/sda.»

So, it jumps to partition 4.

What does sda4?

«Grub2 (v2.00) is installed in the boot sector of sda4
and looks at sector 396060737 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub2.»

So, it reads "sector 396060737", that's hardcoded. Where is that sector?
in sda7, if I read it correctly:

fdisk:
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda6 345,863,448 346,265,009 401,562 83 Linux
/dev/sda7 346,265,073 409,175,549 62,910,477 83 Linux

which is an ext4 partition, "/". But then it says:

«core.img is at this location and looks for (,msdos7)/boot/grub2»

ie, the code inside core.img, which was loaded by sector number (it is
outside of the filesystem), reads /boot/grub2 by path name.

Notice that core.img is written outside of the partition filesystem, but
also as a file. The file is copied at grub install time to its hardcoded
location outside.

Seen also in
<https://en.wikipedia.org/wiki/GNU_GRUB#/media/File:GNU_GRUB_components.svg>

It is very instructive analyzing computers with this script.
Unfortunately, it breaks with some SSD disks. Those M.2, I think.

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<op.17qbd6bfa3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2032&group=alt.os.linux#2032

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Fri, 07 Jul 2023 16:33:32 -0400
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <op.17qbd6bfa3w0dxdave@hodgins.homeip.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
<op.17n6qtqba3w0dxdave@hodgins.homeip.net> <426lnjx2ok.ln2@Telcontar.valinor>
<op.17p1u2zga3w0dxdave@hodgins.homeip.net> <gu6mnjxvtj.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="0bab41bdd991c2ef27de013ad00826dd";
logging-data="1519296"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1mMvws+trm59qWsKwRFxvQVe8sz+gKSs="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:Zt88R5SzmjyNJ2PdKLGijIKv3Wc=
 by: David W. Hodgins - Fri, 7 Jul 2023 20:33 UTC

On Fri, 07 Jul 2023 15:51:12 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:

> On 2023-07-07 19:07, David W. Hodgins wrote:
>> On Fri, 07 Jul 2023 06:29:56 -0400, Carlos E.R.
>> <robin_listas@es.invalid> wrote:
>>> Just updating the kernel should not touch stages 1 & 1.5; just updating
>>> the menu text file(s) should be enough, because stage 2 is capable of
>>> reading filesystems, and access files like the kernel by its name.
>>>
>>> That's the beauty of grub vs lilo.
>>>
>>> Stages 1 & 1.5 get written when updating grub itself, and maybe some
>>> other operations.
>>>
>>> Of course, some distro might do things differently and actually write
>>> stages 1 & 1.5 when updating the kernel; unneeded but possible.
>>>
>>>
>>> For instance, the openSUSE tool YaST writes everything when you edit the
>>> timeout value, which is a useful feature to know.
>>
>> If stage 1 and 1.5 don't get overwritten, how does booting end up loading
>> the new grub.cfg file?
>
> Stage 1.5 can read the files it needs by name and path.

You missed the point of my question. You're saying installing a kernel does not
overwrite stage 1.5 on track 0. I'm saying it does.

If it didn't, installing a new kernel in a two linux install where both are
set to use the mbr, would not switch backgrounds, etc. It does in my
experience.

Regards, Dave Hodgins

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<v0bmnjxkft.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2033&group=alt.os.linux#2033

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Fri, 7 Jul 2023 23:00:47 +0200
Lines: 47
Message-ID: <v0bmnjxkft.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <u7v3jb$3os06$1@dont-email.me>
<klqbnjxbla.ln2@Telcontar.valinor> <u80vt1$36j3$3@dont-email.me>
<kgii9aFh53mU1@mid.individual.net> <u81o4k$5sfd$1@dont-email.me>
<kgjci8FkgcfU2@mid.individual.net> <op.17kq9tz7a3w0dxdave@hodgins.homeip.net>
<kgjfeeFledsU2@mid.individual.net> <kgjg4cFkgcgU1@mid.individual.net>
<op.17kvz2s8a3w0dxdave@hodgins.homeip.net> <pn6gnjx84i.ln2@Telcontar.valinor>
<op.17l7e8ina3w0dxdave@hodgins.homeip.net> <oc5hnjx5ug.ln2@Telcontar.valinor>
<op.17mud9zua3w0dxdave@hodgins.homeip.net> <t6iinjxmod.ln2@Telcontar.valinor>
<op.17n6qtqba3w0dxdave@hodgins.homeip.net> <426lnjx2ok.ln2@Telcontar.valinor>
<op.17p1u2zga3w0dxdave@hodgins.homeip.net> <gu6mnjxvtj.ln2@Telcontar.valinor>
<op.17qbd6bfa3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net JLiva+Ow+qkr5x8uC+8jZg2IgxTwuAOQcseSNhYxSP/tatWXhl
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:D3hFSH824MJHg7h+EzQWlZvKbF4= sha256:K66b0j5ZgWP2aS7u4zdyGrNsVX+lWZSPLiAcaBy8R6k=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <op.17qbd6bfa3w0dxdave@hodgins.homeip.net>
 by: Carlos E.R. - Fri, 7 Jul 2023 21:00 UTC

On 2023-07-07 22:33, David W. Hodgins wrote:
> On Fri, 07 Jul 2023 15:51:12 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 2023-07-07 19:07, David W. Hodgins wrote:
>>> On Fri, 07 Jul 2023 06:29:56 -0400, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>> Just updating the kernel should not touch stages 1 & 1.5; just updating
>>>> the menu text file(s) should be enough, because stage 2 is capable of
>>>> reading filesystems, and access files like the kernel by its name.
>>>>
>>>> That's the beauty of grub vs lilo.
>>>>
>>>> Stages 1 & 1.5 get written when updating grub itself, and maybe some
>>>> other operations.
>>>>
>>>> Of course, some distro might do things differently and actually write
>>>> stages 1 & 1.5 when updating the kernel; unneeded but possible.
>>>>
>>>>
>>>> For instance, the openSUSE tool YaST writes everything when you edit
>>>> the
>>>> timeout value, which is a useful feature to know.
>>>
>>> If stage 1 and 1.5 don't get overwritten, how does booting end up
>>> loading
>>> the new grub.cfg file?
>>
>> Stage 1.5 can read the files it needs by name and path.
>
> You missed the point of my question. You're saying installing a kernel
> does not overwrite stage 1.5 on track 0. I'm saying it does.

I'm positive on this.

> If it didn't, installing a new kernel in a two linux install where both are
> set to use the mbr, would not switch backgrounds, etc. It does in my
> experience.

That can happen if your distribution, for some reason, when updating a
kernel includes a call to update grub hardcoded sectors. Mine doesn't.

Do a test. Edit yourself, by hand, the grub menu minimally, just the
name of another boot entry. Then boot to see if the menu change is seen.
Or try in a virtual machine.

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u8ej1n$25jrl$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2042&group=alt.os.linux#2042

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Sun, 9 Jul 2023 17:17:10 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <u8ej1n$25jrl$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net> <kgjfeeFledsU2@mid.individual.net>
<kgjg4cFkgcgU1@mid.individual.net> <op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor> <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor> <op.17mud9zua3w0dxdave@hodgins.homeip.net>
<t6iinjxmod.ln2@Telcontar.valinor> <u86a4a$trng$1@dont-email.me>
<slrnuadmam.1539f.BitTwister@wb.home.arpa>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 9 Jul 2023 15:17:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1f84c76d96c2701d276741f71e76b40b";
logging-data="2281333"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I6VL8He/SOibdo4zvzI20"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:hRy/kaJJpWkNWwvhtkUnuqbqHfc=
Content-Language: en-GB, it-IT
In-Reply-To: <slrnuadmam.1539f.BitTwister@wb.home.arpa>
 by: MarioCPPP - Sun, 9 Jul 2023 15:17 UTC

On 06/07/23 17:10, Bit Twister wrote:
> On Thu, 6 Jul 2023 13:55:54 +0200, MarioCPPP wrote:
>> On 06/07/23 12:38, Carlos E.R. wrote:
>
>>>
SNIP

>
> To answer your next post, partitions mounted read/write can be
> shared between installs.
>
> You just need to make sure that Uid,Gid and group access are the same for same
> users .
>
> to check run
> id users_of_interest_here
> on each booted install.

I am not totally sure, but I think I use Uid / Gid 1000:1000
for both debian and MX ...

or at least I had to do a recursive chown using such, in MX,
and I can access the files in debian too. So it seems that
permissions work,

Before I wondered why numbers and not the login names were
used for permissions. Now I blessed such choice, since the
users in MX and Debian don't have the same name ! But
numbers seems the same and that's enough (apparently :D)

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<e0krnjx33d.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2045&group=alt.os.linux#2045

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Sun, 9 Jul 2023 23:04:46 +0200
Lines: 40
Message-ID: <e0krnjx33d.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me>
<slrnua1ior.2rjlt.BitTwister@wb.home.arpa> <19v7njxham.ln2@Telcontar.valinor>
<u7rq55$3ag34$1@dont-email.me> <q588njxr67.ln2@Telcontar.valinor>
<u7sv8m$3eff0$1@dont-email.me> <ae0anjxgao.ln2@Telcontar.valinor>
<u7v3jb$3os06$1@dont-email.me> <klqbnjxbla.ln2@Telcontar.valinor>
<u80vt1$36j3$3@dont-email.me> <kgii9aFh53mU1@mid.individual.net>
<u81o4k$5sfd$1@dont-email.me> <kgjci8FkgcfU2@mid.individual.net>
<op.17kq9tz7a3w0dxdave@hodgins.homeip.net> <kgjfeeFledsU2@mid.individual.net>
<kgjg4cFkgcgU1@mid.individual.net> <op.17kvz2s8a3w0dxdave@hodgins.homeip.net>
<pn6gnjx84i.ln2@Telcontar.valinor> <op.17l7e8ina3w0dxdave@hodgins.homeip.net>
<oc5hnjx5ug.ln2@Telcontar.valinor> <op.17mud9zua3w0dxdave@hodgins.homeip.net>
<t6iinjxmod.ln2@Telcontar.valinor> <u86a4a$trng$1@dont-email.me>
<slrnuadmam.1539f.BitTwister@wb.home.arpa> <u8ej1n$25jrl$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 7FTxVbPR63U65bZKN5GxiA7HBiQvitENV3r9k3ZrsinwtxLNh7
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:edafhvbyhnMRSCOTJTO7EkqSpic= sha256:qXv0nqpgnTun113oPH5VcqD5S5vvufC3WRQ7OIpoaCs=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u8ej1n$25jrl$1@dont-email.me>
 by: Carlos E.R. - Sun, 9 Jul 2023 21:04 UTC

On 2023-07-09 17:17, MarioCPPP wrote:
> On 06/07/23 17:10, Bit Twister wrote:
>> On Thu, 6 Jul 2023 13:55:54 +0200, MarioCPPP wrote:
>>> On 06/07/23 12:38, Carlos E.R. wrote:
>>
>>>>
> SNIP
>
>>
>> To answer your next post, partitions mounted read/write can be
>> shared between installs.
>>
>> You just need to make sure that Uid,Gid and group access are the same
>> for same
>> users .
>>
>> to check run
>>      id users_of_interest_here
>> on each booted install.
>
> I am not totally sure, but I think I use Uid / Gid 1000:1000 for both
> debian and MX ...
>
> or at least I had to do a recursive chown using such, in MX, and I can
> access the files in debian too. So it seems that permissions work,
>
> Before I wondered why numbers and not the login names were used for
> permissions. Now I blessed such choice, since the users in MX and Debian
> don't have the same name ! But numbers seems the same and that's enough
> (apparently :D)

Sometimes it is an advantage, some times it is not.
It is an ancient design choice.

It is a problem when sharing files across computers that were installed
by different people, either on NFS, or movable disks.

--
Cheers, Carlos.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor