Re: how to change boot device in openboot

From: Andrew Tyson (atyson_AT_optushome_DOT_com_DOT_au)
Date: 03/29/04


Date: Mon, 29 Mar 2004 10:12:13 +1000


> got me a sun and i'm a total newbie!!! the machine always wants to boot
from
> "net"...how can i change this to boot from harddisk?

You need to get the machine to the OBP (ok prompt) - if you're running a Sun
keyboard Stop-A will do this
(if you're using a serial terminal you will need to send a break signal).
The default boot device for
Sun machines that perform POST is network, so you should probably try
something like the following;

ok setenv diag-switch? false (disables POST)
ok setenenv boot-device disk (assumes that there is a 'disk' alias )
ok boot (should now boot from the device whose alias is 'disk')

This presupposes that the nvalias 'disk' points to the physical device to
boot the OS from. If this
is not the case you may need to boot from CDROM, and then mount the various
available file-systems
to figure out where the bootable kernel image resides. Conversely you might
just want to do a fresh OS
install by burining Solaris ISO images onto a CDROM and place Solaris Disk 1
of 2 into the CDROM and
from the OBP;

ok boot cdrom

Then just follow the installation guide ....

HTH
AT



Relevant Pages

  • Re: newbie - trying to install solaris 2.6 on sparcstation ipc
    ... I never did a RRD43 on a SPARC, ... the cdrom wasn't connected. ... So, nothing is installed on the disk, or nothing usable at least. ... 'boot ' gives 'does not appear to be executable'. ...
    (comp.sys.sun.admin)
  • Re: Windows Xp crash
    ... Message came up "Disk Boot failure.: ... indicated that all drives had no disk inserted. ... I tried about a week ago to install Windows 7 on the second hard ...
    (microsoft.public.windowsxp.hardware)
  • Re: BSD cd creation problem
    ... > I recently was given 3 Sun Ultra Sparc systems, ... > error, "Can't open boot device". ... I am certain the CDROM ... Installing FreeBSD from CDROM or the Internet ...
    (comp.unix.bsd.freebsd.misc)
  • Re: newbie - trying to install solaris 2.6 on sparcstation ipc
    ... post of any kind i've ever made, i apologize for any of the ... and i've temporarily added a cdrom via the external scsi port. ... boot disk command. ... You can't boot from the disk until you put something ON the disk. ...
    (comp.sys.sun.admin)
  • installing from a harddisk prepared in a functional system
    ... How does one make a 'boot' disk - be it cdrom, ... the install cdrom's do. ...
    (freebsd-questions)