On Fri, 21 Apr 2017, Stefan Sperling wrote:

> On Thu, Apr 20, 2017 at 06:13:47PM -0600, Jeff wrote:
> > Hi,
> >
> > I have a Sunfire V120 (Sparc) with mirrored disks running OpenBSD 6.0.
> > I attempted to update to OpenBSD 6.1 using the files first from:
> >
> > http://mirrors.sonic.net/pub/OpenBSD/6.1/sparc64
> >
> > Then from:
> >
> > https://ftp3.usa.openbsd.org/pub/OpenBSD/6.1/sparc64
> >
> > First I tried to copy bsd.rd to / and boot from it.  When I boot
> > using 6.1 bsd.rd (boot /bsd.rd), the boot messages still show
> > OpenBSD 6.0.
>
> Did you actually type '/boot bsd.rd'?
> When booting from softraid you need to pass the virtual 'sr' drive
> as part of the boot path. Try again with: boot sr0a:/bsd.rd
>
> >From the boot_sparc64(8) man page:
>
>      To boot from a softraid(4) volume by default, boot-device must be set to
>      a disk device hosting a chunk of the softraid volume:
>
>            ok setenv boot-device disk0
>
>      and boot-file must contain the (sr) device name of the softraid volume
>      and optionally a partition letter and/or kernel:
>
>            ok setenv boot-file sr0a:/bsd
>

Hi Stefan,

Thanks!

I must have missed that man page when I originally installed 6.0.
Booting with sr0a:/bsd* did work but it took a much longer time
loading the symbols with both bsd & bsd.rd.  I'll be sure to read
that man page and try again later today after I'm done working (in
case I muck it up again).

Using a non-standard name for the bsd.rd file seems to help clarify
things.

ok printenv boot-device
boot-device =         disk1:a /pci@1f,0/pci@1/scsi@8/disk@1,0:a

ok boot disk1:a /bsd.rd.61
...
Executing last command: boot disk1:a /bsd.rd.61
Boot device: /pci@1f,0/pci@1/scsi@8/disk@1,0:a  File and args:
/bsd.rd.61
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.7
Can't read disk label.
Can't open disk label package
Drive not ready
Can't read disk label.
Can't open disk label package
sr0*
open /pci@1f,0/pci@1/scsi@8/disk@1,0:a/etc/random.seed: No such file or 
directory
open /pci@1f,0/pci@1/scsi@8/disk@1,0:a/bsd.rd.61: No such file or directory

Boot:

lom> reset

ok boot sr0a:/bsd.rd.61
Boot device: /pci@1f,0/pci@1/scsi@8/disk@1,0:a  File and args:
sr0a:/bsd.rd.61
OpenBSD IEEE 1275 Bootblock 1.4
..>> OpenBSD BOOT 1.7
Can't read disk label.
Can't open disk label package
Drive not ready
Can't read disk label.
Can't open disk label package
sr0*
Booting sr0:a/bsd.rd.61
4045496@0x1000000+1352@0x13dbab8+3251904@0x1800000+942400@0x1b19ec0
symbols @ 0xfff42300 120 start=0x1000000
console is /pci@1f,0/pci@1,1/isa@7/serial@0,3f8
Copyright (c) 1982, 1986, 1989, 1991, 1993
   The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org
OpenBSD 6.1 (RAMDISK) #55: Sat Apr  1 17:41:52 MDT 2017
    dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK

Reply via email to