LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 02-11-2024, 03:02 PM   #1
Calab
Member
 
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 56

Rep: Reputation: 2
Question 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?

Any advice before I start breaking things?
 
Old 02-11-2024, 07:14 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
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).
 
1 members found this post helpful.
Old 02-11-2024, 08:03 PM   #3
Calab
Member
 
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 56

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by mrmazda View Post
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.
 
Old 02-11-2024, 08:22 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
After reinstalling Windows, you will likely need to update grub, as Windows tend to ignore any bootloader but its own.

This looks like a pretty good tutorial, but I have no way of testing it. A web search for "update-grub windows" will turn up others.
 
Old 02-13-2024, 07:19 PM   #5
Calab
Member
 
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 56

Original Poster
Rep: Reputation: 2
Thumbs up Windows Reset worked

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.
 
1 members found this post helpful.
Old 02-14-2024, 07:51 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
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.
 
  


Reply

Tags
dual boot, install, windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to migrate Windows without killing your CTO LXer Syndicated Linux News 0 03-28-2013 08:20 PM
Reinstall Slack's LILO after WIndows XP reinstall __spc__ Linux - Newbie 3 02-15-2009 09:04 AM
Installing OpenSuSE 10.3 without killing Windows MBR on primary drive ciaran_skye SUSE / openSUSE 2 05-07-2008 10:24 AM
To reinstall or not to reinstall...that's the question.. minike Slackware 3 09-17-2005 06:24 PM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration