LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-28-2008, 09:54 AM   #1
kaashi
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Dual boot error


Hi,

I'm very new to Linux and would appreciate if someone could help me in solving this issue. I installed RH Linux after installing Windows XP on my desktop as advised in Linux documentation. Both OS were running fine until yesterday. When I started my computer this morning, Linux was working fine but Windows wass not. When I select "others" option from startup menu, my monitor screen becomes blank and never shows any thing and leaves me with no option but to restart my computer. Here are the contents of fdisk -l and grub.conf.

Disk /dev/hda: 164.6 GB, 164695473664 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1171 9406026 7 HPFS/NTFS
/dev/hda2 1172 17245 129114405 f W95 Ext'd (LBA)
/dev/hda3 17246 17258 104422+ 83 Linux
/dev/hda4 17259 20023 22209862+ 8e Linux LVM
/dev/hda5 1172 8943 62428558+ b W95 FAT32
/dev/hda6 8944 17245 66685783+ b W95 FAT32


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-67.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-67.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-67.EL)
root (hd0,2)
kernel /vmlinuz-2.6.9-67.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-67.EL.img
title Other
rootnoverify (hd0,0)
chainloader +1

I used MBR option when I was installing RH Linux.

Thanks,

Kaashi
 
Old 09-28-2008, 10:54 AM   #2
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
Comparing your fdisk output with the grub.conf, your entries are correct. It appears to be a problem with the windows bootloader. When you select windows from the Grub menu, Grub points to the partition windows is on and it is then up to the windows bootloader.

Use your xp CD and enter recovery mode and enter command fixmbr. Try re-booting.

You could also download SuperGrubDisk if you don't have the xp CD and try to repair windows bootloader.

If you repair the windows bootloader by either of these methods, you will then need to re-install Grub. Enter a terminal as root and type:

grub, will get the grub prompt (grub>) where you enter following commands:

root (hd0,2)
setup (hd0)
quit
 
Old 09-28-2008, 11:38 AM   #3
kaashi
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your quick reply Yancek!
I tried to boot from XP CD but as soon as it tries to read from HD screen becomes blank. Linux is working fine though otherwise I would think that my hard drive was dead.
 
Old 09-28-2008, 11:49 AM   #4
robogymnast
Member
 
Registered: Dec 2005
Location: Boston, USA
Distribution: Kubuntu, Debian
Posts: 78

Rep: Reputation: 16
Quote:
Originally Posted by kaashi View Post
Thanks for your quick reply Yancek!
I tried to boot from XP CD but as soon as it tries to read from HD screen becomes blank. Linux is working fine though otherwise I would think that my hard drive was dead.
You may need to go into your BIOS settings and make sure that your CD Drive is listed before your hard drive in the boot order. Your computer will usually tell you on the first screen you see after pushing the power button "Press F2 to enter setup" or something similar (sometimes F1, F12, Delete, etc). After rebooting and with your XP CD in the drive you should get some text that says "Press any key to boot from cd..."
 
Old 09-28-2008, 02:32 PM   #5
kaashi
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
It does boot from CD but when I select the "Install Windows XP" or "Recover a previous installation" option the screen becomes blank.
 
Old 09-28-2008, 04:39 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
try inserting "makeactive" without the quotes after the "rootnoverify" line
 
Old 09-28-2008, 06:38 PM   #7
kaashi
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Same result. Screen is still blank after inserting makeactive.
 
Old 09-28-2008, 07:24 PM   #8
McSlack
Member
 
Registered: Jul 2006
Location: Grand Rapids, MI
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
This could be bad advice, so if anyone disagrees, chime in. You might try this as a last resort. Delete your NTFS partition and let your windows disk create and format the partition using the free disk space just created. You'll may have to use grub to get back your dual boot since Windows will probably rewrite your MBR.
 
Old 09-28-2008, 09:16 PM   #9
linuxman8786
Member
 
Registered: Sep 2008
Posts: 43

Rep: Reputation: 15
you try test your hdd in different computer

Last edited by Tinkster; 10-30-2010 at 03:51 PM.
 
Old 09-29-2008, 05:25 AM   #10
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I think McSlack has the right thought, I believe something serious has happened to the windows install or the partition has run out of room. I am not that familiar with windows but if there is a way to get to defrag in the recovery mode that might be a first try.

Last edited by Larry Webb; 09-29-2008 at 05:26 AM.
 
  


Reply



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
error 15 then error 18 in boot sequence dual boot. xp and ubuntu peteman Linux - Newbie 2 09-16-2008 06:38 AM
Dual Boot Compaq - Boot Up Error (BIOS?) jrodia Linux - Hardware 2 04-18-2007 10:53 AM
Slack and suse dual boot. boot error cormack Slackware 4 05-24-2006 01:10 AM
xp dual boot unmountable boot volume error lkondrad Ubuntu 4 01-11-2006 11:52 AM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 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