With a SLES guest under zVM, we have a menu item setup for single user
boot through zipl:
Example zipl.conf:
-----
[defaultboot]
defaultmenu = menu1
[ipl]
target = /boot/zipl
image = /boot/image
ramdisk = /boot/initrd
parameters = "root=/dev/dasdb1 selinux=0 TERM=dumb elevator=cfq"
[singleuser]
target = /boot/zipl
image = /boot/image
ramdisk = /boot/initrd
parameters = "root=/dev/dasdb1 single selinux=0 TERM=dumb elevator=cfq"
-----
To get the menu at ipl time, do the ipl as follows:
ipl xxx loadparm prompt
The key is to pass the linux kernel the "single" parameter. SLES and
Redhat use this parameter to trigger single user mode, other distros may
or may not support this.
Bill Carlson
--
Systems Administrator [EMAIL PROTECTED] | Anything is possible,
HCIS | given time and money.
University of Iowa Hospitals and Clinics |
Opinions are mine, not my employer's. |
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390