Read Apple nvramEFI boot to Linux on a MacBook ProHow do I create a utility USB?Can I add Windows to my...

What was the intention with the Commodore 128?

Escape Velocity - Won't the orbital path just become larger with higher initial velocity?

Ignore very specific error message in bash

Are there any cons in using rounded corners for bar graphs?

Visa on arrival to exit airport in Russia

What allows us to use imaginary numbers?

Quick destruction of a helium filled airship?

How can I shoot a bow using Strength instead of Dexterity?

Help, I cannot decide when to start the story

Bringing Power Supplies on Plane?

Is there any official ruling on how characters go from 0th to 1st level in a class?

If a person claims to know anything could it be disproven by saying 'prove that we are not in a simulation'?

Some pads on a PCB are marked in clusters and I can't understand which one is which

Meaning of だけはわからない

What exactly happened to the 18 crew members who were reported as "missing" in "Q Who"?

Source that you can't tell your wife not to lend to others

Why is the battery jumpered to a resistor in this schematic?

Why do so many people play out of turn on the last lead?

What is the opposite of "hunger level"?

Partitioning and sorting even and odd numbers within an array

Solving pricing problem heuristically in column generation algorithm for VRP

Sum Square Difference, which way is more Pythonic?

What are these panels underneath the wing root of a A380?

Did Pope Urban II issue the papal bull "terra nullius" in 1095?



Read Apple nvram


EFI boot to Linux on a MacBook ProHow do I create a utility USB?Can I add Windows to my systemd-boot bootloader if I have separate EFI partitions?Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)rtcwake not working on Ubuntu 14.04 installed on MacBook Air (mid 2012)linuz-linux can't be found in efi-bootmanager on iMacAccessing UEFI hardware info from LinuxWhat is the relation between UEFI and Grub?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















On Mac OS X there is a tool called nvram to get and set EFI properties. As I am now deploying GNU/Linux on Apple hardware, I'd like to have a similar tool that is able to talk to Apple's EFI implementation.



Are there tools to achieve this?










share|improve this question

















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.












  • 1





    you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

    – mikeserv
    Sep 8 '14 at 3:06








  • 1





    There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

    – Michael Shigorin
    Sep 8 '14 at 13:08











  • @mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

    – Max Ried
    Sep 8 '14 at 22:01











  • @mikeserv Would you write an answer about efivars?

    – Max Ried
    Sep 8 '14 at 22:02











  • I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

    – mikeserv
    Sep 8 '14 at 22:13


















3















On Mac OS X there is a tool called nvram to get and set EFI properties. As I am now deploying GNU/Linux on Apple hardware, I'd like to have a similar tool that is able to talk to Apple's EFI implementation.



Are there tools to achieve this?










share|improve this question

















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.












  • 1





    you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

    – mikeserv
    Sep 8 '14 at 3:06








  • 1





    There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

    – Michael Shigorin
    Sep 8 '14 at 13:08











  • @mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

    – Max Ried
    Sep 8 '14 at 22:01











  • @mikeserv Would you write an answer about efivars?

    – Max Ried
    Sep 8 '14 at 22:02











  • I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

    – mikeserv
    Sep 8 '14 at 22:13














3












3








3


1






On Mac OS X there is a tool called nvram to get and set EFI properties. As I am now deploying GNU/Linux on Apple hardware, I'd like to have a similar tool that is able to talk to Apple's EFI implementation.



Are there tools to achieve this?










share|improve this question
















On Mac OS X there is a tool called nvram to get and set EFI properties. As I am now deploying GNU/Linux on Apple hardware, I'd like to have a similar tool that is able to talk to Apple's EFI implementation.



Are there tools to achieve this?







linux macintosh uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 7 '14 at 21:35









Gilles

570k136 gold badges1174 silver badges1686 bronze badges




570k136 gold badges1174 silver badges1686 bronze badges










asked Sep 7 '14 at 13:06









Max RiedMax Ried

5561 gold badge8 silver badges22 bronze badges




5561 gold badge8 silver badges22 bronze badges






bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

    – mikeserv
    Sep 8 '14 at 3:06








  • 1





    There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

    – Michael Shigorin
    Sep 8 '14 at 13:08











  • @mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

    – Max Ried
    Sep 8 '14 at 22:01











  • @mikeserv Would you write an answer about efivars?

    – Max Ried
    Sep 8 '14 at 22:02











  • I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

    – mikeserv
    Sep 8 '14 at 22:13














  • 1





    you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

    – mikeserv
    Sep 8 '14 at 3:06








  • 1





    There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

    – Michael Shigorin
    Sep 8 '14 at 13:08











  • @mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

    – Max Ried
    Sep 8 '14 at 22:01











  • @mikeserv Would you write an answer about efivars?

    – Max Ried
    Sep 8 '14 at 22:02











  • I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

    – mikeserv
    Sep 8 '14 at 22:13








1




1





you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

– mikeserv
Sep 8 '14 at 3:06







you should just be able to read them with the efivars program available via package manager. However, if you took the (horrible!) advice offered by many - such as at this Ubuntu/Mac how-to - and converted your disk to a Hybrid MBR so you might boot Linux in legacy (read - BIOS) mode, then those variables are not available to you and will not be until you boot the Linux kernel in EFI-mode. Here is a far better tutorial on the subject.

– mikeserv
Sep 8 '14 at 3:06






1




1





There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

– Michael Shigorin
Sep 8 '14 at 13:08





