Linux Lite Forums

Full Version: How do I remove the stored boot options in NVRAM - command line or GUI?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My main laptop (Asus G750) appears to have NVRAM (non-volatile random access memory).

This seems to interfere with booting the computer following removal of the HDD or SSD containing the operating system, and swapping it for another drive with a different operating system.  This problem (and its solution) was previously discussed at https://www.linuxliteos.com/forums/tutor...y-enabled/ (see Section F – problem 1).  What I would like to know is how to avoid the above problem altogether. Put simply, is there a either a command line or GUI method for clearing NVRAM of its stored boot options, before I swap the the drives (containing the different operating systems)?

Many thanks in advance for any help on this one.

Mike
I have no experience with UEFI or NVRAM but after a little searching it appears that "efibootmgr" is capable of changing boot options.  See the following.

http://linux.die.net/man/8/efibootmgr
Avj, many thanks for your reply and taking the trouble to do a bit of searching re. efibootmgr.
I typed efibootmgr into the terminal but no GUI materialised, so I assume there is none and this is command-line only solution.
I think I might postpone applying the command-line in the link for a while as it looks a bit complicated and I'm still a very much
a linux newbie...

Cheers
Mike 
Hi,
Have no experience of this...
I just remember, when you mentioned GUI this was mentioned in a Linux Mag
https://sourceforge.net/projects/refind/
Thanks Dave - maybe prudent then if I just use the solution in the UEFI LL/Win dual-boot tutorial - at least I know what I'm playing with there and it works.
If I stray into  'unknown territory',  I'll probably only break the system and consequently waste a lot of valuable time ...

Mike
Just a thought.?, could you experiment in Virtualbox...
Here's a post, Arch related, but it mentions nvram and refind in the same post
Maybe going off topic, and possibly complicated

https://bbs.archlinux.org/viewtopic.php?id=158003
Thanks again Dave, and also avj, for your help - much appreciated. I think I'll stick with what I
know just to be safe... ...when i've got a bit more time & feeling a bit more adventurous I might
look at it again with the ideas you've both presented.

Cheers
Mike
No probs... GL