Can't find ESP flag during manual installation

Good day all, I was on manjaro kyria earlier and I messed up my whole machine. Had issues with grub that I had to reinstall EFI partition on my windows again to make everything clean.

Now I proceeded to installation, selected MANUAL INSTALLATION and other few steps that accompanied it. On reaching the partition assignment page where I will need to defined respective partition for my Linux, I seem not to find the ESP flag. Because according to the installation procedure using the MANUAL WAY, I need to Check “BOOT” and “ESP” for FAT32.

Now I can’t find ESP among list of options. The iso I’m using is the manjaro Lysia 20.0.3… But in older version of kyria 19.0, I could select the option… What could I be missing here

launch gparted
and add flag esp

Just select the boot flag noting else is needed…and set the format to fat32…that’s it …it worked for me

1 Like

How do I go about that. A link will help me if available

boot on USB iso manjaro
and lauch “gparted”
then you can select /boot/efi partition ( check driver /dev/sdX before )
and add flag esp if missing

I would try that out and give feedback.

Can’t find gparted among list of app.

I have solved it using a post on this forum. The procedure on Manjaro Manual wasn’t accurate…

However I’m faced with a new problem now.

After successful installation, I decided to upgrade the system using sudo pacman - Syu.

While it was at package 480 / 528 of the upgrade phase, my system froze and nothing seemed working again. I waited 30 minutes all to no avail.

I decided to force shutdown the system. On reboot, Manjaro was totally missing from the list of OS on the grub menu. All I had were “WINDOWS MANAGER” and “UEFI FIRMWARE SETTING”.

How do I go abt this?

If you can’t find the ESP flag - your system is most likely started in BIOS mode.

I went to the system configuration option via my windows, and the BIOS MODE is UEFI

Anyways how do I solve the missing MANJARO from default manjaro grub menu due to its freezing while upgrading packages

start your system using a bootable USB

Open a terminal
Mount your root and esp partition e.g.

$ sudo mount /dev/sdy9 /mt
$ sudo mount /dev/sdy8 /mnt/boot/efi

then chroot

$ sudo manjaro-chroot /mnt /bin/bash

Then update

# pacman -Syu

Rebuild mkinitcpio and grub

# mkinitcpio -P
# grub-mkconfig -o /boot/grub/grub.cfg

Exit and reboot

# exit
$ reboot

I suppose you have to reinstall Manjaro.

You can’t find Gparted because your DE is KDE Plasma.
In Plasma you can use KDE Partition Manager and follow the @stephane/@linux-aarhus directions.

Okay I will try this out and give feedback on how it all went @linux-aarhus

@gan

I have been able to solve that by selecting Fat32. Under the flag options, I chose only boot. In the type, I selected /boot/efi as stated by a post created by @linux-aarhus

@linux-aarhus

The first command in your post, is it $ sudo mount /dev/sdy9 /mt

or $ sudo mount /dev/sdy9 /mnt

I really wanna be sure if it isn’t a typo. And if it not, I will proceed to trying it out

I didnt get any success running these commands of yours

[manjaro@manjaro ~]$ sudo mount /dev/sdy9 /mnt
mount: /mnt: special device /dev/sdy9 does not exist.
[manjaro@manjaro ~]$ sudo mount /dev/sdy9 /mt
mount: /mt: mount point does not exist.
[manjaro@manjaro ~]$ sudo mount /dev/sdy9 /mnt
mount: /mnt: special device /dev/sdy9 does not exist.
[manjaro@manjaro ~]$ sudo mount /dev/sdy8 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
[manjaro@manjaro ~]$ sudo manjaro-chroot /mnt /bin/bash
mount: /mnt/proc: mount point does not exist.
==> ERROR: failed to setup API filesystems in chroot /mnt
[manjaro@manjaro ~]$ pacman -Syu
error: you cannot perform this operation unless you are root.

However, i proceeded and used manjaro-chroot -a and got the below

manjaro manjaro]# sudo manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p7]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]

I then continued with your steps at pacman -Syu. This yield the following outputs

