You are not logged in.

#1 2022-11-18 20:43:02

jonesan
Member
Registered: 2022-11-18
Posts: 8

[SOLVED]Arch on external drive not showing in boot options

Hello,

Today while installing Arch the following problem occurred: I was unable to see arch in the boot options. I tried several times and I even tried using archinstall. Nothing helped. I am using a Kingston a400 ssd with 256gb of space and Axagon slimport 6 to connect the ssd to my laptop using usb. I want to use this ssd on other computers with the same installation and configuration.

As other post suggest I tried using the --removable flag during the grub-install step. This also didn't help. I get no errors while running this command and while making the default configuration file.

I dual boot with Linux Mint and grub on it had no issues detecting Arch.

Grub config generated with --removable flag
/etc/default/grub

When I used separate partition on my main drive everything worked fine. Using this exernal drive breaks something.

Currently it is late here where I live and I am too tired to do another normal installation. Tomorrow as soon as I wake up I will do it and send you the configs from there.

Thanks in advance!

Last edited by jonesan (2022-11-21 16:18:44)

Offline

#2 2022-11-18 21:23:07

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [SOLVED]Arch on external drive not showing in boot options

When you say it is not in the boot options, do you mean it is not in the options presented by Linux Mint's boot loader? Or do you mean it is not in the list when you pull up the UEFI firmware list (bypassing LM's boot loader)? There is no reason to expect it to be in the first since you've not configured Linux Mint's boot loader to use it. Moreover, you probably don't want to configure it there as it will be liable to disappear. You presumably want to boot Arch the same way you booted the Arch live USB?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-11-18 21:31:44

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

Excuse me for my bad explanation. I have configured LM's bootloader to use it. When I pull up UEFI list only Linux mint shows up. No arch

Offline

#4 2022-11-18 21:38:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,123

Re: [SOLVED]Arch on external drive not showing in boot options

How did you install grub, exactly? What command?

Offline

#5 2022-11-19 09:08:28

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

For the installation I used

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable

And for the config generation I used

grub-mkconfig -o /boot/grub/grub.cfg

To note: I have updated the pasebins in the main post with the ones that are not from archinstall

Offline

#6 2022-11-19 16:36:20

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [SOLVED]Arch on external drive not showing in boot options

Are you issuing those commands when in Linux Mint? Or are you issuing them after arch-chrooting into your Arch system from the live ISO?

lsblk -f

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2022-11-19 16:40:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,123

Re: [SOLVED]Arch on external drive not showing in boot options

You should have a file at <esp>/EFI/BOOT/BOOTX64.EFI, correct?

Offline

#8 2022-11-19 17:13:35

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

Those two command I run from the arch-chroot environment. The output of lsblk -f is

NAME        FSTYPE FSVER LABEL            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                           
└─sda1      ext4   1.0   Seagate Extensio 5c7ae980-99ee-4a33-b78a-b3029161497d                
sdb                                                                                           
├─sdb1      vfat   FAT32                  36BA-0702                             442.8M    13% /boot
├─sdb2      swap   1                      2f08227a-6a8d-452e-b081-17a4379bc8e5                [SWAP]
└─sdb3      btrfs                         eade2958-7dc2-405e-9396-d06cc798e7a5  209.9G     2% /
nvme0n1                                                                                       
├─nvme0n1p1 vfat   FAT32                  4518-C3E1                                           
├─nvme0n1p2 swap   1                      bcebe213-b9a7-4fef-87a4-7caea1cd8d5f                
└─nvme0n1p4 ext4   1.0                    6fb46735-7b4e-4db2-ab14-659d8dc6b4e6                

sda is the drive where I store some files and documents.
sdb is the drive where arch is installed.
nvme0n1 is the drive where LM is installed.

I do have the file <esp>/EFI/BOOT/BOOTX64.EFI

Offline

#9 2022-11-19 19:15:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [SOLVED]Arch on external drive not showing in boot options

So you should be able to select the disk when you boot by bringing up your firmware's boot options (rather than waiting for LM's boot loader to give you options).


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2022-11-19 19:40:14

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

Yes, I should but I am not

Offline

#11 2022-11-20 00:29:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [SOLVED]Arch on external drive not showing in boot options

Did that work when you installed Arch i.e. with the live ISO?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2022-11-20 07:35:31

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

Re: [SOLVED]Arch on external drive not showing in boot options

Is os-prober installed in Mint? GRUB_DISABLE_OS_PROBER=false is set like this in Mint? Do you mount Arch's partitions when using Mint to probe 'em?


<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

#13 2022-11-20 08:08:37

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

I installed arch trough the live iso, but I was also using ventoy.

Yes, os-prober is installed in Mint and GRUB_DISABLE_OS_PROBER is set to false. In mint when I connect some USB storage it is automatically mounted. In my case only the /root partition is mounted and /boot is not mounted

Offline

#14 2022-11-20 18:26:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [SOLVED]Arch on external drive not showing in boot options

You need /boot mounted.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#15 2022-11-20 18:31:31

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

I know that. As I said earlier: I can boot arch using Linux Mint's bootloader. The problem is when I want to choose which OS to boot in the BIOS I don't have the option to do that.

Offline

#16 2022-11-21 15:53:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,310

Re: [SOLVED]Arch on external drive not showing in boot options

The --removable flag does not add NVRAM entries, if you rerun the grub-install command without --removable you will generate an entry (make sure the id is unique among them), however if the drive is in general expected to be "removable" then you are not going to get around this limitation, what your UEFI would show instead is a boot entry for the disk/device name.

Last edited by V1del (2022-11-21 16:06:10)

Offline

#17 2022-11-21 16:18:11

jonesan
Member
Registered: 2022-11-18
Posts: 8

Re: [SOLVED]Arch on external drive not showing in boot options

Thanks, this worked. Not sure why it didn't work the previous times

Offline

Board footer

Powered by FluxBB