Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: I can only start Artix with my USB flash drive. (Read 1394 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

I can only start Artix with my USB flash drive.

Hi, I just installed Artix, but for some reason I can only load the EFI bootloaders within the menu that pops up when I boot the system with the USB flash drive (the "installation menu"), basically I go to "Detect EFI bootloaders" and select it; but when I boot the PC without the USB  I can't start it, since apparently the EFI bootloaders doesn't get detected.

I installed it in a UEFI machine in a GPT-type SSD, I tried to install Artix before with the "standard BIOS" but this Samsung BIOS is simplified to the point of not having this option.

P.S.: I used "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub" and "grub-mkconfig -o /boot/grub/grub.cfg" in the end.

Thanks.


Re: I can only start Artix with my USB flash drive.

Reply #2
Obvoously /boot/efi is on an extended vfat32 partition?

Re: I can only start Artix with my USB flash drive.

Reply #3
Which ISO? Please post /etc/os-release.
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://wiki.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo
VERSION_ID=20230710
VARIANT=base-runit

I wonder if the problem is in my BIOS, I'm using a laptop recently launched by Samsung, and it also came with Windows 11 installed; as I said, I tried to enable csm UEFI but I couldn't find it in the BIOS, very few options there.

Obvoously /boot/efi is on an extended vfat32 partition?
It is, I can normally launch the OS, but only through the USB flash drive menu, by choosing the bootloaders there, the BIOS itself doesn't seem to detect it I think.

Re: I can only start Artix with my USB flash drive.

Reply #4
WTF is this crap, we don't have any privacy policies because we don't collect anything whatsoever.

VERSION_ID=20230710
VARIANT=base-runit
So, you did a base install, ergo the error is in the procedure you followed (also known as PEBKAC). You may refer to @mrbrklyn's answer.


Re: I can only start Artix with my USB flash drive.

Reply #6
Which ISO? Please post /etc/os-release.
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://wiki.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo
VERSION_ID=20230710
VARIANT=base-runit


that information is not very enlightening.  You have something fundementally wrong happening here and your not helping to make it clear because you you keep using the term BIOS incorrectly.  Start from the beginning and make SURE you have an correct partition which should include a /boot/efi  vfat UEFI partition.

It looks like you have a windows boot manager.  It is possible that it can't be removed because of secure boot.  You should be able to use it to boot the linux kernal anyway.

If you are using GPT, which is highly possible, you need to make sure you leave some empty space on the drive on the end (i think - search for gpt and EFI)

Re: I can only start Artix with my USB flash drive.

Reply #7

NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://wiki.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo
VERSION_ID=20230710
VARIANT=base-runit


that information is not very enlightening.  You have something fundementally wrong happening here and your not helping to make it clear because you you keep using the term BIOS incorrectly.  Start from the beginning and make SURE you have an correct partition which should include a /boot/efi  vfat UEFI partition.

It looks like you have a windows boot manager.  It is possible that it can't be removed because of secure boot.  You should be able to use it to boot the linux kernal anyway.

If you are using GPT, which is highly possible, you need to make sure you leave some empty space on the drive on the end (i think - search for gpt and EFI)

I have redone the installation multiple times, but the problem still persists, and made sure to make the vfat UEFI partition. I think the fact that the USB flash drive can detect the EFI bootloader already tells that the vfat boot partition is set correctely, otherwise it wouldn't even detect it.

In the "Samsung BIOS Configuration" I can turn off the "Secure Boot Control", I did it but still doesn't work.

I'm using GPT, by leaving an empty space on the drive you mean setting a partition appart? I searched about and found this: "On a BIOS/GPT configuration, a BIOS boot partition is required [...] For UEFI systems this extra partition is not required, since no embedding of boot sectors takes place in that case. However, UEFI systems still require an EFI system partition."

I bought my laptop recently and it's a recent Samsung model, I'm suspecting that it's "biased" to the Windows OS and for this reason It is not detecting the bootloader.

Re: I can only start Artix with my USB flash drive.

Reply #8
WTF is this crap, we don't have any privacy policies because we don't collect anything whatsoever.
Maybe it is an EU requirement?
No, it's automatically added by something during the file creation. Will investigate, indefinitely later.

VERSION_ID=20230710
VARIANT=base-runit
that information is not very enlightening.
It actually is, it's the first debugging step. Had @user_abc performed a non-base install, I bet it would have succeeded.
@user_abc Post 'fdisk -l /dev/sdX', where X your installation drive.

Re: I can only start Artix with my USB flash drive.

Reply #9

Maybe it is an EU requirement?
No, it's automatically added by something during the file creation. Will investigate, indefinitely later.


that information is not very enlightening.
It actually is, it's the first debugging step. Had @user_abc performed a non-base install, I bet it would have succeeded.
@user_abc Post 'fdisk -l /dev/sdX', where X your installation drive.
Thanks for the reply, here it is (P.S.: My installation drive is named "nvme0n1"):

Code: [Select]
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SSSTC CL1-8D512
Units: sectors of 1 * 512  = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optional): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FBF07F55-CEA4-461F-930E-2D18D34F391D

