You are not logged in.

#1 2024-01-18 08:48:25

Nigh Knight
Member
Registered: 2021-07-10
Posts: 13

Can't boot back into Arch after liveCD of Ubuntu

I was playing around and installed the latest version of Ubuntu on a USB. But after I couldn't boot into Arch like normal.

What I Know:
* Arch is on drive nvme0n1
* Ubuntu is on a USB, drive Sdb
* I didn't install Ubuntu on my system, I pressed the try Ubuntu button
* Arch isn't deleted, the file manager shows there is a drive called Arch Linux with all if my files? HOME, etc and everything else is there
* when I reboot/shutdown and remove the USB and try to boot back it shows a Blue screen, "boot device not found"
* my bios has USB boot ranked lower in boot order
* I can't boot into Arch though my system has it

What I've tried:
* I've tried to unmount Arch on Ubuntu, but it didn't make a difference

What I have
* I only have a liveCD of Ubuntu, not of Arch

IMAGE: https://imgur.com/a/GIYdPMW

Offline

#2 2024-01-18 08:58:26

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: Can't boot back into Arch after liveCD of Ubuntu

Did you change from EFI to legacy BIOS boot when you booted Ubuntu, but are actually running Arch with EFI boot (the two small partitions suggest an EFI and a /boot partition)?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2024-01-18 09:07:17

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can't boot back into Arch after liveCD of Ubuntu

From Ubuntu's Live USB chroot into your ArchLinux installation and reinstall ArchLinux's BootLoader:
- https://wiki.archlinux.org/title/Arch_b … oot_loader
- https://wiki.archlinux.org/title/EFI_system_partition
- https://wiki.archlinux.org/title/Chroot#Using_chroot



From Ubuntu's Live USB what's the output of

# efibootmgr -uv

?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#4 2024-01-18 11:36:13

Nigh Knight
Member
Registered: 2021-07-10
Posts: 13

Re: Can't boot back into Arch after liveCD of Ubuntu

The output of efibootmgr -uv

Pastebin.com/mBMpQivC

Offline

#5 2024-01-18 11:37:07

Nigh Knight
Member
Registered: 2021-07-10
Posts: 13

Re: Can't boot back into Arch after liveCD of Ubuntu

schard wrote:

Did you change from EFI to legacy BIOS boot when you booted Ubuntu, but are actually running Arch with EFI boot (the two small partitions suggest an EFI and a /boot partition)?


No I didn't touch any of that

Offline

#6 2024-01-18 11:57:18

Nigh Knight
Member
Registered: 2021-07-10
Posts: 13

Re: Can't boot back into Arch after liveCD of Ubuntu

Maybe this might help https://imgur.com/a/Awn8Be1

Offline

#7 2024-01-18 12:10:53

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: Can't boot back into Arch after liveCD of Ubuntu

From a(ny) live system please provide:

# ls /sys/firmware/efi

And you don't have any EFI loader for Arch registered, which may be a problem.

Last edited by schard (2024-01-18 12:11:34)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#8 2024-01-18 15:23:00

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can't boot back into Arch after liveCD of Ubuntu

@Nigh Knight

schard wrote:

And you don't have any EFI loader for Arch registered

Does you computer badly implement UEFI standard?

Try rebuilding your ArchLinux's BootLoader + its UEFI's entry into the Firmware's NVRAM: https://bbs.archlinux.org/viewtopic.php … 5#p2144415

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0000,2002
Boot0000* USB Hard Drive (UEFI) - SanDisk (SanDisk)	UsbWwid(781,5581,0,040162680f3e9a45ede7ba422cc75958db83eaf23298f24306e540e035e5247391380000000000000000000096d39b070088901881558107be26530)/HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)䍒
Boot2001* EFI USB Device

Where's entry #2002? Did you truncate the output while pasting it online?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#9 2024-01-18 17:05:09

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't boot back into Arch after liveCD of Ubuntu

Nigh Knight wrote:

I* I only have a liveCD of Ubuntu, not of Arch

You can use the arch-install-scripts package to gain access to the `arch-chroot` command, which will make re-installing your super-secret, mystery bootloader easier. Or just reconstruct the entry with efibootmgr.

If you're using GRUB add the --removable flag to the `grub-install` command to make the drive independently bootable if the NVRAM entries are lost again.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB