#UseBSD #RUNBSD #BSD #FOSS #UNIX #Linux
@dvl
You are maybe interested in this commit: https://cgit.freebsd.org/src/commit/sys/geom/part/g_part_gpt.c?id=5c9f0f72f47ea5315e5147185e47c2efca2e8c85
@dvl
You are maybe interested in this commit: https://cgit.freebsd.org/src/commit/sys/geom/part/g_part_gpt.c?id=5c9f0f72f47ea5315e5147185e47c2efca2e8c85
The firmware on a #RaspberryPi 4 does not mind if one changes the partition types of the #FreeBSD and #OpenBSD FAT volumes to EFI system, matching #NetBSD in spirit if not in modern partitioning scheme.
OpenBSD again almost fell at the hurdle here. It is extraordinarily sensitive to the status of its UFS1 partition. Touch it, or attempt to use a fresh one made from scratch, and its booloader thinks that it is talking to an esp device instead of to an sd device, and fails. This is a very strange dependency.
NetBSD, in contrast, did not bat an eyelid when I splatted about 5GiB of home directory, dotfiles, and tooling onto its UFS1 volume, using pax on another machine which had the TF card in a card reader.
NetBSD also auto-fixes the backup copy of the EFI partition table after its device re-sizing step. It didn't bat an eyelid, again, when I adjusted the initial card myself ahead of time using FreeBSD's #gpart recover.
#gpart is a filesystem guesser.
gpart scans a block device or disk image block by block to find signatures for filesystems. gpart then weeds out invalid results and returns a list of possible filesystems on the device. gpart can recognize a wide range of filesystems. gpart is useful for reconstructing a disk if the partition table becomes corrupted.
Website ๐๏ธ: https://github.com/baruch/gpart
apt ๐ฆ๏ธ: gpart
Added ๐จ๐ฃ๐๐๐ง๐ ๐ญ - ๐๐ฒ๐ป๐ผ๐๐ผ ๐๐ฃ๐ง ๐๐ถ๐
๐๐ถ๐๐ต ๐ด๐ฝ๐ฎ๐ฟ๐(๐ด) to the ๐๐ฟ๐ฒ๐ฒ๐๐ฆ๐ ๐๐ฒ๐๐ธ๐๐ผ๐ฝ - ๐ฃ๐ฎ๐ฟ๐ ๐ฎ - ๐๐ป๐๐๐ฎ๐น๐น article.
https://vermaden.wordpress.com/2018/04/11/freebsd-desktop-part-2-install/
#verblog #freebsd #desktop #laptop #gpart #fdisk #install #lenovo