bea...@sdf.org (beaker) writes: >mlel...@serpens.de (Michael van Elst) wrote: >> In your case however, you provide your own MBR (with grub) >> and 'gpt biosboot' would just overwrite grub with our boot >> program.
>Thanks for that explaination. It does seem like I could do >a targeted storage with > # gpt biosboot -A -i 3 # gpt3 == FFS netbsd partition This will overwrite grub and store our special GPT bootloader for BIOS on disk block 0. It will also mark GPT partition 3 as 'active'. >which is how I managed to wipe out GRUB the first time. Also >is the default bootcode (XXX) correct or should another boot >code be used via '-c' for this non-UEFI + gpt scheme? The default bootcode for this is gptmbr.bin and we don't provide an alternative that you could select. In any case, you still need to install a PBR (like bootxx_ffsv2) to partition 3.