HomeSolarisSolaris system administrationBoot Solaris from CD-ROM to Solve Problems

Boot Solaris from CD-ROM to Solve Problems

Some problems cannot be fixed through the operating system, for example, not remembering the root password or changes to configuration files that prevent the system from booting. Solaris allows booting from the CD-ROM into single user mode, which will allow you to mount your filesystems and repair the problem.


To boot into single user mode from CD-ROM, from the ok (bootprom) prompt, use the following:

boot cdrom -s

This will give you a root prompt (#) with a functional but limited Solaris filesystem from the CD-ROM. To access your filesystems, you need to mount them. For example, if your root filesystem is c0t0d0s0, use as follows:

mount /dev/dsk/c0t0d0s0 /mnt

Then you can work in the /mnt filesystem and make changes to your real root filesystem. You can mount other filesystems on their usual mount points within the root (/mnt) filesystem. Once you have fixed whatever you need, just reboot.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!