On Aug 7, 2021, at 4:12 PM, Hideki Yamane <henrich@iijmio-mail.jp> wrote:
I've found that d-i creates /boot as ext2 for guided partioning
with LVM. I think ext4 is better but is there any reason to do so?
(e.g. some architecture or bootloader cannot recognize ext4 for it)
Hi Hideki![...]
On Aug 7, 2021, at 4:12 PM, Hideki Yamane <henrich@iijmio-mail.jp>wrote:
I've found that d-i creates /boot as ext2 for guided partioning
with LVM. I think ext4 is better but is there any reason to do so?
(e.g. some architecture or bootloader cannot recognize ext4 for it)
It’s normally a bootloader compatibility issue but since we switched
many architectures over to GRUB where possible, it might no longer be necessary to use ext2 for /boot.
I will have to go through the list of bootloaders currently in use
and I’ll let you know.
On Tue, 10 Aug 2021 19:33:37 +0200
Ben Hutchings <ben@decadent.org.uk> wrote:
This is bug #985463.
If we can confirm no architecture has a limit to use ext2 now,
then we can change it to ext4, right?
This is bug #985463.
On Tue, 10 Aug 2021 19:33:37 +0200
Ben Hutchings <ben@decadent.org.uk> wrote:
This is bug #985463.
If we can confirm no architecture has a limit to use ext2 now,
then we can change it to ext4, right?
On 9/4/21 22:32, Hideki Yamane wrote:
On Tue, 10 Aug 2021 19:33:37 +0200
Ben Hutchings <ben@decadent.org.uk> wrote:
This is bug #985463.If we can confirm no architecture has a limit to use ext2 now,
then we can change it to ext4, right?
We should make a list with the bootloaders in use. Many architectures use GRUB but some architectures use boot loaders that use blocklists so they still may work with ext4.
Architectures that use GRUB are:
- amd64
- arm64
- i386
- ia64
- powerpc
- ppc64
- ppc64el
- riscv64 (not sure if supported on all boards)
- sparc64
- s390x (loaded from zIPL)
- x32
Other bootloaders are:
- armel - u-boot
- armhf - u-boot
- alpha - aboot
- hppa - palo
- m68k - amiboot, atariboot, emile
- mipsel - u-boot
- mips64el - u-boot
- riscv64 - u-boot
- sh4 - u-boot
Adrian
but if we are talking about a
/boot partition, there is no good reason to change it to ext4.
Ummm. In my experience quite a number of older armel/armhf devices
booting using U-Boot may *not* be able to boot using ext4.
On Sat, 4 Sep 2021 14:00:06 -0700
"J. William Campbell" <jwilliamcampbell@comcast.net> wrote:
but if we are talking about aExt4 is reliable than ext2, I guess. And, /boot needs it.
/boot partition, there is no good reason to change it to ext4.
On Aug 7, 2021, at 4:12 PM, Hideki Yamane <henrich@iijmio-mail.jp> wrote:
I've found that d-i creates /boot as ext2 for guided partioning
with LVM. I think ext4 is better but is there any reason to do so?
(e.g. some architecture or bootloader cannot recognize ext4 for it)
It’s normally a bootloader compatibility issue
On Sat, 4 Sep 2021 21:43:50 +0100
Steve McIntyre <steve@einval.com> wrote:
Ummm. In my experience quite a number of older armel/armhf devices
booting using U-Boot may *not* be able to boot using ext4.
I don't have any knowledge about U-Boot and arm devices, so here's
a question. Is U-Boot different on each devices? It means, U-Boot
on device A can read ext4 but on device B cannot.
On Sun, Sep 05, 2021 at 09:00:52AM +0900, Hideki Yamane wrote:Actually, I doubt that is literally true, although there is a big
On Sat, 4 Sep 2021 21:43:50 +0100
Steve McIntyre <steve@einval.com> wrote:
Ummm. In my experience quite a number of older armel/armhf devicesI don't have any knowledge about U-Boot and arm devices, so here's
booting using U-Boot may *not* be able to boot using ext4.
a question. Is U-Boot different on each devices? It means, U-Boot
on device A can read ext4 but on device B cannot.
That's correct. U-Boot is often forked by vendors, then built with
their own special config. Depending on the age of the board (and the
fork!), I've seen lots of different issues here. :-(
AFAIK, the on disk format for ext4 is the same as
ext2. If the code can read an ext2 filesystem, it can read an ext4 filesystem.
older u-boots didn't know about ext4,
so when they check the version of the filesystem they see a number that
they don't understand and give up.
Hello,Actually, there is a 32 bit rev level defined in the superblock.
Le 05/09/2021 à 18:47, J. William Campbell a écrit :
AFAIK, the on disk format for ext4 is the same as ext2. If the code
can read an ext2 filesystem, it can read an ext4 filesystem.
I am not sure about that. AFAIK, some ext4 features such as extents
create a different on-disk format than ext2 or ext3. The ext2, ext3
and ext4 Linux drivers refuse to mount an ext4 filesystem as ext2
because of unsupported features.
Good question. I think it should be. Making the boot partition as simpleolder u-boots didn't know about ext4, so when they check the version
of the filesystem they see a number that they don't understand and
give up.
IIUC, an ext* filesystem does not have a version number. Instead it
has a collection of "features", some of which are supported only by ext4.
But IMO the real point is : if ext2 is mandatory for /boot when
installing with LVM, why then is it not mandatory when installing
without LVM ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 235:20:37 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,767 |