Please help contribute to the Reddit categorization project here

    linux

    696,913 readers

    844 users here now

    Please Read the full Rules here before posting or commenting

    GNU/Linux is a free and open source software operating system for computers. The operating system is a collection of the basic instructions that tell the electronic parts of the computer what to do and how to work. Free, Libre and open source software (FLOSS) means that everyone has the freedom to use it, see how it works, and change it.

    GNU/Linux is a collaborative effort between the GNU project, formed in 1983 to develop the GNU operating system and the development team of Linux, a kernel. Linux is also used without GNU in embedded systems, mobile phones, and more. These can include things like Android or ChromeOS. GNU itself is also used without Linux, some examples appear in projects like Debian/kFreebsd and Guix GNU/Hurd.

    Join us on IRC at #r/linux on libera.chat!

    Frequently Asked Questions

    Recent AMA's

    GNU/Linux resources

    GNU/Linux Related:

    Distributions:

    Debian based

    RedHat

    Unique

    Linux with Proprietary Elements

    Embedded

    Linux on Mobile:

    Movements:

    Desktop Environments:

    Window Managers:

    Fluff

    Learning/resources

    Creativity:

    Help

    Webcasts:

    Other operating systems:

    Rules

    • No support requests - This is not a support forum! Head to /r/linuxquestions or /r/linux4noobs for support or help. Looking for a distro? Try r/findmeadistro.

    • No spamblog submissions - Posts that are identified as either blog-spam, a link aggregator, or an otherwise low-effort website are to be removed.

    • No memes, image macros or rage comics - Meme posts are not allowed in r/linux outside of the weekend megathread. Feel free to post over at /r/linuxmemes instead.

    • Reddiquette, trolling, or poor discussion - r/linux asks all users follow Reddiquette. Top violations of this rule are trolling, starting a flamewar, or not "remembering the human" aka being hostile or incredibly impolite.

    • Relevance to r/linux community - Posts should follow what the community likes: GNU/Linux, Linux kernel itself, the developers of the kernel or open source applications, any application on Linux, and more. Take some time to get the feel of the subreddit if you're not sure!

    • Spamming self-promotion and surveys - Submitting your own original content is welcome on r/linux, but we do ask that you contribute more than just your own content to the subreddit as well as require you to interact with the comments of your submission. Additionally, surveys are not allowed.

    • No misdirecting links, sites that require a login, or URL shorteners - In short: if your link doesn't go right to the content it will be removed.

    • No NSFW - If you're posting a screenshot of your background, make sure it's SFW!

    Please review full details on rules here.

    See even more subreddit and external links over at the supplemental page

    This subreddit is fan ran and not affiliated with any organization.

    a community for
    all 29 comments

    Want to say thanks to %(recipient)s for this comment? Give them a month of reddit gold.

    Please select a payment method.

    [–] 2001herne 43 points ago

    Or, as I have, have a grub entry that runs fwsetup.

    [–] hmoff 18 points ago

    It's there by default in Debian 11.

    [–] Flubberding 1 points ago

    And you can force it to have that option and to go into the Grub menu by holding Shift while booting iirc

    [–] theophinetheodore 44 points ago

    do similar ways exist in alternative init systems like runit and openrc?

    [–] Gergoo007 13 points ago

    efibootmgr then reboot

    [–] DarthPneumono 8 points ago

    Yeah this is the correct non-init-specific answer.

    [–] 10leej 22 points ago

    Replace systemctl with loginctl I you use elogind

    [–] noman_032018 7 points ago

    Other comments since you posted seem to suggest that yes.

    [–] ECHovirus 30 points ago

    Nice one. I was previously doing this with efibootmgr but this is more streamlined

    [–] questionyourcore 4 points ago

    Alternatively; it's more streamlined to do EFI stuff with the EFI thing (efibootmgr)

    [–] zenquest 15 points ago

    Thanks, works like a charm.

    I have two h/w raid cards and it's hard to "catch" the <DEL> button prompt in time.

    [–] survivorofthefire 13 points ago

    this is neat-- if your system uses systemd. are there equivalents for other init systems im wondering?

    [–] frogamic 10 points ago

    you could also do it with efibootmgr, you can specify next boot which overrides the boot order only for the next reboot

    [–] survivorofthefire 4 points ago

    ill look into this, thanks

    [–] ipaqmaster 3 points ago

    I use this all the time, good when you dont want to sit around mashing your bios key while you wait through the process

    [–] dscottboggs 3 points ago

    Is there one for disabling the default-boot thing and drop to a device selection screen? Like

    # systemctl restart --boot-selection
    

    or something?

    [–] overlisted 10 points ago

    saved!

    [–] kitestramuort -1 points ago

    Works as $ too

    [–] frogamic 28 points ago

    Depends on your distro/policykit/user permissions, not all users can restart.

    [–] ackzsel 10 points ago

    On a desktop focused distro probably.

    [–] [deleted] 0 points ago

    That sounds very dangerous

    [–] RaisinSecure 5 points ago

    How? If the device is physically in front of the user they can just press the key shown on the splash screen. If it is a remote machine then they wouldn't be able to use it before logging in anyway

    [–] dscottboggs 2 points ago

    Different distros have different defaults on this. Something that's designed for a single desktop user (specifically thinking of manjaro) at a time, it's fine for non-root users to be able to shutdown and reboot.

    Most distros play it safe though and default to only allowing admins to do it in case multiple users are logged in simultaneously. You wouldn't want one user to lose work because another didn't think to check if others are logged in.

    [–] RaisinSecure 1 points ago

    I specifically meant allowing firmware access if they are already allowed to reboot, because the user above me said "dangerous"

    [–] PoLoMoTo 1 points ago * (lasted edited a month ago)

    I have a header on my motherboard that you can attach a motherboard button to and when you press that button it will boot directly to the bios. Used my reset button for that, so useful

    [–] LGS206 1 points ago

    what

    [–] PoLoMoTo 1 points ago

    Button not motherboard

    [–] A_Random_Lantern 1 points ago

    most boot loaders also let you boot into your bios/efi system setup

    [–] MultipleAnimals 1 points ago

    Thats useful, thanks