1. I have built my custom kernel which is running now, but I would like to slim it down some more. I would like to remove the unnecessary disk layout options (I can kldload them if I need to). I have made several tries but the resulting kernel failed to mount root because it could not identify any zfs or gpt partitions ("?" at boot loader listed nothing). My file sys is ZFS on a GPT disk.
2. My current kernel identifies the hdd as ada0 instead of ad4, which must be due to something I took out and I currently have to load ahci from loader.conf. What do I have to add/remove from the kernel config file:
2. My current kernel identifies the hdd as ada0 instead of ad4, which must be due to something I took out and I currently have to load ahci from loader.conf. What do I have to add/remove from the kernel config file:
Code:
device ahc
device ahd
options GEOM_PART_GPT
#options FFS # Berkeley Fast Filesystem
#options SOFTUPDATES # Enable FFS soft updates support
#options UFS_ACL # Support for access control lists
#options UFS_DIRHASH # Improve performance on big directories
#options UFS_GJOURNAL
nooptions GEOM_PART_BSD
nooptions GEOM_PART_EBR
nooptions GEOM_PART_EBR_COMPAT
nooptions GEOM_PART_MBR