Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Windows option disappeared in GRUB after upgrade to Ubuntu 11.10
New Posts  All Forums:Forum Nav:

Windows option disappeared in GRUB after upgrade to Ubuntu 11.10

post #1 of 7
Thread Starter 
Pretty much what the title says. I can boot into previous version of Linux but I cannot see Windows 7.
Edited by leekaiwei - 2/1/12 at 3:21am
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
post #2 of 7
(if you're using grub2) which you should be.

open terminal

sudo apt-get install os-prober
sudo grub-mkconfig -o /boot/grub/grub.conf



If you're using grub1;

sudo nano /boot/grub/menu.lst

and add;

title Microsoft Windows 7
root (hd0,0)
savedefault
makeactive
chainloader +1
Edited by Shrak - 1/31/12 at 3:16pm
post #3 of 7
Thread Starter 
Quote:
Originally Posted by Shrak View Post

(if you're using grub2) which you should be.
open terminal
sudo apt-get install os-prober
sudo grub-mkconfig -o /boot/grub/grub.conf
If you're using grub1;
sudo nano /boot/grub/menu.lst
and add;
title Microsoft Windows 7
root (hd0,0)
savedefault
makeactive
chainloader +1

I did the first method but it didn't detect my Windows. How do I check my GRUB version? In GRUB it says version 1.99. I also tried the second method but that file doesn't seem to exist.
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
post #4 of 7
have you tried doing a simple
sudo update-grub

then rebooting?
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
post #5 of 7
Thread Starter 
Quote:
Originally Posted by nyxcharon View Post

have you tried doing a simple
sudo update-grub
then rebooting?

Did that. Did not find Windows.
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
post #6 of 7
Quote:
Originally Posted by leekaiwei View Post

Did that. Did not find Windows.

Try installing os-prober using apt-get again like mentioned above and then run update-grub again if you already haven't.
Quote:
Originally Posted by Shrak View Post

(if you're using grub2) which you should be.
open terminal
sudo apt-get install os-prober
sudo grub-mkconfig -o /boot/grub/grub.conf
If you're using grub1;
sudo nano /boot/grub/menu.lst
and add;
title Microsoft Windows 7
root (hd0,0)
savedefault
makeactive
chainloader +1

I don't think grub-mkconfig is a valid command on Ubuntu. update-grub is used.
Arcadius
(8 items)
 
Cyrillus
(7 items)
 
 
CPUMotherboardGraphicsRAM
Intel i5-3570k ASUS P8Z77-V LE MSI Geforce GTX 660 Ti Corsair Vengeance Blue 
Hard DriveOSPowerCase
WD Caviar Blue Arch Linux (XFCE) Corsair GS600 Corsair Carbide 300R 
CPUMotherboardGraphicsRAM
i5-3317U Proprietary HD Graphics 4000 Proprietary 
Hard DriveOSCase
520 Series FreeBSD (GNOME) Zenbook Prime UX31A-DH51 
  hide details  
Reply
Arcadius
(8 items)
 
Cyrillus
(7 items)
 
 
CPUMotherboardGraphicsRAM
Intel i5-3570k ASUS P8Z77-V LE MSI Geforce GTX 660 Ti Corsair Vengeance Blue 
Hard DriveOSPowerCase
WD Caviar Blue Arch Linux (XFCE) Corsair GS600 Corsair Carbide 300R 
CPUMotherboardGraphicsRAM
i5-3317U Proprietary HD Graphics 4000 Proprietary 
Hard DriveOSCase
520 Series FreeBSD (GNOME) Zenbook Prime UX31A-DH51 
  hide details  
Reply
post #7 of 7
Quote:
Originally Posted by Rocket Lawnchair View Post

Try installing os-prober using apt-get again like mentioned above and then run update-grub again if you already haven't.
I don't think grub-mkconfig is a valid command on Ubuntu. update-grub is used.

update-grub is just a wrapper for grub-mkconfig me thinks tongue.gif

Edit: http://manpages.ubuntu.com/manpages/karmic/man8/update-grub.8.html
Quote:
NAME
update-grub - stub for grub-mkconfig

SYNOPSIS
update-grub

DESCRIPTION
update-grub is a stub for running grub-mkconfig -o /boot/grub/grub.cfg
to generate a grub2 config file.

SEE ALSO
grub-mkconfig(8)
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Windows option disappeared in GRUB after upgrade to Ubuntu 11.10