Which version and service pack level is that system at?

Mark Post 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Bill Carlson
Sent: Thursday, May 25, 2006 12:40 PM
To: [email protected]
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

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