Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2019 14:43:30 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        "freebsd-geom@freebsd.org" <freebsd-geom@freebsd.org>
Subject:   Need help trying to recompile kernel with EBR functionality
Message-ID:  <AM0PR03MB5570B1C3043EEA9B80C59D39F6260@AM0PR03MB5570.eurprd03.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?AM0PR03MB5570B1C3043EEA9B80C59D39F6260>