src - FreeBSD source tree

And oh boy all terms seem so foreign to me as a long time #Linux user. The same disk is called ada0 with a partition like ada0p2 in #FreeBSD, will be called something like sd0 with sd0h in #OpenBSD, ld0 and dk2 in #NetBSD . Then to experiment, all the #dkctl, #disklabel and #fdisk commands are like blue and red wires on a dynamite you have to get rid of ๐Ÿ˜ฑ. Linux distros nowadays seem to be going to the #gdisk way which feels very much like #gpart in FreeBSD.
#UseBSD #RUNBSD #BSD #FOSS #UNIX #Linux
Having toyed around for a while in #QEMU #VM boxes with #FreeBSD, #OpenBSD and #NetBSD as well. I found that #gpart in FreeBSD is intuitive and easy to use for disk partition manipulation, followed by gpt in NetBSD. For me, powerful and flexible as fdisk is, it has always been mysteriously difficult and fighting.
#UseBSD #RUNBSD #BSD #FOSS #UNIX

#netbsd does't have man page for #gpart

T.T

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.

#UEFI #PartitionTables #pax

#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

#free #opensource #foss #fossmendations #techsupport #IT

baruch/gpart

Collating patches for gpart from all distributions - baruch/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

FreeBSD Desktop – Part 2 – Install

This is the second post in the FreeBSD Desktop series. How about actually installing FreeBSD? On a real hardware? You may first want to mess with the FreeBSD installer in a virtualized hardware (Bhโ€ฆ

๐šŸ๐šŽ๐š›๐š–๐šŠ๐š๐šŽ๐š—