You are not logged in.
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
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
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
How did you install grub, exactly? What command?
Offline
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
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
You should have a file at <esp>/EFI/BOOT/BOOTX64.EFI, correct?
Offline
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
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
Yes, I should but I am not
Offline
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
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
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
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
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
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
Thanks, this worked. Not sure why it didn't work the previous times
Offline