NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Boot from raidframe on gpt?



On Mon, Jan 25, 2016 at 06:03:34PM +0000, John Klos wrote:
> I have:
> 
> gpt show wd1
>        start        size  index  contents
>            0           1         PMBR
>            1           1         Pri GPT header
>            2          32         Pri GPT table
>           34         990
>         1024  7746927616      1  GPT part - NetBSD RAIDFrame component
>   7746928640    67107840      2  GPT part - NetBSD swap
>   7814036480         655
>   7814037135          32         Sec GPT table
>   7814037167           1         Sec GPT header
> 
> gpt show raid1
>        start        size  index  contents
>            0           1         PMBR
>            1           1         Pri GPT header
>            2          32         Pri GPT table
>           34  7746927420      1  GPT part - NetBSD FFSv1/FFSv2
>   7746927454           1
>   7746927455          32         Sec GPT table
>   7746927487           1         Sec GPT header
> 
> dkctl wd1 listwedges
> /dev/rwd1d: 2 wedges:
> dk0: mirror0, 7746927616 blocks at 1024, type: raidframe
> dk1: bsdswap, 67107840 blocks at 7746928640, type: swap
> 
> dkctl raid1 listwedges
> /dev/rraid1d: 1 wedge:
> dk2: bsdroot, 7746927420 blocks at 34, type: ffs
> 
> installboot over wd1 screws up the GPT partition, installboot over
> dk0 does nothing, and installboot over raid1 does nothing.
> 
> gpt biosboot -i 1 wd1
> and
> gpt biosboot -i 1 raid1
> 
> gave me a NetBSD boot prompt, but the bootloader couldn't find the
> filesystem for /boot (which is there).
> 
> Is it still not possible to boot from raidframe on GPT?
> 
> https://mail-index.netbsd.org/current-users/2013/09/28/msg023352.html
> 
> Thanks,
> John

Booting from a GPT partition within a RAID within a GPT is not currently
supported.  The best workaround would be to put your root in a
unpartitioned/disklabel-partitioned raid device.

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index