21.03.2019 16:18, Patrick Shanahan пишет:
* Andrei Borzenkov <arvidjaar@gmail.com> [03-21-19 09:03]:
On Thu, Mar 21, 2019 at 3:58 PM Patrick Shanahan <paka@opensuse.org> wrote:
* Andrei Borzenkov <arvidjaar@gmail.com> [03-21-19 08:52]:
On Thu, Mar 21, 2019 at 3:45 PM Patrick Shanahan <paka@opensuse.org> wrote:
no, the efi partition is unmountable but I can read it with efibootmgr which provides: # efibootmgr BootCurrent: 0002 Timeout: 0 seconds BootOrder: 2001,2003,2002 Boot0000* Realtek PXE Boot0001* Realtek PXE Boot0002* EFI USB Device (ASIX AX88772 USB Fast Ethernet Controller) Boot2001* EFI USB Device Boot2002* EFI DVD/CDROM Boot2003* EFI Network
This command invocation does not touch ESP at all.
then how does one repopulate the EFI partition, in my case /dev/sda1 ?
I do not understand what "repopulate EFI partition" means, sorry. In any case, if this disk area is damaged you probably cannot "repopulate" it anyway.
actually referring to the replacement. how does one create the efi partition and put/write there what is needed (repopulate). I have built many systems but none with efi/esp. I am still using my last home-built box as my main workstation and it has been quite a few years.
You can create ESP using any tool you are familiar with - fdisk, gdisk, (g)parted, YaST. All offer mnemonic names for partitions so you do not need to remember EFI System Partition ID or GUID. Format it as FAT32, mount as /boot/efi. Then make sure you boot rescue medium in EFI mode, chroot, make sure you have all btrfs subvolumes mounted (mount -a -t btrfs) besides usual /sys, /dev, /proc and do "update-bootloader --reinit". Assuming bootloader configuration was correct previously, this should copy whatever files are necessary onto ESP and create NVRAM boot entry. You can also use shim-install or grub2-install directly. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org