Quantcast
Viewing all articles
Browse latest Browse all 3387

System and Network configuration • tidy EFI setup prior to Secure Boot setup

A bit of an all-over-the-place inaugural question regarding my 12 year old macbook pro and EFI.

## Current setup

```bash
lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux 12 (bookworm)
Release:12
Codename:bookworm
```

And my EFI setup looks like this.

```
efibootmgr
BootCurrent: 0002
Timeout: 5 seconds
BootOrder: 0001,0002,0000,0080,0081
Boot0000* debian
Boot0001* rEFInd Boot Manager
Boot0002* Linux Boot Manager
Boot0080* Mac OS X
Boot0081* Recovery OS
Boot0082*
BootD1A6* AST
BootFFFF*
```

## Background

I recently updated the HD to an SSD. This after first playing around with Debian on the original HD.

On the original HD I installed rEFInd prior to installing debian. I did this by booting into the machine's EFI shell (or whatever it is called, by pressing `alt`) and running the rEFInd installer from the commandline. This all worked as expected.

Now, after replacing the HD the machine no longer boots into rEFInd.

When I boot into the EFI shell I only see 1 EFI partition (is what I'm calling it). Selecting this partition boots into grub.

I *can* boot into mac's recovery mode btw. I doubt this is relevant, but in case I'm mistaken...

When I installed Debian on the new SSD, I chose the "play it safe" EFI setting where grub handles the boot process.

## Ultimate goals

1. tidy the EFI setup on the machine
2. Setup secure boot

## Questions

1. What is going on with my EFI setup?

2. More generally, curious how it all works. I take it there is some motherboard memory where EFI code lives - see question #3.

3. Shouldn't rEFInd persist in this MB memory?
3.1 I tried giving priority to rEFInd by changing the `BootOrder: 0001,0002,0000,0080,0081` but this doesn't make a difference.
3.2 is rEFInd even in the mix?
3.3 booting into the EFI GUI it is every bit the same as the original mac EFI gui. This suggests to me that the original rEFInd should have persisted.

3. How can I simplify everthing to achieve my goals?

Statistics: Posted by eljfe — 2024-06-09 17:53 — Replies 0 — Views 29



Viewing all articles
Browse latest Browse all 3387

Trending Articles