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 05-14-2004, 09:48 PM   #16
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15

Here is what I do not understand and what I believe is causing my problem.

Win XP is on hda
Linux is on hdb

When the machine strarts, hda's boot loader takes over and gives me the choice of Windows or Linux.

Now my dilemma: when I choose Linux, should the GRUB boot loader take over and give its menu?

Whether this is the case or not, when I choose Linux, after following grub-install /dev/hdb instruction, still nothing. I get a blank screen with GRUB and a cursor.

I have looked at dual boot installation guides and all of them say the same thing and that is what I have done. What is going on?

Biniam
 
Old 05-15-2004, 05:00 AM   #17
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I still get

GRUB

When I choose Linux from the menu. It appears that it never reaches the grub boot loader. WinXP boot loader gives the menu then all is frozen.

I have given up.

Thanks for all your help. Since I can boot from CD, I will just do that. I thought Linux was easier than Windows to install but it appears on Windows is working right.
 
Old 05-15-2004, 05:23 AM   #18
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Don't give up. Try some more stuff.

I see the problem here.

/sbin/grub-install /dev/hdb (this means you install grub to /dev/hdb, the secondary harddisk) Not a good idea)

You should /sbin/grub-install /dev/hda

And also make sure that under Win Xp title in your grub.conf file you have (rootnoverify (hd0,x)

and under Fedora you have root (hd1,x)

Replace x with the partition number of where the system is located. If you have no idea where that is, do the following. Once in Linux, as root run command:

fdisk -l

This will list all your partitions (hda and hdb)

Just try to make out where the installations are (NTFS for Windows maybe (/dev/hda1 perhaps) you will see about that) Also for linux check the one that is mounted at /boot or if there isn't one mounted at /boot, just check the one that is mounted at /.

So now you have the numbers of partitions the both OS are on. Compare these to grub.conf file but keep in mind that /dev/hda1 == (hd0,0) and /dev/hdb1 == (hd1,0) and .....

You get the idea?

be sure to

/sbin/grub-install /dev/hda

(NOT hdb)

This should solve your problems.
 
Old 05-15-2004, 12:47 PM   #19
the-waterman
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Hello,

I have also XP on the master drive with NTFS file system /dev/hda (D:\).
I installed RedHat 9 .... after reboot i can't see XP anymore? Can anyone advise me what to do?

Thanks in advance
 
Old 05-15-2004, 12:49 PM   #20
the-waterman
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
after installation RH 9... XP is not visible on boot loader

Hello,

I have also XP on the master drive with NTFS file system /dev/hda (D:\).
I installed RedHat 9 .... after reboot i can't see XP anymore? Can anyone advise me what to do?

Thanks in advance
 
Old 05-15-2004, 07:18 PM   #21
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
Still nothing.

Let me understand something. Please correct me where I am wrong. I do:

1. grub-install /dev/hda
2. reboot - I still get the WinXP bootloader option with Linux hang with a blank screen and Grub

Then

1. grub-install /dev/hda
2. dd if=/boot/grub/stage1 of=/mnt/floppy/stage1 bs=512 count=1
3. copy stage1 to c:\
4. Add c:\stage1="Linux" to boot.ini
3. reboot - same problem.

What is confusing to me is that when GRUB is suppose to take over. When I boot my machine hda is in charge. When I select Linux, I suspect the boot image tells it to go to hdb and look for /boot partion then find grub-conf. At this phase, is it suppose to give me another menu with Fedore and DOS then I can choose either one? Why should I make the choice twice. If this is not the case then there has to be a way to tell my machine to choose the GRUB boot loader to do the work instead of boot.ini.

I think I am missing some fundamental issues here.

Thanks.


 
Old 05-15-2004, 07:49 PM   #22
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
BTW, I decided to move my new hd to hdd to see if things would be different. Nothing.

Here is thd fdisk -l result

Disk /dev/hdd: 80.0 GB, 80026329600 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 13 104391 83 Linux
/dev/hdd2 14 9664 77521657+ 83 Linux
/dev/hdd3 9665 9729 522112+ 82 Linux swap

Disk /dev/hda: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2481 19928601 7 HPFS/NTFS


Here is my grub.conf file

#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2188.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2188.nptl.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title WinXP
rootnoverify (hd0,0)
chainloader (hd0,0)+1
 
Old 05-15-2004, 08:28 PM   #23
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
I am seeing the light at the end of the tunnel. I decided to do grub-install /dev/hda again.

When I rebbot, for the first time the Grub boot loader is responding. It says

GRUB Loading Stage1.5


Grub Loading, please wait...
Error 17
<blinking cursor>

I do not have to hard reboot, ctrl alt del works from here.

What is next?

Thanks.
 
Old 05-16-2004, 12:15 PM   #24
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
http://www.linuxquestions.org/questi...=grub+meltdown

Try this link to a post. It will give you some quick knowledge of GRUB and where and how to install it.
 
Old 05-16-2004, 11:47 PM   #25
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
That did not help.

Here is what fdisk -l gives

Disk /dev/hdd: 80.0 GB, 80026329600 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 13 104391 83 Linux
/dev/hdd2 14 9664 77521657+ 83 Linux
/dev/hdd3 9665 9729 522112+ 82 Linux swap

Disk /dev/hda: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 2481 19928601 7 HPFS/NTFS
/dev/hda4 * 1 1 0 0 Empty
Partition 4 does not end on cylinder boundary.


grub.conf is

default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2188.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2188.nptl.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title WinXP
rootnoverify (hd0,3)
makeactive
chainloader +1

I played around with rootnoverify since I saw hda4 from fdisk -l

Is there something I am missing?

Should I post a new thread with Grub Loading error 17?

At boot

Grub Loading stage1.5

Grub Loading, Please wait...
Error 17

Thanks.
 
Old 05-17-2004, 06:52 PM   #26
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
not giving up. heh. just out of ideas slowly. and out of time ) However there is one more thing you can try. Insert your WIN xp cd and boot from it. Once you get to the part where you usually install, press R for recovery console. You will be prompted for your Win XP administrator password. When you get to command line, type fixmbr. (this will erase your MBR and install windows boot loader on it.

Once you did this, insert your Linux CD 1. boot from it with linux rescue at the main screen. proceed through anaconda. chroot /mnt/sysimage
once you do that:

/sbin/grub-install /dev/hda

and

reboot

if this doesn't fix it, I don't know what else to try

what is error 17?
I'll look it up.
 
Old 05-17-2004, 06:54 PM   #27
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
http://forums.devshed.com/archive/t-116571

Check this also It might help you.
 
Old 05-18-2004, 01:24 PM   #28
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
Things are worst now. My XP is lost. when I do fixmbr and reboot, it says error loading. I tried fixboot and it talks about f:drive which is my Linux hard drive. I do not know what is going on here.

Linux people talk about how easy it is to install Linux, how it is much simpler than Windows. Not true at all. I have so many development tools and other programs on my windows hd that I do not want to hose it and start over, let alone the way I setup my Windows environment. But it seems that I just have to do that.

I am very disappointed that there isn't a simpler solution to my problem. Right now, I will redo my Windows and have Linux boot from floppy even thought that is a pain in the butt. Not something that will help me switch over.
 
Old 05-18-2004, 02:36 PM   #29
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you don't mind, can you describe your current situation, maybe I can help.
Especially these information:
The boot order in bios
The output of fdisk -l, and specify which is your linux /boot partition and which is windows.
 
Old 05-18-2004, 04:20 PM   #30
btexpress
Member
 
Registered: May 2004
Location: Seattle
Distribution: Fedora Core 4
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Demonbane
If you don't mind, can you describe your current situation, maybe I can help.
Especially these information:
The boot order in bios
The output of fdisk -l, and specify which is your linux /boot partition and which is windows.
I had Windows XP Pro. I bought an 80 GB Seagate hard drive and installed Fedore Core 1 on it with Grub set to /dev/hda. I get GRUB on a blank screen when I reboot. I reboot with the flpppy and did grub-install /dev/hda. I got Grub Loading Error 17. I reboot with Win CD and try to fixmbr and fixboot, I get error loading. Since this has been going on for over a week, I got frustrated.

Though I must give a big thank you to marghorp. You have been very helpful.


Boot order is Floppy, CDROM, IDE (my understanding is that it uses the primary).

Windows XP Pro is on /dev/hda
Linux on /dev/hdd
Nothing on /dev/hdb
CDROM on /dev/hdc

May you please explain why fdisk -l says:
/dev/hda4 * 1 1 0 0 Empty
Partition 4 does not end on cylinder boundary. Is the star for boot sector? Did it get there from grub-install?


Here is what fdisk -l gives.

Disk /dev/hdd: 80.0 GB, 80026329600 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 13 104391 83 Linux
/dev/hdd2 14 9664 77521657+ 83 Linux
/dev/hdd3 9665 9729 522112+ 82 Linux swap

Disk /dev/hda: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 2481 19928601 7 HPFS/NTFS
/dev/hda4 * 1 1 0 0 Empty
Partition 4 does not end on cylinder boundary.


grub.conf is

default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2188.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2188.nptl.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title WinXP
rootnoverify (hd0,3)
makeactive
chainloader +1

Glad to know there is a caring community trying not to lose newbies like myself.
 
  


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 Fedora Core 3 and Win Xp Pro Lambda_Core Linux - Software 7 07-03-2005 09:06 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 02:44 PM
SuSE 9.2 Pro / Fedora Core 3 Dual boot iain.ross Linux - Newbie 2 12-12-2004 12:40 PM
dual boot Windows XP Pro and Red Hat Fedora Core 2 j2linux2 Fedora 5 10-01-2004 10:32 AM
WinXP Pro/Fedora Core 2 Dual-Boot Question NanoGamer Linux - Newbie 6 08-30-2004 03:01 AM


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