Booting from alternate disk in sparc64

Garance A Drosihn drosih at
Tue Dec 2 15:17:16 PST 2003

Well, I started to write up one observation, and in the process
found out that the situation was a bit different than what I

I now have two drives in my Ultra-10, and wanted to boot off
the second drive.  I got to the open-firmware prompt.  Typing
"boot disk0" boots up off the first disk, with the messages:

  - - - - [start]
Rebooting with command: boot disk0
Boot device: /pci at 1f,0/pci at 1,1/ide at 3/disk at 0,0  File and args:

>>  FreeBSD/sparc64 boot block
    Boot path:   /pci at 1f,0/pci at 1,1/ide at 3/disk at 0,0:a
    Boot loader: /boot/loader
Console: OpenFirmware console

FreeBSD/sparc64 bootstrap loader, Revision 1.0
  - - - - [end]

So I tried typing 'boot disk1' at the open-firmware prompt.  It
starts up about the same, except that it has 'disk at 1,0' where
the above has 'disk at 0,0', and then it hangs before printing out
the message 'Console: OpenFirmware console'.

Well, I always thought it was completely dead there, and I would
drop back to the openfirmware prompt and try again.  But while it
does stop there for a minute and 15 seconds, apparently it will
continue on and boot OK if I'm just patient enough to wait for it.

What I *was* going to say in this message, was that I had an
alternate trick for getting to the second disk.  I'd type
'boot disk0', and then hit the space key to fall into the boot
loader.  I would type "show currdev", and it displayed:
     /pci at 1f,0/pci at 1,1/ide at 3/disk at 0,0:a

so I would type in:
     set currdev=/pci at 1f,0/pci at 1,1/ide at 3/disk at 1,1:a
     load boot/kernel/kernel

(ie, just changing disk at 0,0 to disk at 1,1).  And with that, it
does boot up off the second disk.  Of course, now I imagine
that 'disk at 1,1' isn't all that different than 'disk at 1,0'.

So I don't know why there's such a long pause there when I
try "boot disk1", but it does seem to work...

Do others have multi-boot setups on their sparc64 machines?

Garance Alistair Drosehn            =   gad at
Senior Systems Programmer           or  gad at
Rensselaer Polytechnic Institute    or  drosih at

More information about the freebsd-sparc64 mailing list