Grub wont locate windows 10

bi388

Well-Known Member
OP
Member
Joined
May 29, 2015
Messages
1,086
Trophies
0
Age
23
XP
1,225
Country
United States
So for background my pc has a 250gb nvme drive with windows 10 and separate hdds for most files. I just installed Ubuntu budgie today onto a small sata ssd, and when grub launches it does show windows 10 but it shows it under my hdd (which used to have w10 but i manually deleted all the windows files i could when i moved drives). I cannot make my nvme drive show up, and selecting it in the bios still brings me to grub so i am locked out of my windows installation. I tried using boot repair and it recognized the nvme drive as having a windows install, but running it didnt make it show up in grub. Using grub update always just has it locate linux and the hdd. If you know any way to make grub locate the nvme drive please help.
 
D

Deleted User

Guest
It sounds like you may need to edit your grub config file (/boot/grub/grub.cfg) manually. Assuming your laptop uses GPT/EFI, you can follow the instructions here. If your laptop uses MBR/BIOS instead, you can follow these instructions instead. It's from the Arch Wiki, but don't worry; nothing relevant should pertain specifically to Arch.
 
  • Like
Reactions: bi388

bi388

Well-Known Member
OP
Member
Joined
May 29, 2015
Messages
1,086
Trophies
0
Age
23
XP
1,225
Country
United States
It sounds like you may need to edit your grub config file (/boot/grub/grub.cfg) manually. Assuming your laptop uses GPT/EFI, you can follow the instructions here. If your laptop uses MBR/BIOS instead, you can follow these instructions instead. It's from the Arch Wiki, but don't worry; nothing relevant should pertain specifically to Arch.
Update, I was able to get back into windows by shrinking my nvme partition, creating an efi partition with the new space and restoring windows boot files to it. Now I obviously dont have grub, but i am back in windows. I wonder if now reinstalling grub would work, or if I would have to go through everything again. Ill try the solution you sent tomorrow if reinstalling grub doesnt work.
 
  • Like
Reactions: Deleted User

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
5,995
Trophies
1
XP
5,782
Country
United States
when grub launches it does show windows 10 but it shows it under my hdd (which used to have w10 but i manually deleted all the windows files i could when i moved drives)
Wait, what? You didn't properly repartition the drive? Why would you do this?
 

bi388

Well-Known Member
OP
Member
Joined
May 29, 2015
Messages
1,086
Trophies
0
Age
23
XP
1,225
Country
United States
Wait, what? You didn't properly repartition the drive? Why would you do this?
Because it has all of my files on it and I didnt have anywhere to back them up to, so it was a choice of lose all my files or manually delete stuff.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
5,995
Trophies
1
XP
5,782
Country
United States
Because it has all of my files on it and I didnt have anywhere to back them up to, so it was a choice of lose all my files or manually delete stuff.
Welp, got some bad news for you then. You're going to have to properly format the drive. You can't just delete the OS files. You still have the remnant NTFS file system and boot sector, which is ultimately going to cost you your files regardless if you don't back them up.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    Swagboi308 @ Swagboi308: :wacko: