[info] Adding 2 convenient options in GRUB that most people don't have

My grub.cfg is on the first partition FAT32 marked as boot.
The other 8 partitions directly reference it.
Does not change unless I change it.

Vektor
 


Thanks for answering that, @rado84 , and for providing that content. :)

The content is somewhat as I expected (been some years since I installed under MBR conditions) and accounts for why some of the alternatives provided by others are preferred options over the thrust of you are advocating.

I won't get ahead of myself, so I'll suggest the following first:

1. You might consider editing your OP to include that you are using MBR, not UEFI.

2. You have a 30_uefi-firmware script in your /etc/grub.d/ folder because Arch installed it. The relevant past of that file that impacts on your circumstances is

Code:
LABEL="UEFI Firmware Settings"

gettext_printf "Adding boot menu entry for UEFI Firmware Settings ...\n" >&2

cat << EOF
if [ "\$grub_platform" = "efi" ]; then
    fwsetup --is-supported
    if [ "\$?" = 0 ]; then
        menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
            fwsetup
        }

Your platform is MBR, so fwsetup --is-supported does not apply. If it did, you would have on your Grub Menu an entry such as I show here

1779253699013.jpeg


This option that is available to many, many distros does not alter the fact that a short timeout exists when you boot or reboot your computer, and the logo appears, and you have only a couple of seconds to decide whether to tap the (in my case) F12 key for a short boot menu, or the F2 key to enter my BIOS/UEFI environment, but it does give you the opportunity to choose it from the Grub Menu. Most Debian-based (includes Ubuntu and Mint) distros allow for 10 seconds for that. I note that yours is set to 2 seconds, and some others use seconds. I always change mine, if needed, to 10 seconds

3. In my environment, there are at least two (2) references of relevance to fwsetup, being at

Code:
/boot/grub/x86_64-efi/efifwsetup.mod

# and

/usr/lib/grub/x86_64-efi/efifwsetup.mod

I don't know if you have something similar, but my Manjaros do - might be worth looking into?

Aside from the above - I DO like the Restart and Shutdown options you provide, thanks.

I am also glad that you have your own solution to not having to use other than grub.cfg to effect and tweak changes you have made since 2017, but please do not let newbies think that they should ignore its initial lines

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

That is there for a valid reason.

Also the suggestion that /etc/grub.d/40_custom is the recommended venue for adding your Restart and Shutdown options, is, IMO, valid.

Thanks in hope that you find my above more helpful than not, and please do not scoff at others for their input.

TIA

Chris Turner
wizardfromoz
 
I have deleted what was formerly #20 by another Member, as it was unsanctionable.

Wizard
 
I have just deleted another, from another Member.

If I get one more, I will be sending three people on 4 weeks unpaid leave, and it will not be to The Bahamas,

Please act your age, not your shoe size.
 
I have just deleted another, from another Member.

If I get one more, I will be sending three people on 4 weeks unpaid leave, and it will not be to The Bahamas,

Please act your age, not your shoe size.

I think it was unfair to remove my post from just an hour ago. I simply pointed out the hypocrisy and double standards of another forum member — without using a single rude word, just natural sarcasm with a smile. If that is unacceptable, then I don't know what is.
But fine, I’ll take the break anyway. Logging out.
 
I don't recall anyone appointing you as the arbiter of who is hypocritical and using double standards, if they did, I missed the memo.

If you find a thread or Post objectionable the Report button is available and Staff will take a look.

Thank you.
 
I don't recall anyone appointing you as the arbiter of who is hypocritical and using double standards, if they did, I missed the memo.

If you find a thread or Post objectionable the Report button is available and Staff will take a look.

Thank you.

I didn’t find any post that needed your intervention—your help wasn’t necessary, thanks.
I did find one worth engaging with, so I replied.
Then you stepped in and deleted it, just because it didn’t meet your standards.
Go ahead, quote the forum rules at me.
 
