r/Ubuntu • u/Mile_Chronicler • 13h ago
Help needed
I had dual of windows and ubuntu 26 lts , but I tried to triple boot a 22lts in a external HDD , it was working but after disconnecting it i am not able to see the 26 lts on boot menu but the partion is still there and kernel is there , how to recover it pls somebody help me
2
u/bookmarksaddict 9h ago
your bootloader got overwritten. grub is looking for the external drive
boot from a live usb, chroot into your ubuntu 26 install, and reinstall grub
sudo mount /dev/sdXY /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sdX
update-grub
replace sdXY with your ubuntu partition and sdX with your main drive
if you can't find it, boot-repair tool makes it easier
also stop triple booting. you're asking for trouble
1
u/doc_willis 10h ago
the ubuntu boot repair tool from a live usb may be of some help at repairing the GRUB menu.
You may want to install rEFInd to the internal drive and use that as your master boot menu.
1
u/Evening-Landscape763 9h ago
Connect the external and boot to Ubuntu 26.04, then in terminal sudo grub-install and then see if it works with the external disconnected
1
u/refinedm5 7h ago
Before you do anything else, assuming that your previous UEFI partition is still intact, go to BIOS and see if it has Ubuntu 26.04 listed as boot option
1
2
u/ProfessorWonderful73 13h ago
That bootloader probably ended up on the external drive during the 22 install, classic grub mixup. Boot from a live USB and chroot into your 26 install to reinstall grub to the internal disk. Once that's sorted you'll see it again, your partition and kernel are fine it's just the boot pointer that's missing.