Device                    Start       End               Sectors       Size     Type
/dev/nvme0n1p1   2048       2099199       2097152     1G       Linux filesystem
/dev/nvme0n1p2   2099200 1000214527 998115328 475.9G Linux filesystem

[EDIT by a mod: code tags]

Re: I can only start Artix with my USB flash drive.

Reply #10
Code: [Select]
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SSSTC CL1-8D512
Units: sectors of 1 * 512  = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optional): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FBF07F55-CEA4-461F-930E-2D18D34F391D

Device                    Start       End               Sectors       Size     Type
/dev/nvme0n1p1   2048       2099199       2097152     1G       Linux filesystem
/dev/nvme0n1p2   2099200 1000214527 998115328 475.9G Linux filesystem
So, there's no VFAT partition for the EFI whatsitsname, so you didn't read the installation instructions carefully. There's a note about the EFI system partition you missed. Or do a non-base install with calamares and see how it creates the partition layout.

Re: I can only start Artix with my USB flash drive.

Reply #11



that information is not very enlightening.  You have something fundementally wrong happening here and your not helping to make it clear because you you keep using the term BIOS incorrectly.  Start from the beginning and make SURE you have an correct partition which should include a /boot/efi  vfat UEFI partition.

It looks like you have a windows boot manager.  It is possible that it can't be removed because of secure boot.  You should be able to use it to boot the linux kernal anyway.

If you are using GPT, which is highly possible, you need to make sure you leave some empty space on the drive on the end (i think - search for gpt and EFI)

I have redone the installation multiple times, but the problem still persists, and made sure to make the vfat UEFI partition. I think the fact that the USB flash drive can detect the EFI bootloader already tells that the vfat boot partition is set correctely, otherwise it wouldn't even detect it.

In the "Samsung BIOS Configuration" I can turn off the "Secure Boot Control", I did it but still doesn't work.

I'm using GPT, by leaving an empty space on the drive you mean setting a partition appart? I searched about and found this: "On a BIOS/GPT configuration, a BIOS boot partition is required [...] For UEFI systems this extra partition is not required, since no embedding of boot sectors takes place in that case. However, UEFI systems still require an EFI system partition."

I bought my laptop recently and it's a recent Samsung model, I'm suspecting that it's "biased" to the Windows OS and for this reason It is not detecting the bootloader.

https://wiki.archlinux.org/title/EFI_system_partition

Re: I can only start Artix with my USB flash drive.

Reply #12
So, there's no VFAT partition for the EFI whatsitsname, so you didn't read the installation instructions carefully. There's a note about the EFI system partition you missed. Or do a non-base install with calamares and see how it creates the partition layout.

I just did it and still the same; I have actually already seem it previously and made this step yesterday in another installation attempt, but the output was the same this time.
 
I also used:
mkfs.fat -F 32 /dev/nvme0n1p1 --> mkdir /mnt/boot --> mkdir /mnt/boot/efi --> mount /dev/nvme0n1p1 /mnt/boot/efi

I used "fdisk -l" and the USB device (/dev/sda) shows its disklabel type as "dos" and its subdirectories like this:
Device       Boot  Start        End          Sectors    Size       Id  Type
/dev/sda1  *        64           1613511  1613448  787.8M  0   Empty
/dev/sda2           1613512  1621703  8192        4M        ef  EFI (FAT-12/16/32)

Meanwhile, the installation drive (/dev/nvme0n1) shows its disklabel type as "gpt" and its subdirectories like this:
Device                    Start       End               Sectors       Size     Type
/dev/nvme0n1p1   2048       2099199       2097152     1G       EFI System
/dev/nvme0n1p2   2099200 1000214527 998115328 475.9G Linux filesystem

I'll do a non-base install now, as you suggested, to see if it works at least (but I still pretend to go through the base version in the end).

 

Re: I can only start Artix with my USB flash drive.

Reply #14
I did, it seems like that's the solution, but I'm not sure how to proceed in the process of making these modifications.
1) I don't have any "functional" OS in my PC, I totally removed Windows, so I guess I don't have the "/efi/microsoft/boot/bootmgfw.efi", I don't know if I can simply create this directory with mkdir and use the "mv" command to insert the grubx64.efi there.
2) I tried the other option but to be honest I don't even remember well if I did it the right way, the last 4 days I've been trying to make it and my brain is struggling.

I'll try to make use of your suggestion again and see if I can make it somehow, thanks.