Access EFI partition files in Linux

1

I am using Arch linux in dual boot with Windows 10 and I want to mount the efi partition in Arch and to delete some files from there, like old Ubuntu grub file and so on... How can I mount this partition? Here is my HDD partitioned:

NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    0 931.5G  0 disk 
├─sda1    8:1    0   300M  0 part 
├─sda2    8:2    0   100M  0 part /boot/efi
├─sda3    8:3    0   128M  0 part 
├─sda4    8:4    0 129.2G  0 part 
├─sda5    8:5    0   835M  0 part 
├─sda6    8:6    0   200G  0 part 
├─sda7    8:7    0   400G  0 part 
├─sda8    8:8    0    67G  0 part /
├─sda9    8:9    0   7.6G  0 part [SWAP]
└─sda10   8:10   0 126.4G  0 part /home

PlugaruT

Posted 2015-08-10T20:07:19.093

Reputation: 113

I smell an XY Problem... Why would you want to delete files from the EFI partition? Also, what happens when you try to mount it?

– Ƭᴇcʜιᴇ007 – 2015-08-10T20:21:18.433

I want to delete some files from it, old Ubuntu grub file because in my BIOS those files appear as boot options, and I don't want that the boot options to became a long list of options and only some of them to work. – PlugaruT – 2015-08-11T09:22:47.440

Answers

2

Try remounting the EFI partition as RW. sudo mount -o rw,remount /boot/efi.

geek1011

Posted 2015-08-10T20:07:19.093

Reputation: 1 180