Here's what I have in my notes from when we had issues with SP4 vs new disks

Once you get the rescue system loaded, activate the devices
chzdev -e 0101-01ff
vgscan
if you think you might have an LVM problem and it went inactivate, activate VG 
perhaps (vgchange -ay vgname)

If you need to rewrite zipl or grub and need a chroot environment, I did this
mount /dev/dasda1 /mnt
mount -t proc none /mnt/proc
mount --rbind /dev /mnt/dev
mount --rbind /sys /mnt/sys
mount /dev/mapper/system-var /mnt/var
mount /dev/mapper/system-usr /mnt/usr
mount /dev/mapper/system-tmp /mnt/tmp
mount /dev/mapper/system-home /mnt/home
mount /dev/mapper/system-opt /mnt/opt
chroot /mnt /bin/bash
mount -a

Now you can run zipl or grub2install -f  or perhaps passwd change on root 




-----Original Message-----
From: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> On Behalf Of Will, Chris
Sent: Friday, March 13, 2020 7:26 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] Quick question on single user mode

I was able to get a rescue system put together, activated dasd, mounted file 
systems and the chroot and everything looked "perfect".  I changed the root 
password but on the reboot it still rejected what I was entering.  That leads 
to suspect that this is crashing during the initial boot and it cannot find the 
boot partition or some other error.  Our boot partition not only has the /boot 
directory but the /etc directory so if it can't find that it would not have 
access to the root password.  Is there any way to avoid the emergency mode 
asking for a password for both the /boot/zipl initial boot and /boot/grub2.  I 
would guess that any updates for the grug2 config would be made to 
/etc/default/grub.

Chris Will
Enterprise Linux/UNIX (ELU)
(313) 549-9729 Cell
cw...@bcbsm.com

-----Original Message-----
From: Will, Chris 
Sent: Thursday, March 12, 2020 10:55 AM
To: i_mugz...@securiteam.co.il; LINUX-390@VM.MARIST.EDU
Subject: RE: Quick question on single user mode

Hello and thanks for all the help.  I am trying to put together a rescue 
system, we have some parms we used for upgrading our system and I think I would 
have to change "upgrade=1" to "rescue=1".

What I would like to do is via ssh:

1. fix root password
2. verify vg name and lv for our xfs root file systems (/usr /var /home /opt 
/tmp) 3. Possibly run mkinitrd

ramdisk_size=131072 root=/dev/ram1 ro init=/linuxrc TERM=dumb upgrade=1 
<<change this to rescue=1 or delete?
ReadChannel=0.0.0600 WriteChannel=0.0.0601 DataChannel=0.0.0602 InstNetDev=osa 
Layer2=1 OSAInterface=qdio PortNo= Hostname=nbxav0100.bcbsm.com 
HostIP=10.96.1.200 Gateway=10.96.1.1
Netmask=255.255.255.0 Nameserver=10.64.65.48 Domain=bcbsm.com
Install=nfs://10.96.1.186/srv/nfs/SLE-12-SP3-Server-DVD-s390x-GM-DVD1 <<delete 
this?
UseVNC=1 VNCPassword=12345678 UseSSH=1 SSHPassword=12345678

Chris Will
Enterprise Linux/UNIX (ELU)
(313) 549-9729 Cell
cw...@bcbsm.com

-----Original Message-----
From: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> On Behalf Of ITschak Mugzach
Sent: Thursday, March 12, 2020 3:07 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Quick question on single user mode

[External email]


Mark,

I was able not to specify password and fix my SLES issues. the disks are 
mounted but the file system is organized differently. If I remember correctly, 
I reach such pages because I didn't have the root password. not sure thi is the 
OP issue.

ITschak
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring for 
z/OS, x/Linux & IBM I **| z/VM comming son  *




On Wed, Mar 11, 2020 at 9:31 PM Mark Post <mp...@suse.com> wrote:

> On 3/11/20 9:39 AM, Will, Chris wrote:
> > Sorry about that, since our move to zCloud I do not have access to 
> > the
> 3270 console and all I received was a picture of the console messages.  
> I pulled out as much text as possible and here it is.
>
> How are you specifying the IPL command and any parameters then? I 
> think we need to understand how things are supposed to work for you so 
> that we can better provide assistance.
>
> If you can't get to the console of the guest, then trying to get into 
> single user mode or anything like that isn't going to help at all. One 
> possibility might be to try and specify "hvc_iucv=8 console=hvc0 
> init=/bin/bash" on the command line, and use the terminal server tools 
> from another guest to get access.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
> visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


The information contained in this communication is highly confidential and is 
intended solely for the use of the individual(s) to whom this communication is 
directed. If you are not the intended recipient, you are hereby notified that 
any viewing, copying, disclosure or distribution of this information is 
prohibited. Please notify the sender, by electronic mail or telephone, of any 
unintended receipt and delete the original message without making any copies.
 
 Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are 
nonprofit corporations and independent licensees of the Blue Cross and Blue 
Shield Association.


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to