Linux Scroll

Just another site

Solaris LDom boot failsafe

Howto boot into failsafe mode.

Disable auto-boot:

# ldm set-variable auto-boot?=false ServerName 

Stop server:

# ldm stop-domain -f  ServerName
LDom  stopped

Start server:

# ldm start-domain  ServerName
LDom  started

Check the status:

# ldm list

Login to server:

# telnet localhost 5000
Connected to localhost.
Escape character is '^]'. 
Connecting to console "ServerName" in group "ServerName" ....
Press ~? for control options .. 
{0} ok boot -F failsafe
Boot device: /virtual-devices@100/channel-devices@200/disk@0 File and args: -F failsafe
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
Searching for installed OS instances... 
Solaris 10 10/08 s10s_u6wos_07b SPARC was found on /dev/dsk/c0d0s0.
Do you wish to have it mounted read-write on /a? [y,n,?] yes
mounting /dev/dsk/c0d0s0 on /a 
Starting shell.
# reboot
syncing file systems... done

Enable auto boot:

# ldm set-variable auto-boot?=true ServerName 

Comments are closed.

%d bloggers like this: