From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: How to set up drive with many Linux distros?
Date: Sun, 10 Mar 2024 18:35:29 -0000 (UTC) [thread overview]
Message-ID: <uskuhh$gmd$1@ciao.gmane.io> (raw)
In-Reply-To: 1882593.tdWV9SEqCh@rogueboard
On 2024-03-10, Michael <confabulate@kintzios.com> wrote:
> Perhaps I'm picking up on semantics, but shouldn't this sentence:
>
> "... The gap between the DOS disklabel and the first partition"
>
> read:
>
> "The gap between the MBR and the first partition"?
Yes, thanks -- MBR is more accurate, I've changed that sentence.
> Your next paragraph pointed out something which I hadn't considered at any
> length. Namely, the installation of GRUB's boot.img in a MBR or VBR also
> hardcodes in a block list format the location of the first sector where the
> core.img is stored and more importantly, the physical position of this sector
> can be altered both by COW fs (and by the wear levelling firmware of flash
> storage devices).
>
> I had assumed both the COW fs and/or the flash controller will in
> both cases translate any physical data position to the logical layer
> and presented this to inquiring software. Have you actually tried
> using btrfs as a distro's root fs to see if the VBR installed GRUB
> boot.img will ever lose access to the core.img?
No, I haven't. I agree that the flash controller can't change the
logical address of a filesystem data block without the knowledge of the
filesystem, so I don't think controller layer wear-leveling would be
a problem. But, the filesystem layer is allowed to move data blocks
around, so flash-aware filesystems that attempt to do wear-leveling
or defragmentation could move data blocks.
Some of the descriptions I've read of "fancier" filesystem internals
have also implied implied that does happen under certain conditions,
but I may have misunderstood or the descriptions may have been wrong.
My use of these multi-boot installs have no need for anything beyond
exnN, so I've never tried using block lists with anything other than
extN filesystems. Since I am confident extN filesystems won't cause
problems, I've always stuck with that.
--
Grant
prev parent reply other threads:[~2024-03-10 18:35 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 19:17 [gentoo-user] How to set up drive with many Linux distros? Grant Edwards
2024-02-22 21:25 ` Wol
2024-02-22 21:45 ` [gentoo-user] " Grant Edwards
2024-02-22 22:58 ` Wol
2024-02-23 0:28 ` Grant Edwards
2024-02-23 6:16 ` Wojciech Kuzyszyn
2024-02-23 15:49 ` Grant Edwards
2024-02-23 12:06 ` Michael
2024-02-23 16:04 ` Grant Edwards
2024-02-23 17:05 ` Wols Lists
2024-02-23 18:58 ` Grant Edwards
2024-02-23 19:11 ` Mark Knecht
2024-02-23 19:51 ` Grant Edwards
2024-02-23 20:03 ` Mark Knecht
2024-02-23 21:14 ` Grant Edwards
2024-02-26 11:57 ` [gentoo-user] " gentoo-user
2024-02-26 17:10 ` eric
2024-02-26 18:01 ` [gentoo-user] " Grant Edwards
2024-02-26 18:12 ` eric
2024-02-26 20:51 ` Grant Edwards
2024-02-26 21:44 ` Wol
2024-02-26 23:44 ` Grant Edwards
2024-02-27 0:12 ` Mark Knecht
2024-02-27 11:40 ` Peter Humphrey
2024-03-08 23:24 ` Grant Edwards
2024-03-10 12:58 ` Michael
2024-03-10 18:35 ` Grant Edwards [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='uskuhh$gmd$1@ciao.gmane.io' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox