New install on partition just used

Hi all this is my situation:
Code:
❄  marco  ~   16:16 
 zpool list -v
NAME                                               SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
ipool                                              928G   283G   645G        -         -     0%    30%  1.00x    ONLINE  -
  mirror-0                                         928G   283G   645G        -         -     0%  30.5%      -    ONLINE
    nvme-Sabrent_0385079B115D00656692_1-part2      953G      -      -        -         -      -      -      -    ONLINE
    nvme-WDS100T1X0E-00AFY0_2140JY447104_1-part1   930G      -      -        -         -      -      -      -    ONLINE

Code:
❄  marco  ~   16:16 
 zfs list -t filesystem
NAME                USED  AVAIL  REFER  MOUNTPOINT
ipool               283G   616G    96K  none
ipool/arch         38.9G   616G    96K  none
ipool/arch/home    17.5G   616G  17.1G  legacy
ipool/arch/root    21.4G   616G  19.2G  /
ipool/condivise     124G   616G   124G  legacy
ipool/gentoo       83.4G   616G    96K  none
ipool/gentoo/home  59.7G   616G  57.5G  legacy
ipool/gentoo/root  23.7G   616G  23.1G  /
ipool/nixos        11.3G   616G    96K  none
ipool/nixos/home   2.10G   616G  1.83G  legacy
ipool/nixos/root   9.19G   616G  9.14G  /
ipool/void         25.0G   616G    96K  none
ipool/void/home    8.60G   616G  8.56G  legacy
ipool/void/root    16.4G   616G  12.1G  /

If i create freebsd datasets, can I install without erase preesistent distro? If yes, How?
 
… can I install without erase preesistent distro?

Yes. Key phrase:

root on ZFS

We're directed (maybe misdirected) to the FreeBSD Handbook, which has no such phrase, so maybe try the second of the pictured wiki pages.
 

Attachments

  • 1715049276662.png
    1715049276662.png
    168.3 KB · Views: 12
Thanks, so if I follow the guide without creating zpool (because I've already zpool) and only create dataset for freebsd into zpool that already contain Linux too, I can't lose data right? Another little question, how EFI partition can I use partition on fat32?
 
Another little question, how EFI partition can I use partition on fat32?
You don't appear to UEFI boot this machine. But if you do, you can use the existing efi partition. Just don't let the installer create it, or else you will end up with two efi partitions.

To use an existing efi partition, all you need to do is copy /boot/loader.efi to EFI/FreeBSD/loader.efi and use efibootmgr(8) to add it to the efivars.
 
Ok, I've installed freebsd on pre-existing pool. So, now I can boot freebsd but Linux distros go on kernel panic because can't found zpool
 
Back
Top