-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to have an /efi partition and NO /boot partition with grub ? #2426
Comments
EDIT : it does not work either with no encryption. I got the following error during grub installation :
My partition layout is simple, in manual mode :
How do you manager that have this setup ?
Below is my actual json
|
If you're specifying a boot flag, and an efi partition for grub, like you have done: "bootloader": "Grub",
"config_version": "2.7.2",
"custom-commands": [
"echo 'GRUB_ENABLE_CRYPTODISK=y' >>/etc/default/grub"
],
"debug": false,
"disk_config": {
"config_type": "manual_partitioning",
"device_modifications": [
{
"device": "/dev/sda",
"partitions": [
{
"btrfs": [],
"dev_path": null,
"flags": [
"Boot",
"ESP"
],
"fs_type": "fat32",
"mount_options": [],
"mountpoint": "/efi", Then it's going to install grub there. But your issue is different, you're asking if you can away with the
|
Hi @Xeckt I think there is a confusion. Look, my current system i have (installed years ago)
i want to keep this kind of setup because with a esp fat32 partition mounted in Now, in arch wiki, instead of having an esp partition mounted in What do i have to modify in my json ? Remove the boot flag from the Thanks |
You would just mount the EFI partition and have it marked as an EFI partition with the boot flag, that EFI will point to the grub inside |
What you are attempting is not supported by archinstall. See #2428 (comment) |
I really wonder what is the usefulness of the installer, it should be much more better to have a Calamares installation, instead of this kind of text-mode installation with few possibilities |
The official Arch Linux installation image utilizes the Linux console and Calamares does not have support for that, does it? |
This is not clear for me of what it's possible to do and not possible with archinstall.
I have tried many times manual partitioning with /efi (in fat32 unencryped of course) partition (and no /boot partition) with btrfs (@ and @home encrypted) with grub as bootloader.
I always end up with issue during grub installation saying I must have
"GRUB_ENABLE_CRYPTODISK=y"
in/etc/default/grub
, what i do in custom commands part ofuser_configuration.json
Before to go further in the investigation, could you please telle me if this kind of setup is possible ?
Many thanks
The text was updated successfully, but these errors were encountered: