Namaste/Hello,
After booting up Manjaro GNOME, I was notified that the size on the volume,‘efi’ was low. There were 0 bytes remaining. Here’s the exact message:
Low Disk Space on "efi". The volume "efi" has only 0 bytes disk space remaining
The size of my efi volume is 300MiB. So, what I wanna do is, increase the size of volume efi to a size which will stop giving this notification and doesn’t give problems when I install new OS-es in future. Since I am kind of a newbie, I am facing problems in extending it due to the partition layout given in the below picture:
There’s a 2 MiB unallocated space preceding and 500GiB volume(MANJARO) succeeding the efi volume(300MiB). 431.22 GiB volume is also unallocated.
Thank you
Can you mention how the 4th step is done(in detail ) , i.e. mounting the root partition and editing fstab accordingly? I’m asking this because I’ve never done this process and in case the UUIDs change, I’ll be able to execute the 4th step on spot.
Well first on your currently running system check what’s used to mount partitions in your fstab - UUID or PARTUUID, then do lsblk -o NAME,FSTYPE,LABEL,UUID,SIZE,PARTUUID or simply sudo blkid, copy and save the output somewhere to get access to it later from the live system.
Then, after moving and resizing, execute the same command again and compare with the initial one. Something would have changed probably. If so, find your root partition, mount it (with GUI of your choice) and use sudo nano /PATH/TO/YOUR/ROOT/PARTITION'S/FSTAB to open a terminal editor, and go edit! Ctrl + S to save, Ctrl + X to exit.
I’ve just looked at your Gparted’s screenshot. The process WILL be easy. Much easier than was mine. I guess even UUIDs won’t change.
One question though: how did you manage to fill up your $esp? By defaul Manjaro hardly use it.
Even / is not changing UUID if moved. But it is advisable to restore the bootloader when the start of the / partition is changed. I’d rather keep / partition untouched and use the unallocated space for a new EFI partition.
While doing this, i would advice to create a 1GiB ESP partition, it will be handy one day
(Especially when you want to try different distro’s and/or kernels)
Or…you could even put the ESP on an USB-stick and get rid of it on your HD completely…
(That way your system can only be booted when your USB-stick is connected)
I don’t exactly know how the ESP was full. I think it happened when I installed Android-x_86 alongside Manjaro. Android was installed and then my device ran into some issues due to which I was unable to boot in any of the OS-es. I then fixed it and was able to boot into Manjaro(Android was installed but was not showing up in GRUB menu(I removed Android yesterday)). When I was in the Manjaro session, the notification regarding low disk space on efi appeared. I believe that(not sure though) ESP was full due to installation of Android(and is still full even after removing Android(as per my thinking)).
Note: i have /efi/Manjaro bind-mounted at /boot
Which shows me i still have to uninstall grub from this temporary install, because im using sd-boot as bootloader
I tried tree /boot/efi | xclip (with and without superuser) but there was no output. Hence I tried again using this - sudo tree /boot/efi which gave me the following output:
Do you see this part?
That shows the files occupied by your android install inside the ESP.
So if you don’t use that anymore, to free space, you can remove that android-6.0-rc1 subdirectory with all files under it.
I have no idea how that /boot/efi/grub directory got there, so you might only remove /boot/efi/grub/android-x86.xpm.gz if im not mistaken…
Perhaps that grub directory was also installed at same time with the android install, because it should normally be at /boot/grub…
Yea sory i forgot you need to perform that tree command as root because of permissions on the mount-point
After many edits and re-reading your output:
These files under /boot/efi/EFI/boot also look strange to me…
Checking the time stamps of the files inside the ESP could shed a light on which were installed together.
Thanks to all of you in helping me solve my problem. This wouldn’t have been possible without the support of yours
The reason why I marked @openminded’s advice as solution as it satisfied the condition of the issue. However, @TriMoon’s advice was perfect too(in creating space in ESP by deleting unwanted files).
I would like to mark both of their advice as solution but the forum doesn’t allows so .
Special thanks to @Wollie and @The_Quantum_Alpha for their efforts to solve my problem.