LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-07-2011, 05:44 PM   #1
syfah
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
I cannot boot windows from the GRUB loader screen??? HELP!


i installed ubuntu 11.04 with a problem that came up in installation. It said that it could not detect any other OS's on my Computer. Anyways, i just selected manually resize partitions and continued.(i had made a sep partition for ubuntu) Now when GRUB load's it cannot see WINDOWS VISTA! it does show me the windows recovery loader thing. I can still access windows harddrives from ubuntu, so i know windows is still there! (C drive and D drive) I really need to get back to windows and need your guys help!
INCLUDED RESULTS.txt!
Attached Files
File Type: txt RESULTS.txt (19.9 KB, 14 views)
 
Old 08-07-2011, 06:19 PM   #2
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
I don't know if this is true for your case, but on two computers, one with Vista, the other with Windows 7, the "Windows Recovery" option was actually the normal Windows partition.
 
Old 08-07-2011, 06:41 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
Your bootinfo script output shows a menu.lst file on both sda5 and sda7. Both of these files have entries for vista on sda2 (hd0,1). Since Grub2 is installed to the master boot record these files are not used. The grub.cfg files are used and you have entries in the grub.cfg files on sda5 and sda7 for the recovery partition (sda1) but no entries for the vista partition on sda2. You will need to put an entry there. Have you tried booting Ubuntu and running sudo os-prober and when that completes sudo update-grub? That would be the easiest.

If that doesn't work for you, you can create/add a custom entry to the correct grub.cfg file (sda5 or sda7). The site below explains how to do that in Section 6:

https://help.ubuntu.com/community/Grub2
 
Old 08-07-2011, 06:57 PM   #4
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2/15.3, Tumbleweed, Kubuntu 18.04/21.04, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 860
Blog Entries: 45

Rep: Reputation: 120Reputation: 120
Boot Partition

Something to watch for is that Windows often creates a first boot partition. Something you can do in the median term is:
1. Start up and hit c once the menu appears
2. Type chainloader (hd0,1)+1
3. Hit ENTER
4. Type boot
5. Hit ENTER

If it doesn't work, try using hd0,0 or hd0.2.

Last edited by wagscat123; 08-08-2011 at 12:29 AM. Reason: Remembered this tip.
 
Old 08-07-2011, 06:58 PM   #5
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by syfah View Post
i installed ubuntu 11.04 with a problem that came up in installation. It said that it could not detect any other OS's on my Computer. Anyways, i just selected manually resize partitions and continued.(i had made a sep partition for ubuntu) Now when GRUB load's it cannot see WINDOWS VISTA! it does show me the windows recovery loader thing. I can still access windows harddrives from ubuntu, so i know windows is still there! (C drive and D drive) I really need to get back to windows and need your guys help!
INCLUDED RESULTS.txt!
In most circumstances a variation of the following line will locate all OS installations and make them appear in the boot menu:

Code:
sudo grub-install --boot-directory=/mnt/boot /dev/sda
Replace "/mnt/boot" with your main Ubuntu boot drive space.

You can also use boot-repair to recover your OS installations.

Code:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update && sudo apt-get install -y boot-repair-ubuntu
-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 09:36 AM
Putting 3 windows OS into Grub Menu without going thru windows boot loader c_mack93 Ubuntu 8 11-13-2009 10:23 PM
Using the windows boot loader to start GRUB NoahT1BM Linux - Newbie 2 02-25-2008 11:23 AM
Replacing windows boot loader by GRUB mohtasham1983 Linux - General 13 02-03-2007 04:20 AM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration