Re: Examples of customized grub2 configuration files?

2017-04-03 Thread Konstantin Olchanski
Hi, you may find it easier to do the work using the SYSLINUX/EXTLINUX boot 
loader.

In my experience, it takes less time to learn how to use syslinux from zero,
compared to doing anything at all non-standard in grub/grub2.

And with grub2 even having custom order of boot entries is now non-standard.

This is addition to all the cases where grub/grub2 just
plain does not work (gives you a blank screen, or tells you
that existing files do not exist, or goes to the wrong disk,
or in one case corrupted the CMOS settings, and etc of course).

I am a happy SYSLINUX user and I would recommend it to everybody -
for network booting, for booting from disk, for booting from USB,
for booting from anything. My latest success was EFI boot
from a pcie ssd, where grub2 at best gave me a "grub>" prompt
and nothing more.


K.O.


On Mon, Apr 03, 2017 at 02:26:36PM -0700, Keith Lofstrom wrote:
> I'm looking for examples (with explanatory comments) of
> customized configuration files to use in the /etc/grub.d
> directory, somewhere out there on the intertubes.
> 
> Specifically, what I hope to add is a "11_single" file
> to /etc/grub.d that adds a boot menu option for booting
> the most recent kernel in single user mode. 
> 
> Yes, I know I can select a menu entry with "e", and
> then edit "SINGLE" onto the end of the kernel line.
> However, I will typically only do this when something
> is wrong, I am in a hurry to fix it, and prone to
> mistakes.  I prefer to prepare for emergencies in
> advance, when I am calm and have time to think things
> through, so I will have more brain cells to focus on
> on the specifics of an unplanned emergency.
> 
> I do best by copying and understanding examples.  The
> example "41_custom" file has almost no useful comments;
> they are there to remind the RHEL maintainer, not teach
> a newbie to make safe tweaks.  Ditto the documentation.
> 
> Completely implemented and explained, the new grub2
> setup could be a lot safer and easier to use than the
> old grub setup.  But old grub was simple vi tweaks of
> a single grub.conf file, and the new setup requires
> far more knowledge to operate properly.  I prefer to
> learn from multiple tested examples.  I'd rather spend
> an hour than a week learning to do this.
> 
> Any suggestions?  I did find an almost-germane
> explanation of a particular grub2 customization at
> https://help.ubuntu.com/community/Grub2/CustomMenus
> but my brain is too small to translate that into the
> solution that I am hoping for.
> 
> Keith
> 
> -- 
> Keith Lofstrom  kei...@keithl.com

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada


Examples of customized grub2 configuration files?

2017-04-03 Thread Keith Lofstrom
I'm looking for examples (with explanatory comments) of
customized configuration files to use in the /etc/grub.d
directory, somewhere out there on the intertubes.

Specifically, what I hope to add is a "11_single" file
to /etc/grub.d that adds a boot menu option for booting
the most recent kernel in single user mode. 

Yes, I know I can select a menu entry with "e", and
then edit "SINGLE" onto the end of the kernel line.
However, I will typically only do this when something
is wrong, I am in a hurry to fix it, and prone to
mistakes.  I prefer to prepare for emergencies in
advance, when I am calm and have time to think things
through, so I will have more brain cells to focus on
on the specifics of an unplanned emergency.

I do best by copying and understanding examples.  The
example "41_custom" file has almost no useful comments;
they are there to remind the RHEL maintainer, not teach
a newbie to make safe tweaks.  Ditto the documentation.

Completely implemented and explained, the new grub2
setup could be a lot safer and easier to use than the
old grub setup.  But old grub was simple vi tweaks of
a single grub.conf file, and the new setup requires
far more knowledge to operate properly.  I prefer to
learn from multiple tested examples.  I'd rather spend
an hour than a week learning to do this.

Any suggestions?  I did find an almost-germane
explanation of a particular grub2 customization at
https://help.ubuntu.com/community/Grub2/CustomMenus
but my brain is too small to translate that into the
solution that I am hoping for.

Keith

-- 
Keith Lofstrom  kei...@keithl.com


Re: [SCIENTIFIC-LINUX-USERS] fermilab-conf_doe-banner-console is not fully uninstalled by yum remove

2017-04-03 Thread Pat Riehecky

Hi Dan,

Thanks for the report.  I own this package and I'll see about getting it 
fixed.


Pat

On 04/02/2017 11:22 AM, Dan wrote:

Dear All,

I installed SL7.3 a few weeks ago - thanks for a great distro.

However, I've discovered the following behaviour which I think
constitutes a bug:

Yesterday, I accidentally (as part of a more general yum install
invocation with some wildcards in it) ran:

yum install fermilab-conf_doe-banner-console

This wrote a passage of text to /etc/motd, causing a vaguely
threatening message, purporting to constitute a legally-binding
contract, to appear on screen at boot time.

However, subsequently running

yum remove fermilab-conf_doe-banner-console

does not remove the passage of text from /etc/motd, and does not stop
the message from appearing at boot time.

Is there some sort of upstream bugzilla to which someone can pass this
on, please?


Re: [SCIENTIFIC-LINUX-USERS] is the sha256sum of SL-7.3-x86_64-netinst.iso correct?

2017-04-03 Thread Pat Riehecky

Good catch.  Somehow the signature got reverted to the RC image.

The correct signature is 
68992289a1163250ba064c23baa8c4b23d11e5dc0562de41971bdf9c2ad42415


I'll get a new set of SHA files posted.  Sorry for the error.

On 04/01/2017 03:06 AM, Fred Liu wrote:

Hi,

Is the following hash the correct one?

13650ef94c16024285fd9dadebba4d62a33c0de5ac611314bf8e3d6afb956a3a  
SL-7.3-x86_64-netinst.iso


Thanks.

Fred