0

This is a major annoyance.

I've just installed Elementary on an external SSD (used Gparted to configure the partitions on the drive etc.) and when the installation is finished I find the install process has added a Grub partition to my internal boot drive, even though I never asked the installer to do this (MacBook Pro, Catalina).

So now when I boot my MacBook, unattended, it always boots into the Grub CLI. Why would the installer do this - I have no desire to boot Elemntary from the internal drive so it should leave it alone. I have Pop OS installed on another drive and the Pop installer didn't add Grub.

Two questions then: why? And how do I get rid of the Grub boot option from my internal drive (without having to reinstall everything) as it's 100% not necessary?

To follow up the response from Sysadmin here: I did only create partitions on the external drive: /boot, /swap, / and /home. No partitions were created on the internal drive by me in Gparted. I also set the installer to install on the external drive.

Fdisk is not used on Catalina (zsh) but the equivalent command using 'diskutil' is 'diskutil list'. The output is below. From what I can tell the EFI:EFI partition (200mb ish) (dev/disk1) is the one that was created by the Elementary installer. I also have part of that drive partitioned for Pop OS hence the number of partitions.

Diskutil output

Update edit:

I ran fdisk -l and efibootmgr -v as requested (but from within Pop!_OS (this should give the same results right? If not I'll try it again from Elementary)

(The output from efibootmgr did show up a couple of odd things: those two entries in Chinese characters with 'refind' in the path. Has something installed refind? Is this normal?)

fdisk -l

efibootmgr -v

3
  • Can you perform sudo fdisk -l in Elementary OS, please? I see you have three EFI partitions, but this diskutil does not show mount points. I need to read more about grub and EFI. A lot of tutorials tell to copy files from EFI to separate partition on external drive mounted as /boot. And then /etc/fstab must be edited to change the UUID of the boot partition and then grub must be updated and at the end probably the EFI partition created by Elementary OS on internal drive can be removed and then probably one more time grub must be updated in Elementary. I am not sure this for 100%. I am guessing
    – Sysadmin
    Commented Jun 16, 2020 at 20:05
  • Also i need in Elementary sudo cat /etc/fstab and sudo efibootmgr -v
    – Sysadmin
    Commented Jun 16, 2020 at 20:09
  • I have found thread and explanation. askubuntu.com/questions/883544/… GRUB is installing only on sda. That is why it installed on internal hard drive. I can help but only in Linux environment.
    – Sysadmin
    Commented Jun 16, 2020 at 20:16

1 Answer 1

0

First of all I am not familiar with Apple file system, so sorry for that.

The command

sudo fdisk -l

Will show in Linux all partitions. Eventually if you prefer graphical representation you can use gparted or any other software for partitioning in Linux.

Then you can provide screenshots or results from fdisk.

This will help to understand what happened and why.

I am not sure but by default grub is installed on internal hard drive. But have no option to proove it.

To make it work you need a /boot partition on external hard drive. That is why I always recommend manual partitioning during the Linux installation.

The proper way is to create separate partition for /boot, separate for / and separate for /home and separate for /var at least.

If /boot is not created on external disk it is created on internal or if /boot exists on internal grub is copying files there.

Hope my explanation is enough clear.

Excuse for my English, I am not native speaker.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.