Score:0

Reinstall ubuntu without touching the efi partition

pg flag

I had to reinstall windows with ubuntu already installed, Windows has put its bootloader in the EFI partition of Ubuntu, since the M.2 disk is the first disk, my current situation is as follows

I have Ubuntu on M.2 disk with the following partitions

  1. /dev/nvme0n1p1 2048 1050623 1048576 512M System EFI
  2. /dev/nvme0n1p2 1050624 976771071 975720448 465,3G File system Linux

As a second drive I have Windows 10 with the following partitions

  1. /dev/sda1 2048 34815 32768 16M Reserved Microsoft
  2. /dev/sda2 34816 468860927 468826112 223,6G Data Microsoft

The EFI partition is the first partition of the Ubuntu disk and its content is as follows:

enter image description here

How can I reinstall Ubuntu without losing Windows boot?

If I copy the Microsoft directory from the EFI partition, reinstall Ubuntu normally and put the Microsoft directory back in the same place on the EFI partition, would it work?

ChanganAuto avatar
us flag
Ubuntu will NOT delete the Windows bootloader.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.