What I have got planned

Well there’s the running show, I’m off to next week. I’m spending more and more time playing in the mud and socialising with the friends I’ve made in the mud. So a fair few of the OCR Solo Mudders are off to the National Running show next week. (Once I’ve got my weight back down I’ll do some more running, but I’m not attempting any distances until it won’t destroy my knees). Then I also have to remember I have run a marathon, yes it took me 07:07:05, but I did it.

Like last year I’ll be at most Tough Mudders in the UK mainly volunteering, but I’ll run a couple too. I’ll also be at some other OCRs as there are gaps in the diary and I think I can now turn up at any event and know someone there.

I’m also working on some phone app stuff with one of my friends I know from the OCR world, not OCR related, but it is good to meet such a global and diverse group of people.

Then when I’m not doing that lot I might go to work.

And if I’m not working, I’ll be playing with electronics. I want summer to come so I can get the RGB lighting for under a gazebo setup.

Oh I’ve said it before, but I need to remember to blog….

So I’ve started again

So being an IT geek I thought I should work out how to make a https: website and not just a http: one.

In simple terms web browsers are going to start moaning more and more about http: only websites soon. Chrome always has a “Not secure” in front of the URL which doesn’t look good.

Thanks to https://letsencrypt.org/ for making this rather much easier (and cheaper) than I imagined it was going to be.

I was debating re-importing all my content, but I’ve gone with a fresh start in the end.

EFI Dualboot – Changing EFI NVRAM boot order from Windows

So I was having some trouble making grub work on a machine that was running in EFI, but found the nice easy command efibootmgr for Linux to help me manage the boot order.
“efibootmgr” without any switches to show me the current possible options and then “efibootmgr -n 0000” to tell it next reboot I want to boot windows for one time only. (Of course that number will vary depending on what you’ve got install and in what order, and which you actually want to boot)
So now I had a nice easy way to boot the machine into Windows if it was starting Linux, but could I work out how to change the EFI boot order from Windows no not as quickly as I would have liked, but I am there now and it’s one of those things I didn’t find anywhere on the Internet when I needed help so am blogging hoping the search engines will help other people with the same issue.
First of all I tried bootmgr, that was a waste of time, so moved onto bcdedit.
bcdedit /bootsequence “Sets the one-time boot sequence for the boot manager.” sounded liked a really good idea, but what this does is it tells the windows boot manager to try and load the other EFI file, and Windows complains about this. So that wasn’t the soultion….
I eventually found a BCDedit refrence document and found some intreasting stuff towards the back pointing me in the direction of “bcdedit /set” being used to set various options one of the listed well know identidiers was {fwbootmgr}
This lead me to to try:
“bcdedit /? types” and I got this list:
BOOTAPP Boot applications. These types also apply to the boot manager,
memory diagnostic application, Windows OS loader, and the resume
application.
BOOTMGR Boot manager.
BOOTSECTOR Boot sector application.
CUSTOMTYPES Custom types.
DEVOBJECT Device object additional options.
FWBOOTMGR Firmware boot manager
MEMDIAG Memory diagnostic application
NTLDR OS loader that shipped with earlier Windows OS
OSLOADER Windows Vista OS loader
RESUME Resume application
So next it was oh what types can we have for {fwbootmgr}
“bcdedit /? types fwbootmgr”
FIRMWARE BOOT MANAGER
The following types apply only to entries for the firmware boot manager. For
information about data formats for these types, run “bcdedit /? FORMATS”.
Boot
====
BOOTSEQUENCE (list) Defines the one-time boot sequence.
DEFAULT (id) Defines the default boot entry.
TIMEOUT (integer) Defines the boot manager time to wait, in seconds.
Display
=======
DISPLAYORDER (list) Defines the boot manager display order list.
I was quite happy to see BOOTSEQUENCE in that list so I ran a “bcdedit /enum firmware” and got the GUID for the Linux install I wanted to run and then the command that did want I wanted was:
“bcdedit /set {fwbootmgr} BOOTSEQUENCE {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}” where {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} was the GUID value from the linux EFI entry I wanted it to try and load.
A quick “shutdown -r” and BINGO the machine could now be rebooted into Linux once from Windows without having to get into the BIOS to change the boot order. I prefer this soultion over grub as Windows now gets pure Windows and grub doesn’t need to worry about Windows.
Of course if you want to make your change last you’ve got the “bcdedit /set {fwbootmgr} DISPLAYORDER {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}” option availble to you. Then if you’re changing the display order you do probably want to put more that one GUID in the list. (Lists are seperated by spaces in this case)
Also remeber being failry low level operations bcdedit to be any use quite rightly requires runnign from an elevated command prompt.
I hope this will make someone elses life easier!