You are not logged in.
I'm installing Arch and Windows in one machine, and I planned to mount Windows' EFI partition as Arch's /boot partition. But it's not big enough to install packages which need to put something in the boot partition such as grub, intel-ucode, linux-zen(a kernel).
So I need to make Windows' EFI partition bigger, what and how can I do?
// I can't speak English well, sorry about that.
Offline
<EDIT>
Deleted bad / wrong suggestion (See #3. Thanks @Slithery!)
</EDIT>
mount Windows' EFI partition as Arch's /boot partition. But it's not big enough
Just use /efi instead of /boot: remember to mkdir the /efi folder and mount it under /mnt/efi before entering chroot!
or
[..] it's not big enough [...]
So I need to make Windows' EFI partition bigger, what and how can I do?
Use GParted Live.
Last edited by d.ALT (2023-01-26 16:21:46)
<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
When installing Windows you can create a larger ESP...
https://www.ctrl.blog/entry/how-to-esp- … setup.html
Use GParted Live.
Gparted can't resize EFI partitions.
Offline
I use a tool and make it big enough to install Arch and grub (189mb, from the gap between the partitions, maybe), but not enough for linux-zen.
So I tried a stupid way - delete linux kernel's files in /boot and install linux-zen, then remove linux kernel.
Luckily, it worked without any error
Offline
If you're using GRUB then you don't have to mount the EFI system partition under /boot and in fact I would not recommend it because the FAT filesystem breaks easily.
Offline
Hello! I have a similar issue and I decided not to create a new thread. I'm following the Wiki installation guide, so I wondered if we can just create a /mnt/boot directory without mounting EFI partition there as per Wiki? And then just install a bootloader to EFI part?
Offline
Create any remaining mount points (such as /mnt/boot)
If you're not using /mnt/boot as a mount point, you don't need to create it. You'll get a /boot directory by installing the filesystem package (part of base) with pacstrap.
Online
wiki wrote:Create any remaining mount points (such as /mnt/boot)
If you're not using /mnt/boot as a mount point, you don't need to create it. You'll get a /boot directory by installing the filesystem package (part of base) with pacstrap.
Does it mean, if I don't create /mnt/boot and just mount my root partition and use pacstrap script, it will create a /boot directory itself, and is it going to place kernel there?
Last edited by Kurogane (2023-02-17 11:49:53)
Offline
Yes.
Online
Raynman wrote:wiki wrote:Create any remaining mount points (such as /mnt/boot)
If you're not using /mnt/boot as a mount point, you don't need to create it. You'll get a /boot directory by installing the filesystem package (part of base) with pacstrap.
Does it mean, if I don't create /mnt/boot and just mount my root partition and use pacstrap script, it will create a /boot directory itself, and is it going to place kernel there?
Yes, but you still lack an ESP.
If you're on an UEFI machine, you'll need to put the BootLoader's .efi somewhere in order to get your PC's UEFI Firmware to actually load the BootLoader.
Please have a look at ArchLinux WIKI's relevant page.
<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
Kurogane wrote:Raynman wrote:If you're not using /mnt/boot as a mount point, you don't need to create it. You'll get a /boot directory by installing the filesystem package (part of base) with pacstrap.
Does it mean, if I don't create /mnt/boot and just mount my root partition and use pacstrap script, it will create a /boot directory itself, and is it going to place kernel there?
Yes, but you still lack an ESP.
If you're on an UEFI machine, you'll need to put the BootLoader's .efi somewhere in order to get your PC's UEFI Firmware to actually load the BootLoader.
Please have a look at ArchLinux WIKI's relevant page.
Sorry, I didn't understand that part all too well. I already have Windows 10 installed with it's respective EFI partition. In addition, I also have rEFInd installed on it, acting as my main boot manager. It's just EFI partition size is not sufficient to install from latest archiso. So a way to make the system install bootloader on EFI partition and install kernel somewhere else would solve my issue. Judging from the link you've sent me, do I understand correctly, that:
mount ESP to /efi. Only the EFI binaries (the boot loader (and optionally drivers) and/or the unified kernel image) will be stored on the ESP, which saves storage space.
So can I rather mount EFI partition to /mnt/efi and only have bootloader installed there?
Offline
So can I rather mount EFI partition to /mnt/efi and only have bootloader installed there?
Exactly
<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
Gparted can't resize EFI partitions.
@Slithery, yes it can. I do it all the time. I did it yesterday! I'm a kernel freak who's always configuring and building/compiling my own kernels, so between official kernels and ones from AUR that I customize for my system, I usually have about 12-15 different kernels installed. I ran out of space on my 1 GB EFI partition yesteday, so I booted up a an Ubuntu live environment and used Gparted to resize it. Super easy!
Registered Linux User: #623501 | Arch Linux Principles: Simplicity - Modernity - Pragmatism - User Centrality - Versatility => KISS
Arch Linux, the most exciting thing since Linus created Linux and married it with GNU/GPL.
Arch Linux for Life, Arch Linux Forever!
Offline
Whether gparted works depends on how small the ESP was and how large you want to make it. See https://superuser.com/a/1717415
Offline