You are not logged in.
Pages: 1
I had linux-mainline (AUR) installed on an old Archlinux
Then I re-installed Archlinux on the same partition /dev/nvme0n1p4
and my EFI partition is /dev/nvme0n1p1
I run these: (I follow the installation guide https://wiki.archlinux.org/title/Installation_guide)
mount /dev/(root_partition) /mnt
mount --mkdir /dev/(efi_system_partition) /mnt/boot
mkinitcpio -P
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=(ID)
grub-mkconfig -o /boot/grub/grub.cfg
But after I re-installed Archlinux, which I do not install linux-mainline
I found that there are still linux-mainline img and fallback-img, and boot options of linux-mainline in Advance Options
and I cannot delete them by `rm -f`
What can I do?
Last edited by Firestar (2023-03-03 14:18:17)
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
Of course they still exist if you didn't wipe that partition. Why can't you delete them? Just saying it doesn't work doesn't help.
Online
I found out one solution
1. delete files using 'rm -f'
2. sudo mkinitcpio -P
3. sudo grub-mkconfig -o /boot/grub/grub.cfg
The 1st step is nothing without the 2nd and 3rd step
Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.
Offline
Which is the way to do it. Please mark as [SOLVED] by editing the title in your first post.
Offline
Pages: 1