Ghost of replaced install still in efi boot
by Nishtya from LinuxQuestions.org on (#6HXS2)
Not a linux newbie. Definitely an EFI booting newbie and at wit's end.
Old Dell laptop but UEFI capable. Had been using legacy BIOS compatible mode for years but when I got a new ssd decided to go all UEFI and modern-like. On new ssd I had put in 4 installs on 4 partitions you can still see below.
Code:Device Start End Sectors Size Type
/dev/sda1 2048 1128447 1126400 550M EFI System
/dev/sda2 1128448 144488447 143360000 68.4G Microsoft basic data
/dev/sda3 144488448 322303999 177815552 84.8G Linux filesystem
/dev/sda4 322304000 411922431 89618432 42.7G Linux filesystem
/dev/sda5 411922432 500117503 88195072 42.1G Linux filesystemthey are in order windows 10, kubuntu, linuxmint (formerly PCLOS) and mageia
I replaced PCLOS on sda4 with linuxmint by just pointing installer at sda4 and it went fine. Rebooted got the mint grub and mint was default (kubuntu my daily drive) figured that was an easy fix later and went to play with mint. Rebooted with f2 to get into BIOS setup to move the ubuntu on top of EFI boot but to my surprise it was already at the top and PCLOS is still in there down in the list, linuxmint not in there. I could take a shot with my phone if anybody thinks seeing it will help plz advise. I was able to uncheck PCLOS in BIOS but mint did not exist to check to add. I fired up the live ubuntu usb to fix grub in efi. I had previously done this after trying to install mint on an external drive got really hairy. I did:
Quote:
No errors. Rebooted, checked in BIOS setup on the way, PCLOS still exists in BIO and mint doesn't. Ubuntu is the default, it's grub does have mint (and mageia) along with windows choice. How does one "reset" what the BIOS is seeing? This is the output for efibootmgr
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0001,0003,0002,0000
Boot0000* Windows Boot Manager
Boot0001 pclinuxos
Boot0002* mageia
Boot0003* ubuntu
Please help me sort this. I like to play with distros on the side and even USB 2.0 can be slow for running them on a stick and persistence is almost as tricky to get going as this efi. But I could fix up old grub grub 2 on legacy BIOs no matter how many different ones I tried out. With EFI are you stuck with the ghost of every distro past or something? I am ready to chuck it all, wipe the disk and back to just windows and ubuntu and never look at new shiny pretty distros again. Someday they will lock the hardware down so bad it is only going to be one or none. this isn't funny anymore
Old Dell laptop but UEFI capable. Had been using legacy BIOS compatible mode for years but when I got a new ssd decided to go all UEFI and modern-like. On new ssd I had put in 4 installs on 4 partitions you can still see below.
Code:Device Start End Sectors Size Type
/dev/sda1 2048 1128447 1126400 550M EFI System
/dev/sda2 1128448 144488447 143360000 68.4G Microsoft basic data
/dev/sda3 144488448 322303999 177815552 84.8G Linux filesystem
/dev/sda4 322304000 411922431 89618432 42.7G Linux filesystem
/dev/sda5 411922432 500117503 88195072 42.1G Linux filesystemthey are in order windows 10, kubuntu, linuxmint (formerly PCLOS) and mageia
I replaced PCLOS on sda4 with linuxmint by just pointing installer at sda4 and it went fine. Rebooted got the mint grub and mint was default (kubuntu my daily drive) figured that was an easy fix later and went to play with mint. Rebooted with f2 to get into BIOS setup to move the ubuntu on top of EFI boot but to my surprise it was already at the top and PCLOS is still in there down in the list, linuxmint not in there. I could take a shot with my phone if anybody thinks seeing it will help plz advise. I was able to uncheck PCLOS in BIOS but mint did not exist to check to add. I fired up the live ubuntu usb to fix grub in efi. I had previously done this after trying to install mint on an external drive got really hairy. I did:
Quote:
sudo mount /dev/sda3 /mnt sudo mount /dev/sda1 /mnt/boot/efi for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done sudo chroot /mnt grub-install /dev/sda update-grub |
BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0001,0003,0002,0000
Boot0000* Windows Boot Manager
Boot0001 pclinuxos
Boot0002* mageia
Boot0003* ubuntu
Please help me sort this. I like to play with distros on the side and even USB 2.0 can be slow for running them on a stick and persistence is almost as tricky to get going as this efi. But I could fix up old grub grub 2 on legacy BIOs no matter how many different ones I tried out. With EFI are you stuck with the ghost of every distro past or something? I am ready to chuck it all, wipe the disk and back to just windows and ubuntu and never look at new shiny pretty distros again. Someday they will lock the hardware down so bad it is only going to be one or none. this isn't funny anymore