How to switch back to windows?

mdx323

New Member
Joined
Mar 21, 2019
Messages
7
Reaction score
0
Credits
0
Hello,

I have recently installed fedora onto my computer. I've been trying to switch back to windows but I am not sure how. I've heard that you can switch to windows through GRUB but I didn't see any options for it. I then downloaded grub customize to add a configuration for windows. Am i on the right track or am i missing something.

Thank You
 


Well, it all depends on what you did when you installed Linux. However, it doesn't sound like you took the option that would allow you to go back into Windows without reinstalling it. When you started the install of Linux, you had an entire hard drive dedicated to Windows. If you had shrank that partition and installed Linux in the freespace, you'd have an option to boot to Windows in your existing grub menu. Since you don't, I'm assuming that you overwrote all of the Windows partition with your new Linux info. First thing to do is to open a partition manager, like Gparted and see how your partitions are laid out. If you have an NTFS partition, you may have some options.
I'm assuming you won't since you don't have Windows in the grub menu. To go back to Windows, if I'm correct, you'll need to download the Windows 10 installation and install from scratch. If you already had Windows 10 on your computer, you won't have to worry about activation, just skip it when it asks. You can get the download cd from https://www.microsoft.com/en-gb/software-download/windows10ISO. If you want to have both Windows and Linux, you'll need to install Windows, shrink the partition, then install Linux in the freespace. WIndows doesn't play nice with Linux so it has to be installed first. Linux will play nice with Windows and works side by side nicely.
 
Image attached is my partitions. I see that i have an NTFS partition still. I have also installed windows 10 again before posting initially. It said all of my old files were put into a "windows.old" file. still no results though unfortunately.
 

Attachments

  • Screenshot from 2019-03-22 11-49-23.png
    Screenshot from 2019-03-22 11-49-23.png
    211.7 KB · Views: 1,197
I'm not sure if this information is relevant but these are pictures of my storage folders as well as a picture of my bootloader.
 

Attachments

  • Screenshot from 2019-03-22 12-02-40.png
    Screenshot from 2019-03-22 12-02-40.png
    42 KB · Views: 658
  • Screenshot from 2019-03-22 12-02-53.png
    Screenshot from 2019-03-22 12-02-53.png
    61.3 KB · Views: 714
  • Screenshot from 2019-03-22 12-01-50.png
    Screenshot from 2019-03-22 12-01-50.png
    140.9 KB · Views: 690
  • IMG_4548.JPG
    IMG_4548.JPG
    1 MB · Views: 782
Perhaps it is just a matter of updating GRUB?
Sudo or su update-grub
 
  • Like
Reactions: Rob
I tried that. apparently, that command isn't on fedora. I think i found the fedora substitute for it but I am receiving an error.
 

Attachments

  • Screenshot from 2019-03-22 12-43-02.png
    Screenshot from 2019-03-22 12-43-02.png
    2.3 MB · Views: 793
I believe this error was caused by me. I tried adding a windows configuration to grub customizer before posting initially. I think creating this configuration also created a file named "grub.cfg.new". I'm guessing that there is an error in this configuration that i found online.
 

Attachments

  • Screenshot from 2019-03-22 12-58-25.png
    Screenshot from 2019-03-22 12-58-25.png
    2 MB · Views: 655
Fedora has a different command for updating Grub when UEFI is present.

It is

Code:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Wizard
 
BTW a sudo precedes that above command.

The only Distros that use

Code:
sudo update-grub

are Debian and Debian-based Distros and Manjaro.

In those environments, update-grub is referred to as "a stub", short for

Code:
grub-mkconfig -o /boot/grub/grub.cfg

... again preceded by sudo or executed as Root.

Wizard
 
I tried the command:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
but i still received an error.
 

Attachments

  • Screenshot from 2019-03-23 15-46-22.png
    Screenshot from 2019-03-23 15-46-22.png
    90.1 KB · Views: 674
After deleting that custom windows configuration that i originally put in, the error is gone but windows still isn't showing up.
 

Attachments

  • Screenshot from 2019-03-23 16-10-41.png
    Screenshot from 2019-03-23 16-10-41.png
    65.1 KB · Views: 873

Members online


Top