0% found this document useful (0 votes)
165 views

How To Boot Solaris Local Zone in Single User Mode

How to Boot Solaris Local Zone in Single User Mode

Uploaded by

Sathish
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views

How To Boot Solaris Local Zone in Single User Mode

How to Boot Solaris Local Zone in Single User Mode

Uploaded by

Sathish
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

9/23/13 UnixArena: how to boot Solaris local zone in single user mode ?

HOME ALL ARTIC LES SOLARIS 11 LINUX VERITAS VMWARE SHELL SC RIPTS ESX ADVERTISE

Advertise Here

LINUX VMWARE ITIL STORAGE BACKUP UNIX-AIX DATA-CENTER DATA-INFRA DESKTOPS

HOME SOLARIS 10 HOW TO BOOT SOLARIS LOCAL ZONE IN SINGLE USER MODE ?

how to boot Solaris local zone in single user mode ?


at 23:45 Lingeswaran R Solaris 10 Zones

Many of us known to boot the Solaris global zone in single user mode.But have you ever tried to boot
Solaris non-global zone in single user mode ?.In SPARC based machines we have an "OK" prompt to boot
the OS in single user mode and using grub menu, we can to boot on X86 machines in single user mode.So
how can we boot these virtual servers in single user mode ? how to see the booting messages ? Here we
go.

Soalris non-global zones aslo having console like global zone.You can get this by using zlogin -C
zone_name

1 .Use zoneadm list on the global zone server to show status of zones:
On the global zone, use the zoneadm list -vi to show current status of all installed zones.

# /usr/sbin/zoneadm list -vi


ID NAME STATUS PATH BRAND IP
0 global running / native shared
2 utility running /zones/utility native shared
3 rlogic running /zones/rlogic native shared
4 selfzone running /export/home/selfzone native shared
5 myzone running /export/home/myzone native shared

2.Halting the zone:

global# zoneadm -z myzone halt


# /usr/sbin/zoneadm list -vi
ID NAME STATUS PATH BRAND IP
0 global running / native shared
2 utility running /zones/utility native shared
3 rlogic running /zones/rlogic native shared
4 selfzone running /export/home/selfzone native shared
5 myzone installed /export/home/myzone native shared

3.Use zoneadm -z with the boot -s option to start an installed zone.On the global zone, Boot the new
zone by issuing "zoneadm -z boot".

# zoneadm -z myzone boot -s

You can bring down the local zone to single user mode,by just issuing "init 1" command from local zone's
OS console.
4. Use zlogin -C to log into the zone and see that it is indeed in single use mode.
# zlogin -C One a zone is in single user mode, it can only be accessed from its console using the zlogin -c
from the global zone.

global# zlogin -C myzone


[Connected to zone 'myzone' console]
Login incorrect
Root password for system maintenance (control-d to bypass):
Note: In single user mode the system log in through its console using the zlogin
-c command will
have the prompt for the password for system maintenance. Also no use will have ac
cess to the system
through the network (e.g. telent) and all user processes will be stopped.
Note: In single user mode the system log in through its console using the zlogin
-c command will
have the prompt for the password for system maintenance. Also no use will have ac
cess to the system
through the network (e.g. telent) and all user processes will be stopped.

www.unixarena.com/2012/07/how-to-boot-solaris-local-zone-in.html 1/5
9/23/13 UnixArena: how to boot Solaris local zone in single user mode ?

Thank you for reading this article.Please leave a comment if you have any doubt ,i will get back to you as
soon as possible.

You might also like:


Solaris Zone(Containers) - Interview Questions
Solaris 11 - New Features & Capabilities of Zones
Solaris 11 - How to Clone the local zone ?
How to patch the Solaris global zone with vxfs root local zones
LinkWithin

0 comments 0

Leave a message...

Best Community Share

No one has commented yet.

Su b s cri b e d Ad d D i s q u s to yo u r s i te

Newer Post Older Post Home


SEARCH UNIX-ARENA
Loading...

SPONSORS

FOLLOW UNIXARENA ON
FACEBOOK

Advertise Here Get RSS Feed from


FeedBurner

FREE WHITEPAPERS/WEBCASTS

Improving the Candidate Experience


Linux Virtual Memory Manager
Advance Bash-Scripting
Securing & Optimizing Linux-Hacking Solution
Oracle Magazine - How to Articles
MS Excel 2013 Tips & Tricks
MS Outlook 2013 Tips & Tricks
Linux Command Line Cheat Sheet
Linux Patch Management Guide
More Free white Papers......

www.unixarena.com/2012/07/how-to-boot-solaris-local-zone-in.html 2/5
9/23/13 UnixArena: how to boot Solaris local zone in single user mode ?

POPULAR POSTS

How to scan new FC LUNS and SCSI disks in


Linux ?

Solaris 10 Interview questions

How to configure two node VCS cluster on


Solaris using Laptop/Desktop

VMware ESXi 5.1 - Step By Step Installation


Guide

VMware vCenter 5.1 Server Installation Step


by Step Guide

VXVM (Veritas Volume Manager) Training

How to configure IPMP on Solaris 10 ?

How to get SUN server serial number ?

Solaris 10's Resource Management and Shell


Limit(ulimit)

Veritas cluster Agents (VCS agents)

BLOG ARCHIVE

2013 (104)
September (5)
August (13)
July (24)
June (15)
May (26)
April (8)
March (12)
February (1)

2012 (64)
September (2)
August (7)
July (50)
Solaris 10 installation on
vmware workstation
How to change the Solaris host
name on fly
How to share the windows
folders to vmware guest
How to install vmware tools on
Solaris guest OS
How to create sparse root zone
in Solaris
How to create new CPU
resource pool in Solaris
How to configure password less
authentication usin...
How to check currently using
semaphores in Solaris...

www.unixarena.com/2012/07/how-to-boot-solaris-local-zone-in.html 3/5
9/23/13 UnixArena: how to boot Solaris local zone in single user mode ?
How to create Solaris virtual
machine in vmware wo...
Performance issues -Network
Solaris run levels
VI Editor- Command Reference
Live upgrade patch installation
before OS patching...
Unix File's - hard link and soft
link
How to add new filesystem in
VCS cluster ?
Veritas cluster concepts
How to fix the corrupted VXFS
Filesystem with Syma...
How to use the mirror VXVM
volume for backout reas...
cfg2html on Solaris - OS
configuration Backup
Performance issues-Solaris
Part2-CPU
How to concatenate two tar
files in Solaris
IO Bottleneck - Disk
performance issue
How to enable SAR(System
Activity Reporter) in Sol...
veritas cluster-LLT
configuration & Removing LLT
l...
Demonstration ZFS snapshots
on Solaris
How to cleanup veritas volume
manager device tree ...
VXVM Failures
how to configure Sun X86 Blade
ILOM ?
Sun ILOM T5220, T5240,
x4600, X4450 configure
how to boot Solaris local zone
in single user mode...
ZFS quick command reference
with examples
How to add new SWAP in
Solaris 10 on fly
Difference between Crash
dumps and Core dumps - So...
How to take console of SUN
hardware ?
How to recover the OS using
ZFS snapshot
How to recover a destroyed zfs
storage pool
ifconfig:Error:Cannot assign
requested address-sol...
Dtrace-To find high kernal
usage
Solaris OS and veritas patching
procedure with VCS...
RedhatLinux SAN Migration using
LVM
Preventing zone core files on
Global zone -Solaris...
Solaris 10- OS patching using
Live-upgrade
DF command shows incorrect
usage in VXFS
How to plumb new IP in the
zone on fly
UFS to ZFS conversion-Using
Live upgrade
Solaris ZONE + Liveupgrade
compatibility model So...

www.unixarena.com/2012/07/how-to-boot-solaris-local-zone-in.html 4/5
9/23/13 UnixArena: how to boot Solaris local zone in single user mode ?
Oracle server-Virtualization
Technologies
Solaris 10's Resource
Management:Controlling
proce...
Solaris 10's Resource
Management and Shell Limit(u...
lucreate failed due to - Zones
residing on top lev...
June (5)

SOLARIS VMWARE VERITAS LINUX INTERVIEW Q CERTIFICATIONS FREE E-BOOKS


Solaris-10 ESXi-5.1 VXVM-Articles HOW-TO Solaris Oracle-Solaris VMware-ESX
Solaris-11 vCenter-Server-5.1 VXVM-Training LVM-Training VXVM Symantec Linux
Zones VMware-Workstation VCS-Cluster Networking VCS Redhat-Linux Database
ZFS Tools Linux VMware Windows
Performance VMware-ESXi ITIL Backup
Live-Upgrade ITIL
Resource-Management SAN

About UnixArena
UnixArena was built by Lingeswaran R on
June 2012 to help Unix system
administrators by sharing various technical TAGS
articles and tutorials. Get Subscribed to
RSS of UnixArena or Get updates via C ERTIFIC ATIONS ( 3) HOW TO ARTIC LES- LINUX ( 8) INFRA PRODUC TS ( 4)
Email.Free OS related E-Books can be INTERVIEW QUESTIONS ( 10) LIVE UPGRADE ( 6) LVM ( 7) OPENFILER ( 4)
download from Here. Find UnixArena on PERFORMANC E ISSUES ( 6) REDHAT-LINUX ( 17) RESOURC E MANAGEMENT ( 6)
Twitter and Facebook as well.
SOLARIS 10 ( 62) SOLARIS11 ( 13) TRAINING ( 13) TUTORIALS ( 2) VC S ( 14)
Know More>>>
VMWARE ESXI 5 ( 7) VXVM ( 26) ZFS ( 16) ZONES ( 20)
SHARETHIS

Copyright 2012-2013 UnixArena | Privacy Policy | Contact US Theme Designed by designhuntr.Powered by Blogger

www.unixarena.com/2012/07/how-to-boot-solaris-local-zone-in.html 5/5

You might also like