On 5/5/23 02:14, Marcy Cortes wrote:
You can pass things to grub on the IPL command using the PARM statement. I
just had to do that when I needed to validate a systemd timing problem with a
kernel parm. It's tricky with the lower case stuff.
+1
e.g.
https://public.dhe.ibm.com/software/dw/linux390/lvc/zFCP_Best_Practices-BB-Webcast_201805.pdf#page=55
such as https://www.ibm.com/docs/en/linux-on-systems?topic=blz-from-scsi-1
or https://www.ibm.com/docs/en/linux-on-systems?topic=blz-from-dasd-1
or https://www.ibm.com/docs/en/linux-on-systems?topic=mode-booting-from-scsi
or https://www.ibm.com/docs/en/linux-on-systems?topic=zvm-from-dasd
etc.
Is that what you are trying to do?
-----Original Message-----
From: Linux on 390 Port <[email protected]> On Behalf Of Mark Post
Sent: Thursday, May 4, 2023 4:55 PM
To: [email protected]
Subject: Re: [LINUX-390] Edit grub from 3270 console
I'm pretty sure they're asking about the ability of using grub itself to change
things, when the grub menu is displayed. If so, then there is supposed to be a
way to do it, but I never really dug into it well enough to figure it out
properly. There are a couple of hints given on the screen about which keys to
use, etc., but after that I wasn't initially able to get any further, and had
to move on to other tasks.
Unfortunately, the links to older SLES release documentation are meanwhile
broken in
https://public.dhe.ibm.com/software/dw/linux390/lvc/zFCP_Best_Practices-BB-Webcast_201805.pdf#page=55
The new links would be:
https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-grub2.html#sec-grub2-menu-change
https://documentation.suse.com/sles/15-SP4/html/SLES-all/cha-grub2.html#sec-grub2-zseries
Note that it's quite tricky to use the grub menu editing as we're in a line
mode terminal and the cursor position is not getting drawn, so the SLES docs
suggest to temporarily(!) enter an underscore to see the cursor position, but
one also needs to remove the underscore again with e.g. sending a backspace
escape sequence so grub does not see the underscore which is regular user input
for it.
If they're not talking about that, and are asking about using some form of
editor to modify the config file itself, then you're correct. I really wish the
old UTS editor that was made to work with 3270/3215 terminals had been open
sourced before the company went under, but that never happened.
Mark Post
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]]On Behalf Of
Rich Smrcina
Sent: Thursday, May 04, 2023 5:55 PM
To: [email protected]
Subject: Re: Edit grub from 3270 console
Victor,
The only options that I can think of are ed and sed. Your Unix people
should know how to use them.
Rich Smrcina
Sr. Systems Engineer
Velocity Software Inc.
Main: (650) 964-8867
Main: (877) 964-8867
[email protected] <mailto:[email protected]>
On May 4, 2023, at 4:04 PM, Victor Echavarry
<[email protected]> wrote:
Hello
Some of our Unix people asked is there a way to add or
modify the grub file at start up from a 3270 screen? Is there are
instructions for this?
Regards,
VĂctor Echavarry
System Programmer
EVERTEC LLC
WARNING: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in
error please delete it immediately.
Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of
EVERTEC, Inc. or its affiliates. Finally, the integrity and security
of this message cannot be guaranteed on the Internet, and as such
EVERTEC, Inc. and its affiliates accept no liability for any damage
caused by any virus transmitted by this email.
--
Mit freundlichen Gruessen / Kind regards
Steffen Maier
Linux on IBM Z and LinuxONE
https://www.ibm.com/privacy/us/en/
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschaeftsfuehrung: David Faller
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390