Score:0

will resetting windows remove GRUB and Ubuntu

mp flag
Z2r

I am currently dual booting Ubuntu alongside Windows, with both installations being on the same hard drive, just different partitions, and I boot with GRUB. I want to reset windows, through settings with remove all files, but will this also remove GRUB and ubuntu? as I would like to keep them both, so i can continue dual booting, but start with a clean slate on Windows, still keeping everything in tact on ubuntu and the linux side of things.

TL;DR: can i reset windows but keep my ubuntu installation and GRUB?

Levente avatar
cn flag
I see the UEFI tag, so you are affirmative about that it's not a legacy MBR boot schema? It's UEFI, is it?
Z2r avatar
mp flag
Z2r
@Levente ``/sys/firmware/efi`` is present, so yes, I am using UEFI
Joepie Es avatar
eg flag
A reset of Windows will not delete other partitions. I guess though it will make Windows boot loader your main loader again. That is no problem. Run the Live Environment and make Grub the default loader again. See for example: https://askubuntu.com/questions/666631/how-to-get-grub-to-be-the-default-bootloader-instead-of-windows-boot-manager-on-a-UEFI-laptop or search for 'how to make grub default bootloader'.
guiverc avatar
cn flag
When I need to do something, I just do it. You gave no specifics as to what Ubuntu you're talking about, thus I can only be generic. In almost all cases you can correct whatever is lost during re-installs, but even if you can't; you can re-install a Ubuntu Desktop system without any loss of data, and have the *manually installed* packages you added post-install auto re-install (where from Ubuntu repositories) so non-destructive re-install is usually done in ~15 minutes anyway; but that's only ever the fallback if it can't be fixed. Your question answer is YES, but clean/fix up maybe required.
AamirA avatar
jp flag
Installing windows will overwrite grub. You will need to reinstall grub through a live usb stick running linux. You can use the [grub-install](https://www.fosslinux.com/4477/how-to-repair-the-grub-bootloader-using-a-ubuntu-live-usb-drive.htm) command for the terminal approach of reinstalling grub or the graphical way using the [boot repair app](https://linuxhint.com/ubuntu_boot_repair_tutorial/). Reinstalling grub will not mess with your Ubuntu install though.
karel avatar
sa flag
Does this answer your question? [How can I repair grub? (How to get Ubuntu back after installing Windows?)](https://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows)
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.