LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2008, 12:51 PM   #1
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Rep: Reputation: 0
Installed Kubuntu- now Windows XP won't start


I have a desktop pc that has Windows XP Home. I installed Kubuntu as a dual boot on a partition and it works fine. I tried to start Windows, though, and it will no longer start up. When I turn the computer on it shows Windows XP as one of the OS choices. I booted with Kubuntu and went to Dolphin File Manager and it found the Windows partition. My data is still all there. What could I have done to cause this? Any ideas on how to fix it?
 
Old 08-18-2008, 12:58 PM   #2
Phoxis
Member
 
Registered: Feb 2008
Location: India, Kolkata
Distribution: Fedora 16
Posts: 59

Rep: Reputation: 16
When the boot manager shows the GRUB screen (is it grub or lilo?) with the OS menus, Kubuntu autoboots. Is it correct?
If yes then when the grus shows that screen keep tapping the up or down arrow you will see the GRUB menu will stay. Then by using the up and down arrow select the Windows Boot entry and press error.
If the solves the problem you have then let me know now. I will tell how can you boot Windows by default (if you want) if you dont know.
 
Old 08-18-2008, 01:35 PM   #3
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
The GRUB screen is the one that comes up. If I select Windows XP and press "enter" the next screen says "starting up" with a cursor blinking, but then nothing happens.

What do you mean by press "error?"
 
Old 08-18-2008, 02:14 PM   #4
superdog
Member
 
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Rep: Reputation: 16
Maybe he meant enter. Anyways, you could check that the partition information in /boot/grub/menu.lst matches where your windows partition actually is, perhaps it was set up wrong. If windows is on your first primary partition it should say something like

title windows XP
root (hd0,0)

edit: What is your partition setup? and what was it before you installed linux?

Last edited by superdog; 08-18-2008 at 02:29 PM.
 
Old 08-18-2008, 02:56 PM   #5
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by superdog View Post
Maybe he meant enter. Anyways, you could check that the partition information in /boot/grub/menu.lst matches where your windows partition actually is, perhaps it was set up wrong. If windows is on your first primary partition it should say something like

title windows XP
root (hd0,0)

edit: What is your partition setup?
I am really new at Linux. When I installed it, my machine had Windows XP and the hard drive was not partitioned. I used the Kubuntu CD, selected the option for guided installation and used the slider to make a partition for Windows that was 60% of the drive, leaving 40% for the Linux install.

How do I find the information on the partition?
 
Old 08-18-2008, 03:05 PM   #6
superdog
Member
 
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Rep: Reputation: 16
You can use fdisk to see what your partition layout is, but if you don't know what your doing it is best not to. Can you post the contents of the files /etc/fstab and /boot/grub/menu.lst
 
Old 08-18-2008, 03:12 PM   #7
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
OK, hope I'm doing this right. Here is the first one:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=716dba9b-4457-4c88-98d4-41fa0522c853 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=b0b351c5-d482-45bd-91d3-ff031e324ba3 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
 
Old 08-18-2008, 03:12 PM   #8
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
And here is the second one:

# 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 use 'savedefault' 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=UUID=716dba9b-4457-4c88-98d4-41fa0522c853 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) 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

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=716dba9b-4457-4c88-98d4-41fa0522c853 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=716dba9b-4457-4c88-98d4-41fa0522c853 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, kernel 2.6.24-16-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=716dba9b-4457-4c88-98d4-41fa0522c853 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=716dba9b-4457-4c88-98d4-41fa0522c853 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet

### 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/sda1
title Microsoft Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
 
Old 08-18-2008, 03:20 PM   #9
superdog
Member
 
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Rep: Reputation: 16
It all looks ok to me.

I'm not to sure about how xp boots, but it may be that you have overwritten it's boot code by installing grub to the mbr. I know how it can be fixed, but it would mean having to boot from a windows xp disk, fix it, then boot into linux with a recovery disk and reinstall grub, when that might not even be the problem.

Perhaps someone cleverer than me can point out something I've overlooked....
 
Old 08-18-2008, 03:31 PM   #10
ditto1958
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for all your help. I don't know, I may just try doing a fresh install of Windows on that partition. I don't really have tons of stuff yet on the drive since I just started re-building my system.
 
Old 08-18-2008, 03:40 PM   #11
superdog
Member
 
Registered: Feb 2008
Distribution: slackware, suse, anything that begins with S
Posts: 45

Rep: Reputation: 16
Well, you can just boot the xp disk but press R for the recovery console when it says to at the welcome screen. When it loads, press 1 to log into the xp install then use the commands, FIXBOOT C: followed by FIXMBR and you will beable to boot xp, but not linux. As for fixing linux afetr that, that I can't help you with as I use lilo on mine.

It's a good idea to check microsoft's website for details of the commands and the recovery console if you decide to use them, as it's been a long while since I have used them and I might have the terminology wrong. I've used them a few times though.
 
Old 08-18-2008, 03:48 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
If you want to just re-build, be sure to put Windows on drive #1, partition #1. When you then install Linux, the installer will generally recognize the Windows install and automatically setup GRUB for dual-boot.

Also consider setting up relatively small partitions for the OSes (eg ~10-15GB each), and then a large partition for shared data. Make this either FAT32 or maybe ext3 (and use the ext2fsd driver in Windows)

The "booting" link below might help also
 
Old 08-18-2008, 03:51 PM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248Reputation: 1248
You need to change your windows entry to "rootnoverify" from "root". That's assuming your windows partition is the first on the first hardrive. You may have a recovery partition but you didn't post the output of "fdisk -l" so???
 
  


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
i installed nvidia drivers now x windows will not start Killer Penguin Linux - Software 3 07-24-2008 07:07 PM
JUST installed Kubuntu. What should I do now? supertunaman Linux - Newbie 10 09-04-2006 05:52 PM
Installed Kubuntu, Not Working Lambert693 Ubuntu 1 06-24-2005 12:41 PM
why isn't synaptic installed in kubuntu? jnev Ubuntu 10 06-23-2005 09:13 AM
Help - Installed Ubuntu but now can't start Windows! tranceybowler Linux - Newbie 6 01-29-2005 06:13 AM


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