LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-07-2005, 03:30 PM   #1
mansion108
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Dual boot GRUB problem


Dear ppl,
I have dual boot in my comp. FC4,Win XP. I had some
problem with my XP. So i wanted to repair it. So i
tried to boot from the windows CD. But unfortunately
it didnt work.
I got this problem,

Press any key to boot from CD...
then,
Setup is checking your hardware configuration....

After this i didnt get the usual blue screen where it
asks to install XP...but got a blank screen. But this
windows cd worked fine in my friends' comps. And Other
Live cds like (Ubuntu live cd) works fine in my comp.
So what i did was i made my hard disk a slave in my
friends comp..and then reinstalled XP in my C:\. now i
brought it here and connected.
But i get an error if get into windows XP in the grub
loader.

here are my grub.conf and df -h outputs
grub.conf:

title Fedora Core 4
root (hd0,7)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro
root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

/etc/fstab :

Filesystem Size Used Avail Use% Mounted on
/dev/hdc9 9.7G 3.7G 5.6G 40% /
/dev/hdc8 99M 13M 82M 14% /boot
/dev/shm 244M 0 244M 0% /dev/shm
/dev/hdc11 12G 900M 9.7G 9% /home
/dev/hdc1 5.0G 1.5G 3.6G 30%
/mnt/system
/dev/hdc5 12G 2.0G 11G 17%
/mnt/academ
/dev/hdc6 12G 6.8G 5.3G 57% /mnt/soft
/dev/hdc7 23G 17G 6.6G 72% /mnt/media

where /dev/hdc1 is my c:/ (XP installed)

Now i have some qns..?
Why does the Cd give a blank screen output?
Now how do i manipulate my Grub.conf?

Regards
Harish
 
Old 11-07-2005, 07:53 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If you haven't connected your CD drive and the hard disk correectly then the hardware fault might just give the reported erroneous or unreliable CD reads. You did say you set a hard disk to slave. Your partition scheme indicated that you have only one disk and so the hardware change could be an unnecessary complication. If the hard isk was set as a slave then your CD drive must be a master hda and the hard disk should have been called hbb but it doesn't.

Your hdc partitions suggest that your hard disk is now connected as a MASTER of the second IDE cables! So which one is the slave?

I couldn't understnad your question of how to manipulate Grub.conf either. You edit this text file just like everybody does. Is this the answer you sought or you could have meant how to edit Grub to boot your FC4. Unfortunately you gave no indication of FC4 is in trouble or reported any error. So FC4 could be healthy and bootable.

We also do not know if you want to fix XP or just the FC4 or both.
 
Old 11-08-2005, 04:53 AM   #3
mansion108
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I m sorry if i have been misunderstood. I made my harddisk a slave in my friend's comp to install XP in it, as i wasnt able to do that in my comp. Now my hardisk is back in my comp.i have only one hard drive(hdc).
My Fc4 works fine. The problem is with XP.
To manipulate i meant just editing.Sorry for the inconvenience.

Regards
 
Old 11-08-2005, 05:21 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Make the XP partition bootable. Probably no need to change anything else.
 
Old 11-08-2005, 05:40 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If your want to restore XP's MBR and cannot use the installtion CD then booting to a DOS floppy and type fdisk /mbr will achieve the same thing.

Before you restoring XP's MBR, thereby at a cost of nuking FC4's Grub, you should save FC4's Grub into a floppy so that you can boot FC4 with a floppy later on.


To Save FC4 Grub onto a floppy you log in as root to FC4, pop in a floppy and type

grub-install /dev/fd0

syg00's suggestion of making XP partition bootable can also be achieved by adding

makeactive

before the last line of FC4's /boot/grub/menu.lst.
 
Old 11-18-2005, 11:09 PM   #6
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.
 
  


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
Dual boot Grub problem russviolet Fedora - Installation 5 09-24-2005 10:10 PM
FC3, grub problem with dual boot henderman Fedora - Installation 8 05-19-2005 12:11 PM
Problem with GRUB when trying to dual boot Mandrake 10.1 and Windows XP. JakeMH Linux - Newbie 4 02-25-2005 07:40 AM
grub/dual boot problem/question... wrat Linux - Newbie 2 11-28-2004 04:59 PM
Grub Dual Boot Problem zutanoz Linux - Newbie 1 09-22-2003 07:04 PM


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