LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2006, 10:59 PM   #1
mushmaster
Member
 
Registered: Aug 2004
Location: USA - PA
Distribution: ubuntu
Posts: 63

Rep: Reputation: 15
cannot boot windows after installing ubuntu


i've done about a dozen dual boot ubuntu/winxp installs before, and i have never had a problem before this.

i can install windows xp (or windows 2000) just fine, but when i install ubuntu for a dual boot, the windows install gets trashed. i get a blue screen and a:

*** STOP: 0x0000007B (0xF7C2E640, 0x0C000000E, 0x0000000, 0x0000000)

...when i try to boot windows.

i've searched and it seems like i'm not the first to run into this problem, but there doesn't seem to be any solutions.

the hard disk is a Seagate Barricuda 7200 RPM 250 GB SATA and the motherboard is a proprietary shuttle motherboard with the via k8m800ce chipset (SK21G model shuttle).

my menu.lst reads:

Quote:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda5 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.15-23-386
root (hd0,0)
kernel /vmlinuz-2.6.15-23-386 root=/dev/sda5 ro quiet splash
initrd /initrd.img-2.6.15-23-386
savedefault
boot

title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root (hd0,0)
kernel /vmlinuz-2.6.15-23-386 root=/dev/sda5 ro single
initrd /initrd.img-2.6.15-23-386
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Microsoft Windows 2000 Professional
root (hd0,1)
savedefault
makeactive
chainloader +1
and my fstab reads:

Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda5 / reiserfs defaults 0 1
/dev/sda1 /boot reiserfs notail 0 2
/dev/sda3 /home reiserfs defaults 0 2
/dev/sda6 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda2 /temp reiserfs defaults 0 0
i started with more standard partitioning schemes and gotten the same error. i don't think the fstab will be of much help, but there it is.

i have no idea why writing grub to the MBR trashes my windows install. it's never done this in the past (for me anyway).
 
Old 09-05-2006, 11:16 PM   #2
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Well I'm not really sure about how to set up grub, since I usually work with lilo, but on a dualboot system with grub the entry for booting windows looks like that:

title Other
rootnoverify (hd0,1)
chainloader +1


Maybe the makeactive option trashed your windows since it changes state of the partition to active.
Have you tried to recover mbr with some Windows CD and see if Windows then boots?

You could still boot Ubuntu later on with a live CD and just write a new grub.
 
Old 09-05-2006, 11:30 PM   #3
mushmaster
Member
 
Registered: Aug 2004
Location: USA - PA
Distribution: ubuntu
Posts: 63

Original Poster
Rep: Reputation: 15
Have you tried to recover mbr with some Windows CD and see if Windows then boots?

i haven't tried that. whether it worked or not, i don't think it would get me closer to solving the problem. i already know windows boots fine if it has its preferred mbr. i want to chainload NTLDR from GRUB though. (at least that's what i think i want to do, in my understanding of dual booting with GRUB).

You could still boot Ubuntu later on with a live CD and just write a new grub.

that would mean writing over the MBR again, which is, i'm thinking, why i'm having this problem to begin with.
 
  


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
Installing Ubuntu - Windows already loaded N.Srinivasan Linux - Newbie 2 07-23-2006 07:15 AM
installing ubuntu along side windows linux virgin Linux - Software 1 02-17-2006 12:32 PM
Installing Ubuntu WITHOUT formatting Windows ajd Linux - Newbie 8 01-16-2006 01:52 AM
How would I dual boot with Ubuntu and WIndows Xp cheetahman Ubuntu 6 07-13-2005 09:05 PM
I can't boot windows, only ubuntu! Vampirite Ubuntu 3 06-18-2005 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration