Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2020 04:04:20 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Need help trying to recompile kernel with EBR functionality
Message-ID:  <DB8PR06MB6442B425832B28E6E16AC181F6210@DB8PR06MB6442.eurprd06.prod.outlook.com>

next in thread | raw e-mail | index | archive | help

Hi,


I am a long time user of FreeBSD but have never recompiled my kernel.


I am trying to compile a custom 12.1 amd64 kernel with the ability to add/delete EBR partitions, but the online documentation did not help and I ended up losing EBR functionality entirely.


The steps I followed were as under :


1) copied [/usr/src/sys/amd64/conf/]GENERIC as EBRKERNEL

2) commented out GEOM_PART_EBR_COMPAT in [/usr/src/sys/amd64/conf/]DEFAULTS

3) inserted 'options GEOM_PART_EBR' into my kernel configuration file EBRKERNEL

4) cd /usr/src

5) make buildkernel KERNCONF=EBRKERNEL

6) make installkernel KERNCONF=EBRKERNEL


When I shutdown the system and rebooted into the new kernel, the boot process halted complaining that it could find any device /dev/ada0s5 (the EBR partition).


What am I doing wrong ? Any help in getting me a good custom kernel with the ability to add/delete EBR partitions would be greatly appreciated.


--
Thank you & Regards,
Manish Jain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR06MB6442B425832B28E6E16AC181F6210>