LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-22-2009, 09:14 PM   #1
vspellen
LQ Newbie
 
Registered: Jan 2009
Location: for now, NYC
Posts: 6

Rep: Reputation: 0
Question install fedora on second hard drive partition, when booting-no grub-boots win XP pro


I have a 120GB SATA hard drive that is partitioned for Windows XP pro. I added a second 80GB SATA drive and partitioned 15GB and installed Fedora core 4 (had to use skipddc to start install). Installed "everything", install completed successfully. Upon booting the system goes straight into windows. I had selected GRUB for boot loader during install.

I am unable to boot by changing boot order in BIOS - when second HD is selected get ERROR. Using F8 I am not given a choice of HD or OS's.

What are my choices to get my system to dual boot?
 
Old 01-22-2009, 09:44 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
First off, Fedora Core 4 is pretty old and not supported any longer. When you installed and selected Grub as bootloader, did you elect to have it in the master boot record of the second (80GB) drive? You can set the second drive as first in boot priority? If you can only boot from the first drive, you either need to install Grub to the mbr of the first drive or setup xp to boot Fedora through boot.ini file.
 
Old 01-22-2009, 10:19 PM   #3
vspellen
LQ Newbie
 
Registered: Jan 2009
Location: for now, NYC
Posts: 6

Original Poster
Rep: Reputation: 0
thank you

Thank you Yancek, the thing is I am a student taking Network operating Systems using Fedora 4, so I'm kind a stuck with this version. Next, If I am reading you right, I can use the DVD to reinstall GRUB on my C drive without reinstalling Fedora. Is that right?
 
Old 01-23-2009, 12:49 AM   #4
vspellen
LQ Newbie
 
Registered: Jan 2009
Location: for now, NYC
Posts: 6

Original Poster
Rep: Reputation: 0
update

I just tried reinstalling Fedora making sure that I selected "install boot loader on MBR of sda" (my C drive with XP on it) and still on reboot it starts XP with no GRUB starting.
 
Old 01-23-2009, 02:17 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as i recall fedora 4 had a VERY( at the time) new and unstable LVM file system
when you install do a Manual partition layout and DO NOT use that LVM .
you will also be hard pressed to find people that can recall from memory how to do things on a version of fedora that hit" end of life" / died 3 years ago .
this might help , one of the "still up " repos
http://download.fedora.redhat.com/pu...extras/4/i386/
as to getting it to boot
seeing as the MS windows bootloader IS the one working
reinstall and but grub on the FIRST partition of the LINUX drive then use
from the install cd in rescue mode
Code:
chroot /mnt/sysimage 
/* root login */
root
( my password)
mkdir /mnt/windows
mount -t ntfs /dev/sda1 /mnt/windows
dd if=/dev/sd?? of=/fedora.bin bs=512 count=1
/* ?? is where the boot is */
cp /fedora.bin /mnt/windows
/* or run */
dd if=/dev/sd?? of=/mnt/windows/fedora.bin bs=512 count=1
nano /mnt/windows/boot.ini
/* and add    C:\fedora.bin= " Fedora "  
(ctrl+o ) and <enter> to save*/
-- oops fedora 4 has NO ntfs support
Code:
chroot /mnt/sysimage

  open the /mnt directory to open your linux system, now copy the first sector of your /boot

  partition to the current directory with:

  dd if=/dev/hdax of=bootsect.lnx bs=512 count=1
  dd if=/dev/hdb3 of=linux6.bin bs=512 count=1

  need to copy the bootsect.lnx to C drive, to mount the C drive, make a directory in

  /mnt/windows:

  mkdir /mnt/WinFat

  mount the C drive on /mnt/windows:

  mount -t vfat /dev/hdb1 /mnt/WinFat

  if the file system is ntfs change the vfat(fat 32) to ntfs, to copy run the command:

  cp -fv bootsect.lnx /mnt/windows

  other way is to copy the bootsect.lnx to any removable media like floppy and then to the

  C drive.

Last edited by John VV; 01-23-2009 at 02:24 AM.
 
Old 01-27-2009, 03:55 PM   #6
vspellen
LQ Newbie
 
Registered: Jan 2009
Location: for now, NYC
Posts: 6

Original Poster
Rep: Reputation: 0
OK ladies and gentlemen

I downloaded and installed fedora 10 on the second partition of the second harddrive in my system. I installed grub on the second drive as well. I added windows XP (the entire first hard drive) and windows server 2003 (the first partition of the second HD) to the boot list. In my bios I set the second HD in the boot device list.

Now I can boot fedora 10 BUT when I select xp or server 2003 I get an error message that reads:- NTLDR is missing.

Can someone tell me what to do to correct this.
 
Old 01-27-2009, 07:29 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might want to read through this
"HOWTO Dual Boot Fedora & Windows With NTLoader"
http://forums.fedoraforum.org/showth...ighlight=NTLDR

you might want to insert the win xp install cd and run "fixmbr" to reinstall the winXP bootloader to the MBR of the FIRST drive , then make sure that grub is installed in /boot dev/sdb1 on the second drive
use the dd method ( first one in the above post) to make a " fedora10.bin" file .Copy that to the "C://" drive and add fedora to the windows " boot.ini"
 
Old 01-27-2009, 08:23 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
You have xp (and only xp) on your first hard drive. You have windowss 2003 server on the first partition of the second drive and Fedora on the second partition of the second drive. You installed Grub on the second drive, where? to the root partition? the master boot record? You have entries for xp and w2003 server in your menu.lst file? Not sure what the line below means??
Quote:
In my bios I set the second HD in the boot device list.
Did you put your second hard drive as first in boot priority?
You didn't mention w2003 server earlier, did you just install that?

Fedora is booting Grub and turning booting of xp and windows 2003 server over to the ntldr. The problem is with your windows bootloader and this is a very common problem. If you just installed w2003 server it could have mucked up your bootloader files or maybe you just need an entry for it in your boot.ini file I would suggest you google "NTLDR is missing" or whatever the exact error is. Just had this error on my machine yesterday and there are tons of sites with info on it.

At any rate, with this error, you can play with Fedora and Grub all week and it won't change anything. The error is in the windows bootloader.
 
  


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
how to dual boot ? how to partition hard drive? how to install fedora? rachelanddoodoo Linux - General 2 10-19-2008 09:46 AM
Help: hard drive install slackware 12 from FAT32 partition using GRUB olin Slackware - Installation 1 09-19-2007 10:12 AM
Space requrement on 1st partition on HD drive for dual (Fedora and Win XP) booting ishti_du Fedora 9 03-24-2006 01:15 PM
Using a 200Gb second hard drive with Win Xp Pro igarvie SUSE / openSUSE 1 12-24-2005 12:59 PM
problem w/ Grub booting a Win XP Partition RacerD Linux - Newbie 15 04-16-2004 01:02 AM

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

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