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 04:51:52PM +0100, Patrick Welche wrote:
> On Tue, May 17, 2016 at 09:11:50AM -0500, Jonathan A. Kollasch wrote:
> > >           64    14680192      1  GPT part - NetBSD RAIDFrame component
> 
> > gptmbr.bin is just MBR code.  You also need to put bootxx code in the
> > partition at index 1 with installboot.
> 
> Thanks!
> 
> The partition at index 1 is a RAID 0 made from dk0 and dk7.
> 
> I tried (amd64):
> 
> installboot /dev/rdk0 -t raid /usr/mdec/bootxx_ffsv2
> installboot /dev/rdk7 -t raid /usr/mdec/bootxx_ffsv2
> 
> gptmbr.bin finds those boot blocks, but says it can't find /boot, i.e.,
> first stage bootloader now runs.
> 
> /boot is in the first partition of that raid (/dev/raid7a which is disklabeled)
> # diff -s /usr/mdec/boot /boot
> Files /usr/mdec/boot and /boot are identical
> 
> I subsequently tried
> 
> installboot /dev/rraid7a /usr/mdec/bootxx_ffsv2
> 
> and
> 
> installboot /dev/rdk0 /usr/mdec/bootxx_ffsv2
> installboot /dev/rdk7 /usr/mdec/bootxx_ffsv2
> 
> but still no luck...
> 
> file system: /dev/raid7d
> format  FFSv1
> endian  little-endian
> magic   11954           time    Tue May 17 16:50:59 2016
> superblock location     8192    id      [ 52aa11ca 58762977 ]
> cylgrp  dynamic inodes  4.4BSD  sblock  FFSv2   fslevel 4

Try bootxx_ffsv1.


Home | Main Index | Thread Index | Old Index