How to boot into EndeavourOS after removing Windows 10's SSD?

Hello,

this is it, I’m finally removing windows 10 from my main machine.

I get an error message asking to insert a bootable device and press any key.

The only thing I remember is, I installed windows 10 on it’s own ssd first.
Then EndeavourOS in it’s own SSD as well. And done.

I think there was something about EFI and Legacy BIOS and I chose Legacy BIOS because it was supposed to be easier for both OS to coexist on the same machine.

So far, I’ve edited the fstab file to remove/uncomment the line that mounts windows 10’s ssd.
Then I removed windows’ ssd and rebooted.

I’m guessing here that I need to do a bit more, probably something to do with a bootloader or grub?
I’m not too familiar with these kind of things.

So I’m not sure what to do next to get back into my EndeavourOS.
I could put back the windows’ SSD and I know I get back that grub menu where I can select EndeavourOS.
I could maybe boot from an EndeavourOS live usb drive and do some stuff to fix the ?? bootloader? grub?

Anyone has any idea how I could fix the insert a bootable device and press any key?

thank you in advance

recheck all options in your UEFI boot :

  • Secureboot desactived
  • no Fast , CSM or Legacy
  • all disk on AHCI

reboot on USB iso Endevouros

inxi -Fxza
test -d /sys/firmware/efi && echo efi || echo bios
sudo parted -l
1 Like

Does this mean you have endeavourOS installed in Bios mode? Please run the commands that @Stephane has listed and post.

1 Like

Yes it seems that endeavourOS is installed in Bios mode.

For the command:
test -d /sys/firmware/efi && echo efi || echo bios
the result is BIOS.

For sudo parted -l
the result is:

Windows’ SSD

Model: ATA (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  512GB  512GB  primary  ntfs         boot
 2      512GB   512GB  548MB  primary  ntfs         msftres

EndeavourOS’ SSD:

Disk /dev/sdb: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size    Type     File system     Flags
 1      1049kB  247GB  247GB   primary  ext4            boot
 2      247GB   256GB  9449MB  primary  linux-swap(v1)  swap

For inxi -Fxza

  Kernel: 6.6.25-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-lts
    root=UUID=1591b45b-78de-442d-98fa-e64aa1619b51 rw nowatchdog
    nvme_load=YES resume=UUID=c634763b-2366-4faa-ae7f-b7555a63cd36 loglevel=3
  Desktop: i3 v: 4.23 with: i3bar tools: avail: i3lock vt: 7 dm: LightDM
    v: 1.32.0 Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B560M Pro4 serial: <superuser required>
    uuid: <superuser required> BIOS: American Megatrends LLC. v: P1.80
    date: 04/13/2021

The first UUID=1591b… is the Root partition from the EndeavourOS’ SSD
The second UUID=c634763b… is the swap partition from the EndevourOS’ SSD

And here are the drives:

Drives:
  ID-1: /dev/sda maj-min: 8:0 vendor: N/A model: N/A size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 61.3 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: N/A model: N/A size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 61.3 scheme: MBR

For:

  • Secureboot desactived
  • no Fast , CSM or Legacy
  • all disk on AHCI

Secureboot, CSM, Legacy, all disk AHCI : couldn’t find it in the bios of my motherboard
Fastboot: it’s turned off

is it possible that when I remove the Windows’ SSD, I then need to rebuild the boot partition on the EndeavourOS’ SSD or something like that? Would that be the reason I can’t boot on the EndeavourOS’ SSD without the Windows’ SSD?

First of all, I suggest you backup all your personal data to an external drive before doing anything else.

Looks like you can use the Live USB and reinstall the bootloader to the EndeavourOS disk.

So:

  • remove the Windows disk, if not already removed
  • boot the live USB
  • use program df to see the EndeavourOS disk device (probably /dev/sda)
  • arch-chroot into the EndeavourOS disk:
sudo mount /dev/sda1 /mnt    # check that "a1" is the correct partition!
sudo arch-chroot /mnt

Now you should be “chrooted” to the EndeavourOS install, and you can give the fixing commands:

grub-install /dev/sda        # check the "a" is the correct disk!
grub-mkconfig -o /boot/grub/grub.cfg

For more details, see this: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub