NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: uefi boot?
On Tue, May 17, 2016 at 02:54:59PM +0100, Patrick Welche wrote:
> In the old days, on i386/amd64, one used to run disklabel, installboot
> and fdisk to make a disk bootable. What is the method in post-disklabel
> 3T disk days?
>
> Should
>
> # gpt show wd0
> start size index contents
> 0 1 PMBR
> 1 1 Pri GPT header
> 2 32 Pri GPT table
> 34 30 Unused
> 64 14680192 1 GPT part - NetBSD RAIDFrame component
> 14680256 33554432 2 GPT part - NetBSD swap
> 48234688 262144128 3 GPT part - NetBSD RAIDFrame component
> 310378816 262144128 4 GPT part - NetBSD RAIDFrame component
> 572522944 209715328 5 GPT part - NetBSD RAIDFrame component
> 782238272 2148038863 6 GPT part - NetBSD RAIDFrame component
> 2930277135 49 Unused
> 2930277184 2930255951 7 GPT part - NetBSD FFSv1/FFSv2
> 5860533135 32 Sec GPT table
> 5860533167 1 Sec GPT header
> # gpt biosboot -i 1 wd0
> /dev/rwd0d: Partition 1 marked as bootable
>
> be enough? (with /usr/mdec/boot in /)
>
> I updated the BIOS just in case, and get "Missing OS".
>
> I suppose I'm asking "What does gptmbr.bin do?" (vs bootxx_ffsv2 etc)
gptmbr.bin is just MBR code. You also need to put bootxx code in the
partition at index 1 with installboot.
Jonathan Kollasch
Home |
Main Index |
Thread Index |
Old Index