По какой-то причине у меня во время установки в самом конце постоянно вылетает ошибка. Сама системя в общем ставится, но приходится устанавливать grub вручную с livecd и ещё исправлять UUID в файле /etc/fstab. Я уже создавал по этой проблеме топик
Your text to link... и к этому геморою уже привык. Но решил попробовать manjaro KDE. Однако на этот раз старая схема дала сбой. Появилась новая ошибка
grub-install: error: /boot/efi doesn't look like an EFI partition.
Собственно, что я делал для её достижения:
[manjaro@manjaro ~]$ sudo su
[manjaro manjaro]# sudo mkdir /boot/efi
[manjaro manjaro]# mount /dev/sda2 /mnt
[manjaro manjaro]# mount /dev/sda1 /boot/efi
[manjaro manjaro]# cd /mnt
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[root@manjaro /]# sudo pacman -Sy efibootmgr
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: efibootmgr-17-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) efibootmgr-17-1
Total Download Size: 0.03 MiB
Total Installed Size: 0.08 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
efibootmgr-17-1-... 27.4 KiB 0.00 B/s 00:00 [###################] 100%
(1/1) checking keys in keyring [###################] 100%
(1/1) checking package integrity [###################] 100%
(1/1) loading package files [###################] 100%
(1/1) checking for file conflicts [###################] 100%
(1/1) checking available disk space [###################] 100%
:: Processing package changes...
(1/1) reinstalling efibootmgr [###################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@manjaro /]# sudo pacman -Sy dosfstools
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: dosfstools-4.1-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) dosfstools-4.1-3
Total Download Size: 0.06 MiB
Total Installed Size: 0.17 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
dosfstools-4.1-3... 57.4 KiB 617 KiB/s 00:00 [###################] 100%
(1/1) checking keys in keyring [###################] 100%
(1/1) checking package integrity [###################] 100%
(1/1) loading package files [###################] 100%
(1/1) checking for file conflicts [###################] 100%
(1/1) checking available disk space [###################] 100%
:: Processing package changes...
(1/1) reinstalling dosfstools [###################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@manjaro /]# sudo pacman -Sy grub
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) grub-2.04-11.1
Total Download Size: 9.88 MiB
Total Installed Size: 48.87 MiB
Net Upgrade Size: -1.95 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
grub-2.04-11.1-x... 9.9 MiB 2.24 MiB/s 00:04 [###################] 100%
(1/1) checking keys in keyring [###################] 100%
(1/1) checking package integrity [###################] 100%
(1/1) loading package files [###################] 100%
(1/1) checking for file conflicts [###################] 100%
(1/1) checking available disk space [###################] 100%
warning: could not get file information for boot/grub/grub.cfg
:: Processing package changes...
(1/1) upgrading grub [###################] 100%
New optional dependencies for grub
libusb: For grub-emu USB support [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro -recheck
grub-install: invalid option -- 'r'
Try 'grub-install --help' or 'grub-install --usage' for more information.
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
[root@manjaro /]# sudo pacman -Sy mtools os-prober
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: mtools-4.0.24-1 is up to date -- reinstalling
warning: os-prober-1.77-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) mtools-4.0.24-1 os-prober-1.77-1
Total Installed Size: 0.48 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [###########################################################] 100%
(2/2) checking package integrity [###########################################################] 100%
(2/2) loading package files [###########################################################] 100%
(2/2) checking for file conflicts [###########################################################] 100%
(2/2) checking available disk space [###########################################################] 100%
:: Processing package changes...
(1/2) reinstalling mtools [###########################################################] 100%
(2/2) reinstalling os-prober [###########################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
Ноут с GPT разметкой под UEFI. Я создал раздел sda1 на 512 мб, форматировал как fat32, и пометил флагами boot, esp. sda2 — это корневой раздел. Т.е. всё по инструкции.
[root@manjaro /]# parted -l
Model: ATA HGST HTS545050A7 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 ESP Boot boot, esp
2 538MB 54.2GB 53.7GB ext4
3 54.2GB 243GB 189GB ext4
4 243GB 252GB 8703MB ext4
5 252GB 305GB 53.7GB ntfs msftdata
6 305GB 500GB 195GB ntfs msftdata
Model: USB DISK 2.0 (scsi)
Disk /dev/sdb: 7748MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 3120MB 3124MB 4194kB primary esp
Гугл не помог. В основном там у всех просто формат диска в каком-нибудь ext2, а не в fat32. У меня не так. В чём моя ошибка?