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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2009, 09:14 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Location: for now, NYC
Posts: 6
Rep:
|
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?
|
|
|
01-22-2009, 09:44 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,385
|
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.
|
|
|
01-22-2009, 10:19 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Location: for now, NYC
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
01-23-2009, 12:49 AM
|
#4
|
LQ Newbie
Registered: Jan 2009
Location: for now, NYC
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
01-23-2009, 02:17 AM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685
|
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.
|
|
|
01-27-2009, 03:55 PM
|
#6
|
LQ Newbie
Registered: Jan 2009
Location: for now, NYC
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
01-27-2009, 07:29 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685
|
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"
|
|
|
01-27-2009, 08:23 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,385
|
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.
|
|
|
All times are GMT -5. The time now is 03:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|