[manjaro /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: ruby-reline will be installed before its ruby-irb dependency

Packages (65) lua52-5.2.4-5  pamac-gtk-9.5.8-1  pamac-snap-plugin-9.5.8-1
              pamac-tray-appindicator-9.5.8-1  patchutils-0.3.4-4
              pcsclite-1.9.0-1  perl-file-basedir-0.08-5
              perl-file-desktopentry-0.22-7  perl-file-mimeinfo-0.29-4
              perl-ipc-system-simple-1.30-2  perl-parse-yapp-1.21-3
              pkgconf-1.7.3-1  plasma-desktop-5.19.4-1  plasma-nm-5.19.4-1.1
              plasma-pa-5.19.4-1  plasma-workspace-wallpapers-5.19.4-1
              polkit-kde-agent-5.19.4-1  powerdevil-5.19.4-1
              powertop-2.13-1  print-manager-20.08.0-1
              python-distlib-0.3.1-1  python-html5lib-1.1-1
              python-pillow-7.2.0-1  python-pip-20.1.1-1
              python-pyqt5-5.15.0-3  python-pyqt5-sip-12.8.0-1
              python-pytoml-0.1.21-4  python-reportlab-3.5.48-1
              python-resolvelib-0.4.0-1  python-sip-4.19.23-1
              python-yaml-5.3.1-2  qt5-imageformats-5.15.0-1
              qt5-virtualkeyboard-5.15.0-1  rsync-3.2.3-1  ruby-irb-1.2.4-1
              ruby-reline-0.1.4-1  rubygems-3.1.4-1  samba-4.12.3-2
              sddm-0.18.1-3  sddm-breath2-theme-1.0.10-2  sddm-kcm-5.19.4-1
              skanlite-2.2.0-1  snapd-2.45.2-1  spectacle-20.08.0-1
              splix-2.0.0-15  steam-manjaro-1.0.0.64-1  subversion-1.14.0-2
              sudo-1.9.2-1  systemd-sysvcompat-246.3-2  terminus-font-4.48-3
              thunderbird-68.11.0-1  ttf-indic-otf-0.2-11  udiskie-2.2.0-2
              usb_modeswitch-2.6.1-1  user-manager-5.19.4-1
              vcdimager-2.0.1-4  vlc-3.0.11.1-2  webkit2gtk-2.28.4-1
              wireless-regdb-2020.04.29-1  wpebackend-fdo-1.6.1-1
              xapps-1.8.9-3  xorg-twm-1.0.11-1  xxhash-0.8.0-1
              yakuake-20.08.0-1  zenity-3.32.0+50+gc229637-1

Total Installed Size:  673.78 MiB
Net Upgrade Size:        9.93 MiB

:: Proceed with installation? [Y/n] y
(65/65) checking keys in keyring                   [###################] 100%
(65/65) checking package integrity                 [###################] 100%
(65/65) loading package files                      [###################] 100%
(65/65) checking for file conflicts                [###################] 100%
(65/65) checking available disk space              [###################] 100%
warning: could not get file information for usr/lib/thunderbird/distribution/distribution.ini
:: Running pre-transaction hooks...
(1/1) Remove Thunderbird Distribution Settings
:: Processing package changes...
( 1/65) upgrading pamac-gtk                        [###################] 100%
( 2/65) upgrading snapd                            [###################] 100%
New optional dependencies for snapd
    xdg-desktop-portal: desktop integration [installed]
( 3/65) upgrading pamac-snap-plugin                [###################] 100%
( 4/65) upgrading pamac-tray-appindicator          [###################] 100%
( 5/65) upgrading patchutils                       [###################] 100%
( 6/65) upgrading pcsclite                         [###################] 100%
( 7/65) upgrading perl-ipc-system-simple           [###################] 100%
( 8/65) upgrading perl-file-basedir                [###################] 100%
( 9/65) upgrading perl-file-desktopentry           [###################] 100%
(10/65) upgrading perl-file-mimeinfo               [###################] 100%
(11/65) upgrading perl-parse-yapp                  [###################] 100%
(12/65) upgrading pkgconf                          [###################] 100%
(13/65) upgrading polkit-kde-agent                 [###################] 100%
(14/65) upgrading plasma-desktop                   [###################] 100%
(15/65) upgrading plasma-nm                        [###################] 100%
(16/65) upgrading plasma-pa                        [###################] 100%
(17/65) upgrading plasma-workspace-wallpapers      [###################] 100%
(18/65) upgrading powerdevil                       [###################] 100%
(19/65) upgrading powertop                         [###################] 100%
(20/65) upgrading print-manager                    [###################] 100%
(21/65) upgrading python-distlib                   [###################] 100%
(22/65) upgrading python-html5lib                  [###################] 100%
(23/65) upgrading python-pillow                    [###################] 100%
(24/65) installing python-resolvelib               [###################] 100%
(25/65) upgrading python-pip                       [###################] 100%
(26/65) upgrading python-pyqt5-sip                 [###################] 100%
(27/65) upgrading python-pyqt5                     [###################] 100%
New optional dependencies for python-pyqt5
    qt5-quick3d: QtQuick3D
(28/65) upgrading python-pytoml                    [###################] 100%
(29/65) upgrading python-reportlab                 [###################] 100%
(30/65) upgrading python-sip                       [###################] 100%
(31/65) upgrading python-yaml                      [###################] 100%
(32/65) upgrading qt5-imageformats                 [###################] 100%
(33/65) upgrading qt5-virtualkeyboard              [###################] 100%
(34/65) installing xxhash                          [###################] 100%
(35/65) upgrading rsync                            [###################] 100%
(36/65) upgrading rubygems                         [###################] 100%
(37/65) upgrading ruby-reline                      [###################] 100%
(38/65) upgrading ruby-irb                         [###################] 100%
(39/65) upgrading samba                            [###################] 100%
(40/65) upgrading sddm                             [###################] 100%
(41/65) upgrading sddm-breath2-theme               [###################] 100%
(42/65) upgrading sddm-kcm                         [###################] 100%
(43/65) upgrading skanlite                         [###################] 100%
(44/65) upgrading spectacle                        [###################] 100%
(45/65) upgrading splix                            [###################] 100%
(46/65) upgrading wpebackend-fdo                   [###################] 100%
(47/65) upgrading webkit2gtk                       [###################] 100%
(48/65) upgrading zenity                           [###################] 100%
(49/65) upgrading steam-manjaro                    [###################] 100%
New optional dependencies for steam-manjaro
    lib32-libappindicator-gtk2: added tray icon functionality
(50/65) upgrading subversion                       [###################] 100%
New optional dependencies for subversion
    python: for some hook scripts [installed]
(51/65) upgrading sudo                             [###################] 100%
(52/65) upgrading systemd-sysvcompat               [###################] 100%
(53/65) upgrading terminus-font                    [###################] 100%
(54/65) upgrading thunderbird                      [###################] 100%
(55/65) upgrading ttf-indic-otf                    [###################] 100%
(56/65) upgrading udiskie                          [###################] 100%
(57/65) upgrading usb_modeswitch                   [###################] 100%
(58/65) upgrading user-manager                     [###################] 100%
(59/65) upgrading vcdimager                        [###################] 100%
(60/65) installing lua52                           [###################] 100%
(61/65) upgrading vlc                              [###################] 100%
New optional dependencies for vlc
    lua52-socket: http interface
(62/65) upgrading wireless-regdb                   [###################] 100%
(63/65) upgrading xapps                            [###################] 100%
(64/65) upgrading xorg-twm                         [###################] 100%
(65/65) upgrading yakuake                          [###################] 100%
:: Running post-transaction hooks...
( 1/15) Creating system user accounts...
( 2/15) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 3/15) Creating temporary files...
Failed to open file "/sys/devices/system/cpu/microcode/reload": Read-only file system
error: command failed to execute correctly
( 4/15) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 5/15) Arming ConditionNeedsUpdate...
( 6/15) Reloading system bus configuration...
  Skipped: Current root is not booted.
( 7/15) Warn about old perl modules
( 8/15) Updating fontconfig cache...
( 9/15) Compiling GSettings XML schema files...
(10/15) Updating icon theme caches...
(11/15) Updating the info directory file...
(12/15) Copy Thunderbird Distribution Settings
(13/15) Updating the desktop file MIME type cache...
(14/15) Updating the vlc plugin cache...
(15/15) Updating X fontdir indices...

After which i then ran mkinitcpio -P, which produced

[manjaro /]# mkinitcpio -P
==> ERROR: No presets found in /etc/mkinitcpio.d

At this junction, i stopped and didnt proceed further again

It’s definitely /mnt but I don’t see any info in this thread as to what the correct device & partition identifiers are. Maybe posts were deleted?

sudo parted -l

should help determine this.

can you returns

sudo mhwd-kernel -li
sudo ls /boot/*