Skip to main content

Posts

Showing posts with the label Sun solaris help

Restoring Solaris steps using boot prompt commands

From the boot prompt (the 'OK' prompt) type: OK boot cdrom -s When the system has booted up, you should be at a shell prompt. You'll need to partition the disk using format. # format c0t0d0 You will see the format menu. It is usually not necessary to actually format the disk, since almost all SCSI disks are preformatted at the factory. We simply need to repartition the disk. Select the partition option: format> partition You will see the partitioning menu. Enter the following commands, using the printout of your previous partition layout in that machine's logbook as a guide. (See comments about partition sizes later in this article if you don't have such a record.) partition> 0 Enter partition id tag[root]: Enter partition permission flags[wm]: Enter new starting cyl[0]: Enter partition size[??b, ??c, ??mb, ??gb]: Repeat this process for all the other slices on the disk. Be sure to zero out any unused slices on the disk to avoid problems later.