Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Grub2 not seeing Windows
New Posts  All Forums:Forum Nav:

Grub2 not seeing Windows - Page 2

post #11 of 22
Did you run
Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg
after you edited the file?
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #12 of 22
Thread Starter 
Quote:
Originally Posted by Diffident View Post

Did you run
Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg
after you edited the file?
Ah, thank you. Upon doing so, Windows 7 does indeed show up as an option in the grub menu.
However upon choosing that option, it says error: /bootmbr is missing.

Would that be a problem that I would have to repair using my Win7 installation media?
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
post #13 of 22
Quote:
Originally Posted by Fear of Oneself View Post

Here's what I get

How do I fix this? When I installed it, I checked the option "use entire disk" (there were a number of partitions on there before) and ran with it. Should I reinstall opensuse with some different parameters? I still have the liveUSB on me, and there's almost nothing on this partition...other than my dropbox stuff
Oh, my bad. It should be "export esp=/boot/". I forgot that there should not be spaces and the dollar sign isn't needed.
Gaming rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 6600k Asus Z170-A MSI GTX 1070 Armor OC Kingston HyperX Savage 16Gb DDR4 3000MHz (2 kit... 
Hard DriveHard DriveCoolingCooling
Samsung 850 Evo 250Gb Samsung 850 Evo 250Gb Corsair Hydro H110i GT Phanteks PH-140SP 140mm fan (1x Rear exhaust) 
CoolingCoolingOSKeyboard
Phanteks PH-140MP 140mm fan (2x Top exhaust/rad... Scythe Slip Stream 120 DB PWM 120mm fan (3x Fro... Windows 10 Pro Logitech G810 Orion Spectrum 
PowerCaseMouseMouse Pad
Corsair RM750i Phanteks Enthoo Pro M Acrylic Steelseries Rival 100 Roccat Kanga XXL 
OtherOtherOtherOther
Cablemod Black & White full set for RMi-series CableMod ModFlex SATA 3 Cable CableMod ModFlex SATA 3 Cable CableMod ModFlex SATA 3 Cable 
  hide details  
Reply
Gaming rig
(20 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 6600k Asus Z170-A MSI GTX 1070 Armor OC Kingston HyperX Savage 16Gb DDR4 3000MHz (2 kit... 
Hard DriveHard DriveCoolingCooling
Samsung 850 Evo 250Gb Samsung 850 Evo 250Gb Corsair Hydro H110i GT Phanteks PH-140SP 140mm fan (1x Rear exhaust) 
CoolingCoolingOSKeyboard
Phanteks PH-140MP 140mm fan (2x Top exhaust/rad... Scythe Slip Stream 120 DB PWM 120mm fan (3x Fro... Windows 10 Pro Logitech G810 Orion Spectrum 
PowerCaseMouseMouse Pad
Corsair RM750i Phanteks Enthoo Pro M Acrylic Steelseries Rival 100 Roccat Kanga XXL 
OtherOtherOtherOther
Cablemod Black & White full set for RMi-series CableMod ModFlex SATA 3 Cable CableMod ModFlex SATA 3 Cable CableMod ModFlex SATA 3 Cable 
  hide details  
Reply
post #14 of 22
Quote:
Originally Posted by Fear of Oneself View Post

Ah, thank you. Upon doing so, Windows 7 does indeed show up as an option in the grub menu.
However upon choosing that option, it says error: /bootmbr is missing.

Would that be a problem that I would have to repair using my Win7 installation media?

Since you seem to be missing a Windows boot partition, lets try the old fashion way first.
Code:
menuentry "Windows 7 BIOS MBR" {
insmod part_msdos
insmod ntfs
set root='(hd1,0)'
chainloader +1
}


Then once again run
Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #15 of 22
Thread Starter 
Now it says error: no such partition

Do you think that it's just a nomenclature thing now?
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
post #16 of 22
I think we just need to find the proper partition, though I thought I knew where it was already from your fdisk output.

Normally windows 7 installs contain a separate boot partition, which your's does not.
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #17 of 22
Thread Starter 
Quote:
Originally Posted by Diffident View Post

I think we just need to find the proper partition, though I thought I knew where it was already from your fdisk output.

Normally windows 7 installs contain a separate boot partition, which your's does not.

That's weird indeed. Now one option might be for me to reinstall windows 7, then boot off the LiveUSB and repair grub once the windows MBR nukes it from orbit correct?
There is literally nothing in my Windows 7 install, not even device drivers at this point. I installed Windows first, then OpenSuse under the assumption that grub2 would locate it, which it never did.

I'm quite open to options at this point, and really just want to learn as much as I can. I've been a regular Linux user for a number of years now (I think I initially was on Ubuntu 10.04 when it was new) but never really ventured outside of the Ubuntu environment until recently.

Assuming I was to start from scratch again, and reinstall Windows+Linux brand new, what would be the 'ideal' order to do that in? Further, is there a specific bootloader which is favourable for dual boots?
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
post #18 of 22
Quote:
Originally Posted by Fear of Oneself View Post

That's weird indeed. Now one option might be for me to reinstall windows 7, then boot off the LiveUSB and repair grub once the windows MBR nukes it from orbit correct?
There is literally nothing in my Windows 7 install, not even device drivers at this point. I installed Windows first, then OpenSuse under the assumption that grub2 would locate it, which it never did.

I'm quite open to options at this point, and really just want to learn as much as I can. I've been a regular Linux user for a number of years now (I think I initially was on Ubuntu 10.04 when it was new) but never really ventured outside of the Ubuntu environment until recently.

Assuming I was to start from scratch again, and reinstall Windows+Linux brand new, what would be the 'ideal' order to do that in? Further, is there a specific bootloader which is favourable for dual boots?

The proper order for installs would be Windows first, then linux. When you install linux install grub to the linux drive, not the windows drive. That way the windows bootloader is left untouched. Then boot from the linux drive.

If you unplug the linux drive, will Windows Boot?
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #19 of 22
Thread Starter 
Quote:
Originally Posted by Diffident View Post

The proper order for installs would be Windows first, then linux. When you install linux install grub to the linux drive, not the windows drive. That way the windows bootloader is left untouched. Then boot from the linux drive.

If you unplug the linux drive, will Windows Boot?

That's what I was thinking, and actually what I did.

As for booting off of the Windows drive only, I'd have to remove my internal laptop drive which is no easy task unfortunately. And I looked in the BIOS to just make it boot first, but I can't really do that.

However! My BIOS has a list of devices in its boot sequence, and one of the devices is the CD-ROM (even though that drive is gone) I set that one to the 1st drive in the sequence, and it bypasses it immediately upon boot. Now assuming it actually is working correctly (it might not be though) and attempts to boot off the Windows disk first, but skips it immediately, could it indicate some issue with my Windows boot manager potentially?
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
Free Speed
(16 items)
 
  
CPUMotherboardGraphicsRAM
Athlon X2 5400+ @ 3.57 GA-MA770-UD3 Geforce 6200SE 32-bit 2x2GB DDR2 G.Skill 1020MHz 4-4-4-5-2T 
Hard DriveCoolingOSMonitor
80GB Seagate Apogee GTZ with RV Antifreeze Windows XP 32-bit SP3 old 1440x900 monitor from goodwill 
PowerCaseOther
EVGA 500W none Antifreeze coolant for <0C overclocking 
  hide details  
Reply
post #20 of 22
Quote:
Originally Posted by Fear of Oneself View Post

That's what I was thinking, and actually what I did.

As for booting off of the Windows drive only, I'd have to remove my internal laptop drive which is no easy task unfortunately. And I looked in the BIOS to just make it boot first, but I can't really do that.

However! My BIOS has a list of devices in its boot sequence, and one of the devices is the CD-ROM (even though that drive is gone) I set that one to the 1st drive in the sequence, and it bypasses it immediately upon boot. Now assuming it actually is working correctly (it might not be though) and attempts to boot off the Windows disk first, but skips it immediately, could it indicate some issue with my Windows boot manager potentially?

It may not be seeing the Windows boot manager, or it's still looking for a CD-ROM and moving on because it doesn't see one. I think putting in your windows media and using windows recovery should be done just to verify windows will boot at all... and hope it doesn't nuke grub in the process, which I'm thinking it won't because it's on a separate drive, though I'm not making any promises. tongue.gif
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Grub2 not seeing Windows