LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-27-2009, 11:18 AM   #1
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Rep: Reputation: 7
Unhappy GRUB won't boot Windows 7


Greetings,

I have just installed Windows 7 to my laptop; here are the specifications:

Compaq Presario V6305NR
AMD Turion X2 TL-50
2.00 GB RAM
100GB Hard Drive
  1. hd0,0 Windows 7 Home Premium x86 74GB
  2. hd0,1 Ubuntu 9.04 x86 22GB
  3. swap ~4GB
When I issue GRUB the following commands:

Code:
rootnoverify     (hd0,0)
makeactive
chainloader      +1
I get the following message:
Starting up...
GRUB

And then, it just holds there. I've also tried 'root (hd0,0)'

On the plus side, Ubuntu 9.04 is unaffected once I had Knoppix 6.02 LiveCD correct the boot manager, so it can boot Ubuntu.

Any assistance in this matter would be greatly appreciated
 
Old 10-27-2009, 12:34 PM   #2
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Rep: Reputation: 18
hey! may be the hd0,0 is allocated to default HDD configuration!! and your Win 7 is installed in (hd0,1)


just once try to find the partition where ubuntu is installed i.e. boot from live disk and

open terminal
issue commands:

Quote:
sudo grub
Quote:
find /boot/grub/stage1
this will return your ubuntu partition

now quit grub

Quote:
quit
now figure out the rest of the partitons using command

Quote:
fdisk -l
the output for this command will explain you where your ubuntu and win 7 are installed


Note:: /dev/sda2 = (hd0,1)

and configure rootnoverify (hd0,0) accordingly....
 
Old 10-27-2009, 01:28 PM   #3
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Original Poster
Rep: Reputation: 7
RE:

I know where all my partitions are and where Ubuntu is located.

Windows 7 is on (hd0,0)
Ubuntu is on (hd0,1)

I have GRUB setup accordingly:
Code:
title Windows 7 Home Premium (x86)
rootnoverify (hd0,0)
makeactive
chainloader +1

title Ubuntu 8.04, kernel 2.6.24-24-generic
root  (hd0,1)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID='system created#' ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet
...

Last edited by altech2k3; 10-27-2009 at 02:42 PM. Reason: added more specific coding details
 
Old 10-27-2009, 04:43 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
I'd suggest you check the output of sudo fdisk -l in Ubuntu. If you just installed win 7, you probably had some other OS on it previously and it may have a recovery partition. If win 7 is on (hd0,0), it should boot with the entry you listed for Grub unless your windows bootloader files got messed up.
 
Old 10-27-2009, 08:15 PM   #5
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Original Poster
Rep: Reputation: 7
Resolved

If anyone has been paying attention to this thread, I've resolved the issue. Apparently, Windows 7 doesn't know how to load if it doesn't sit in the MBR.

I resolved it with the repair tools on Vista.

I am so glad I only paid $30 because I broke Windows 7 in 4 days.
 
Old 10-28-2009, 06:57 AM   #6
sd||
Member
 
Registered: Oct 2009
Distribution: Arch Linux
Posts: 89

Rep: Reputation: 18
It is not so!! Win7 can be booted through grub! i myself tried it though! Just make it confirm that you have installed win7 in (hd0,0) else the configuration is good it should boot!!

if it wont work try "startup repair" option of win 7 installation disk and then install grub again from a live CD and edit menu.lst accordingly!!

what i am telling is redo the bootloader from begining! it should fix it!!
 
Old 10-28-2009, 08:43 AM   #7
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Original Poster
Rep: Reputation: 7
Ok. I have fixed the problem. There was nothing wrong with either GRUB or Ubuntu.

I had to insert the Windows Vista disc and run a starup repair.

See, there is a master boot record. And from what I can determine, some hard disks (or operating systems) have a sort-of boot record on the partition. Obviously, in the linux community, the GRUB would be able to handle it perfectly; however, in the Windows community, there is some form of boot handler on the C: partition. The boot handler on my C: drive was corrupted. Vista seemed to have corrected it.

All of my operating systems on that computer are working as I have seen previously.
 
Old 11-06-2009, 11:51 AM   #8
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Original Poster
Rep: Reputation: 7
Additional comments to readers.

I have officially found that the Windows 7 boot handler to be the weakest out of all of the Windows operating systems.

After installing a Windows 7 system onto a dual-boot machine, I re-installed GRUB. GRUB booted Ubuntu 8.04, perfectly; however, when booting the Windows 7 installation, it would return to the boot selection screen or hang with the message, "Starting up...\nGRUB"

I, then, performed a startup repair using Windows Vista and it corrected the problem. After finding that "Upgrading" is b.s., I clean installed my Windows 7 system, and again, I have to correct the boot loader.

I will find out tonight whether the startup repair on, an official copy (hologram present), the Windows 7 install disc fairs as good as the Windows Vista install disc.
 
  


Reply

Tags
ubuntu904, windows7



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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
dual boot - Grub won't boot Windows on /windows/D partition biosol SUSE / openSUSE 9 04-09-2006 08:14 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

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

All times are GMT -5. The time now is 02:41 AM.

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