There's /sys/firmware/efi/vars/ holding those on my UEFI compatible systems upon efivars.ko module load but it was known a year or two ago that loading it might corrupt Apple's firmware, it was advised that one backs it up and has the backout plan/tools handy (see also rodsbooks.com/efi-bootloaders/installation.html).

– Michael Shigorin
Sep 8 '14 at 13:08













@mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

– Max Ried
Sep 8 '14 at 22:01





@mikeserv efivars works, at least for reading. About all those Apple-Firmwares-Will-Be-Destroyed-Warnings... I never got authoritative information about that.

– Max Ried
Sep 8 '14 at 22:01













@mikeserv Would you write an answer about efivars?

– Max Ried
Sep 8 '14 at 22:02





@mikeserv Would you write an answer about efivars?

– Max Ried
Sep 8 '14 at 22:02













I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

– mikeserv
Sep 8 '14 at 22:13





I dont have any Apples and so i dont know the ins and outs well enough to make any authoritative calls in that respect. Youre far better off cruising rodsbooks as Michael has suggested - Rod Smith is about as authoritative as it gets in my opinion on this subject. I do know that theres little mystery there - i can read those with printf and od in a pinch. You might also look into the clover bootloader forums - which is the other active refit fork and is what all of the hackintosh guys use. I am curious though and i may dig into it. Can i ask - what do you wanna do with them?

– mikeserv
Sep 8 '14 at 22:13










1 Answer
1






active

oldest

votes


















0














The tools available are going to vary between Linux distributions, but with a Ubuntu 16.04 LTS live ISO booted from a USB stick on a 2011 MacBook Pro, nvram variables are readable in the filesystem:



ubuntu@ubuntu:~$ cd /sys/firmware/efi/efivars/
ubuntu@ubuntu:/sys/firmware/efi/efivars$ ls
AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
[...]
ThorUpdateResult-7c436110-ab2a-4bbb-a880-fe41995c9f82
Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
ubuntu@ubuntu:/sys/firmware/efi/efivars$ hexdump -C Lang-*
00000000 07 00 00 00 65 6e 67 |....eng|
00000007


To modify variables, install the efivar tool with apt.






share|improve this answer




























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154207%2fread-apple-nvram%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The tools available are going to vary between Linux distributions, but with a Ubuntu 16.04 LTS live ISO booted from a USB stick on a 2011 MacBook Pro, nvram variables are readable in the filesystem:



    ubuntu@ubuntu:~$ cd /sys/firmware/efi/efivars/
    ubuntu@ubuntu:/sys/firmware/efi/efivars$ ls
    AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
    AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
    [...]
    ThorUpdateResult-7c436110-ab2a-4bbb-a880-fe41995c9f82
    Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
    ubuntu@ubuntu:/sys/firmware/efi/efivars$ hexdump -C Lang-*
    00000000 07 00 00 00 65 6e 67 |....eng|
    00000007


    To modify variables, install the efivar tool with apt.






    share|improve this answer






























      0














      The tools available are going to vary between Linux distributions, but with a Ubuntu 16.04 LTS live ISO booted from a USB stick on a 2011 MacBook Pro, nvram variables are readable in the filesystem:



      ubuntu@ubuntu:~$ cd /sys/firmware/efi/efivars/
      ubuntu@ubuntu:/sys/firmware/efi/efivars$ ls
      AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
      AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
      [...]
      ThorUpdateResult-7c436110-ab2a-4bbb-a880-fe41995c9f82
      Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
      ubuntu@ubuntu:/sys/firmware/efi/efivars$ hexdump -C Lang-*
      00000000 07 00 00 00 65 6e 67 |....eng|
      00000007


      To modify variables, install the efivar tool with apt.






      share|improve this answer




























        0












        0








        0







        The tools available are going to vary between Linux distributions, but with a Ubuntu 16.04 LTS live ISO booted from a USB stick on a 2011 MacBook Pro, nvram variables are readable in the filesystem:



        ubuntu@ubuntu:~$ cd /sys/firmware/efi/efivars/
        ubuntu@ubuntu:/sys/firmware/efi/efivars$ ls
        AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
        AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
        [...]
        ThorUpdateResult-7c436110-ab2a-4bbb-a880-fe41995c9f82
        Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
        ubuntu@ubuntu:/sys/firmware/efi/efivars$ hexdump -C Lang-*
        00000000 07 00 00 00 65 6e 67 |....eng|
        00000007


        To modify variables, install the efivar tool with apt.






        share|improve this answer













        The tools available are going to vary between Linux distributions, but with a Ubuntu 16.04 LTS live ISO booted from a USB stick on a 2011 MacBook Pro, nvram variables are readable in the filesystem:



        ubuntu@ubuntu:~$ cd /sys/firmware/efi/efivars/
        ubuntu@ubuntu:/sys/firmware/efi/efivars$ ls
        AAPL,PathProperties0000-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14
        AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
        [...]
        ThorUpdateResult-7c436110-ab2a-4bbb-a880-fe41995c9f82
        Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
        ubuntu@ubuntu:/sys/firmware/efi/efivars$ hexdump -C Lang-*
        00000000 07 00 00 00 65 6e 67 |....eng|
        00000007


        To modify variables, install the efivar tool with apt.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 15 '18 at 12:55









        MagerValpMagerValp

        1011 bronze badge




        1011 bronze badge

































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154207%2fread-apple-nvram%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

            The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

            Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...