I would like to multi-boot FreeBSD[13.1-RESEASE], OpenBSD[7.1] and Debian[sid] on my SSD.
Before doing it on physical disks, I tried it on VirtualBox on my FreeBSD-13.1-RELEASE.
I installed OpenBSD on ada0p4 with full disk encryption.
To do/practice it twice, I booted into FreeBSD, delete and re-create ada0p4 for another installation.
Despite error messages,
I can re-install OpenBSD on ada0p4 too.
But, I would like to know what are those "GEOM: invalid disklabel" errors and how to fix them?
I still don't see any ill effect though.
Thanks in advance.
Before doing it on physical disks, I tried it on VirtualBox on my FreeBSD-13.1-RELEASE.
I installed OpenBSD on ada0p4 with full disk encryption.
To do/practice it twice, I booted into FreeBSD, delete and re-create ada0p4 for another installation.
Despite error messages,
ada0p4 deleted
and ada0p4 added
successfully.I can re-install OpenBSD on ada0p4 too.
But, I would like to know what are those "GEOM: invalid disklabel" errors and how to fix them?
I still don't see any ill effect though.
Thanks in advance.
Code:
# gpart show -p
=> 40 188743600 ada0 GPT (90G)
40 1048576 ada0p1 efi (512M)
1048616 56623104 ada0p2 freebsd-zfs (27G)
57671720 5242880 ada0p3 freebsd-swap (2.5G)
62914600 62914560 ada0p4 openbsd-data (30G)
125829160 56623104 ada0p5 linux-data (27G)
182452264 4194304 ada0p6 linux-swap (2.0G)
186646568 2097072 ada0p7 ms-basic-data (1.0G)
# gpart delete -i 4 ada0
ada0p4 deleted
# gpart add -t linux-data ada0
GEOM: ada0p4: invalid disklabel.
GEOM: gptid/f1fb5cad-db84-11ec-8959-080027b3481a: invalid disklabel.
ada0p4 added
# dmesg | grep GEOM
GEOM: ada0p4: invalid disklabel.
GEOM: gptid/1882d6c5-db86-11ec-8959-080027b3481a: invalid disklabel.
GEOM: diskid/DISK-VB9d83c0cb-145f75f5p4: invalid disklabel.