Sunday, April 29, 2018

Re: Installboot uses wrong device for secondary boot loader

I'm following the documentation in OpenBSD FAQ: disk setup.

I'm inclined to think there is a code issue since I specified device sd4 and installboot used that device for the first stage and then seems to have defaulted to sd0 for the second stage bootloader.

EZ


Sent from my iPhone

> On Apr 29, 2018, at 4:01 AM, Stuart Henderson <stu@spacehopper.org> wrote:
>
>> On 2018-04-29, Eric Zylstra <ezylstra@mac.com> wrote:
>> I'm installing 6.3 on a RAID1. Install was fine until ending with an error message, "invalid boot record signature…".
>>
>> I manually ran installboot:
>>> . installboot -v -r /mnt sd4
>>
>> Hand transcription:
>>
>> Using /mnt as root
>> Installing bootstrap on /dev/rsd4c
>> Using first-stage /mnt/usr/mdec/biosboot, second-stage /mnt/usr/mdec/boot
>> sd4: softraid volume with 2 disk(s)
>> sd4: installing boot loader on softraid volume
>> /mnt/usr/mdec/boot is 6 blocks x 16384 bytes
>> sd0a: installing boot blocks on /dev/rsd0c, part offset 144
>> Master boot record (MBR) at sector 0
>> Install boot: invalid boot record signature (0x0000) @ sector 0
>>
>> I did not typo the secondary boot block install. It attempts to install on sd0 instead of sd4 as specified in my command.
>
> With softraid the bootblock is installed on all component disks of a raid1.
>
> Since the installer doesn't directly support softraid...what did you type
> earlier to prepare this?
>

No comments:

Post a Comment