Guys, guys...

From what I can see, this is just a discussion about boot menus, and how you can modify them.....and in Linux, nothing is irrevocably "fixed" in its behaviour, despite what the purists may tell you.

Some of the mods I've made to my Puppy "kennels" would curl your hair.....but then, our Pup's somewhat "left-field" anyway (and nothing is quite what it appears to be on the surface). The mods 'work', they're stable, and they do what I want them to do. Job's a good'un!

Despite that most Puppians now use Radky's Grub2Config bootloader set-up utility - based on GRUB2 - I still vastly prefer the older Grub4DOS from Puppy's earlier times. Pup's build of this is 'patched' to search for kernels TWO layers deep, and our build is still maintained; to my way of thinking, it's very flexible, and extremely easy to modify to how the user wants it.

~~~~~~~~~~~~~~~~~~~​

No need for name-calling, and personal attacks. Fer Chrissakes, we just discuss things here; if ya don't like the way the thread is going, just stop posting!

It's quite easy. Just don't reply....

@Fae3iSUx :-

FWIW, most people that actively argue and find fault with forum staff almost always come to a sticky end. Just sayin'.....and I, too, know what I'm talking about, 'cos I moderate on two other fora.


Mike. o_O
 
I still vastly prefer the older Grub4DOS from Puppy's earlier times. Pup's build of this is 'patched' to search for kernels TWO layers deep, and our build is still maintained; to my way of thinking, it's very flexible, and extremely easy to modify to how the user wants it.
(I did not know that. Huh!)
 
No need for name-calling, and personal attacks. Fer Chrissakes, we just discuss things here; if ya don't like the way the thread is going, just stop posting!
I never did such a thing. I have never made a personal attack or called anyone names in this thread.

The moderator deleted my post from this morning because he didn’t like it—not because I broke any rules. He is setting the tone of the conversations here.

My post pointed out rado84’s double standard: he said I obey my computer and his obeys him, and then he admitted he doesn’t understand the origins of the UEFI file in the GRUB directory. I quoted his two sentences from two posts and pointed out the inconsistency. There was no personal attack, no name-calling, nothing.

And yet, my post got deleted. Not only that, but the moderator also threatened a one-month ban if anyone dared to continue. I never received a warning or an explanation of which rule I broke. Here, it’s only the moderator’s word—if he doesn’t like something, he will ban.

FWIW, most people that actively argue and find fault with forum staff almost always come to a sticky end. Just sayin'.....and I, too, know what I'm talking about, 'cos I moderate on two other fora.
Of course, I'm fully aware of the powers moderators have, which is why I've used a randomly generated nickname for my profile. I've been a moderator myself in the past. I came here to speak freely with like-minded people. If I can't do that because moderators set an overly restrictive tone and continue to mute or ban users indiscriminately, I'll move on. Forums come and go.
 
Last edited:
Of course, I'm fully aware of the powers moderators have, which is why I've used a randomly generated nickname for my profile. I've been a moderator myself in the past.
Admittedly, this IS one of the reasons I like coming here. They're a good bunch, and here I'm just one of the crowd (for a change)...

But that's not relevant to this thread.


Mike.
mellow.png
 
I have undeleted the referred to Post. Readers can make up their own minds.

If the Poster has a sure-fire way to moderate a site which has grown from 4,600 Members since this time in 2017, to 93,179 Members on today's figures, without inadvertently stepping on someone's toes, I would be glad to hear of it.

BTW that is without any net increase in Staff.

Avagudweegend, all.

Chris Turner
wizardfromoz
 
@rado84 , can you indulge me again? Resist OS does make itself clear to me, with searches.

Is that just a customised (by you) name you placed in grub.cfg, or is there a real Arch/Arch-based distro that applies to?

I would like to take it for a spin, and shake off the rust on installing under MBR conditions.

TIA

Wizard
 


Follow Linux.org

Staff online

Members online


Top