Cool!  Thank you very much!

tom
- - - - - - - - - - - -
Toto, I have a feeling we're not in the mainframe world any more.
   _/)                  Tom Shilson
~~~~~            Unix Team / IT Server Services
Aloha               Tel:  651-733-7591       tshilson at mmm dot com
                           Fax:  651-736-7689



Bill Carlson <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port <[email protected]>
05/25/2006 11:40 AM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
Re: Booting into Single User Mode (init 1)






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



----------------------------------------------------------------------
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

Reply via email to