[SOLVED] Reinstall Windows 11 without killing Ubuntu installation?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Reinstall Windows 11 without killing Ubuntu installation?
Currently, my computer boots between Windows 11 and Ubuntu Linux. Each installation is on their own drive. I choose which OS to use with the Grub menu.
I want to erase the entire Windows drive and reinstall Windows 11 fresh. I'm sure that this will mess up my dual booting system somehow. If it would make things easier, I would consider wiping the Linux drive as well and reinstalling. All my data will be backed up on a third HDD.
This is an EFI system, so I also need to worry about where the EFI partition lives.
Normally, I would just disconnect the Linux drive and do the installation, but it's a M.2 drive that would require a lot of disassembly to remove.
How can I be sure that grub is currently installed on the Linux hard drive and not the Windows drive?
Why must you erase the Windows drive? Just tell Windows' installer to replace the existing Windows installation. It won't have any reason to change any partitioning if you choose to install in place of the existing Windows installation. With UEFI, there's nothing Grub put on disk for Windows to want to overwrite. The most that would need to be done is to re-prioritize within BIOS setup, or using efibootmgr.
Be sure to designate formatting only the Windows system partition if you have only a single ESP that is currently shared by Windows and Ubuntu (which is not what your description suggests to be your current configuration).
Why must you erase the Windows drive? Just tell Windows' installer to replace the existing Windows installation. It won't have any reason to change any partitioning if you choose to install in place of the existing Windows installation. With UEFI, there's nothing Grub put on disk for Windows to want to overwrite. The most that would need to be done is to re-prioritize within BIOS setup, or using efibootmgr.
Be sure to designate formatting only the Windows system partition if you have only a single ESP that is currently shared by Windows and Ubuntu (which is not what your description suggests to be your current configuration).
Thanks for the help! I had forgotten about the Window "reset" feature. That should be more than enough.
So I did the Windows reset, clearing all my user files and apps. It went well and I did not have to fix anything as far as dual booting. Grub still works.
A similar option when installing windows is to select the 'Custom' install option on the windows installer. You should see this immediately after the EULA page at the beginning of the installation. The reset option seems best in your situation and the 'Custom' option would be used to select a windows partition or unallocated space on which to install so a user does not overwrite an existing data or system partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.