You are not logged in.
Pages: 1
I want to separate the boot from the small EFI partition. If I understand correctly I must.
1. Boot with Arch install media.
2. Mount my root partition
3. Mount my EFI partition
4. Move initramfs, vmlinuz, grub (mv /mnt/efi/initramfs* /mnt/efi/vmlinuz* /mnt/efi/grub/ /boot/)
5. Create /efi directory
6. Mount my EFI partition to /efi
7. Enter chroot
8. change /etc/fstab
9. Run grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
10. grub-mkconfig -o /boot/grub/grub.cfg
11. Install linux
Am I correct?
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 205367295 204800000 97,7G Microsoft basic data
/dev/nvme0n1p4 205374960 207431279 2056320 1004,1M Windows recovery environment
/dev/nvme0n1p5 207431680 459089919 251658240 120G Linux filesystem
/dev/nvme0n1p6 459089920 752691199 293601280 140G Linux filesystem
/dev/nvme0n1p7 752691200 976773134 224081935 106,9G Linux filesystem
nvme0n1 259:0 0 465,8G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /boot
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 97,7G 0 part
├─nvme0n1p4 259:4 0 1004,1M 0 part
├─nvme0n1p5 259:5 0 120G 0 part /
├─nvme0n1p6 259:6 0 140G 0 part /home
└─nvme0n1p7 259:7 0 106,9G 0 part /mnt/storage
Last edited by firewalker (2023-05-25 11:08:53)
Γίνε ρεαλιστής, μείνε ονειροπόλος ...
Offline
You can do this directly from the running main system. assuming the last output is your current setup:
Unmount /boot (which is your ESP?)
create the /efi directory
mount nvme0n1p1 to /efi
mv /efi/initramfs* /efi/vmlinuz* /efi/grub/ /boot/
and then do steps 8. to 10. from your list, 11 isn't strictly necessary wouldn't hurt hugely.
Last edited by V1del (2023-05-25 11:01:13)
Offline
Thanks you!
Γίνε ρεαλιστής, μείνε ονειροπόλος ...
Offline
Pages: 1