#Unable to get GRUB to work

18 messages · Page 1 of 1 (latest)

foggy schooner
#
  • I have been dual booting windows and linux mint for years now, I wanted to get rid of windows and install another OS.
  • I have 2 drives, 1 500gb drive and 1 1tb drive
  • The 500gb drive contains windows, the 1 tb drive contains linux mint, however for some reason when I installed linux years ago I installed GRUB which allows me to boot in either linux or windows on the EFI partition of the 500gb drive. the 1tb drive which contains linux mint had no EFI partition
  • This means I needed to make an EFI partition on the 1tb drive and install GRUB on it if I wanted to format the 500gb drive to install another OS
  • I did that, but now when I boot into the new GRUB on the 1tb drive, it only takes me to a CLI, not a menu where I can boot to an OS
  • The original GRUB on the 500gb drive still works fine
  • I have tried reinstalling GRUB and doing grub-update, it doesn't change anything
    Please refer to the attached images/txt files for further information
#

From the GRUB CLI, I tried doing
linux /boot/vmlinuz-5.15.0-119-generic root=/dev/sdb2
initrd /boot/initrd.img-5.15.0-119-generic
boot
and it seemed to try and boot linux but it didn't work fully

steady egret
#

try to unplug the windows drive, then run boot repair from Linux mint live

foggy schooner
#

I tried using boot-repair via live usb but it wouldn't boot correctly. I haven't unplugged the windows drive because it's a laptop and it would be a PITA to open it up just to unplug the 500gb drive

steady egret
#

it complains something about not being able to find init - perhaps try to rebuilt initramfs?

#

I think the easiest way would be using a live session - boot into it, mount root, efi and /dev /proc /sys /run (or just use arch-chroot and skip these), chroot into /mnt and update-initramfs -u

#

still, I think your system may be confused because there are 2 ESP

foggy schooner
#

There's only 1 ESP on each drive though

foggy schooner
foggy schooner
#

Same CLI đź« 

steady egret
#

only fix

#

you can also suck it up and just keep the existing efi

foggy schooner
#

I cant if I’m formatting the 500gb drive

#

I’d have no way to boot into anything

steady egret
foggy schooner
#

The linux mint on my 1tb drive would still be my primary OS and primary drive, it’s possible that in the future I would want to format the 500gb drive to put yet another OS on it or replace the 500gb drive with another larger capacity drive. I’d just be pushing the issue towards a later date

steady egret
#

I don't have any other ideas except for disconnecting the 500 gig one.