LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-29-2006, 11:04 PM   #1
drizkol
Guest
 
Posts: n/a
Installing Fedora on a pre-existing XP PC


Here is my system information:
4 x HDD's
c: Windows XP (NTFS)
d: Storage (NTFS)
e: Page File
h: Storage 2 (NTFS)
i: Here I installed Fedora Core4 (64-bit)

During the install I selected my windows boot to boot by default, and didn't change anything with the GRUB. What I would like to do is run a dual-boot system which uses the NTLDR option menu to select either OS.

I can reinstall FC4 if need be, but was wondering what I would need to do to edit my boot.ini or how I could go about setting this up a better way. I would not like to reinstall Windows, and I am very new to Linux, so please be detailed as possible.

Initially, I tried to do this:
enterprise.linux.com/enterprise/05/02/16/1919205.shtml?tid=129&tid=49#discuss

I got to the bootpart section and couldn't get the bootsect.lnx thing to add any lines of code to my boot.ini

I used the line (in the folder with bootpart.exe):
bootpart c:\bootsect.lnx "Linux", but I got the following error doing so:

Physical number of disk 0 : 43ea43ea
0 : C:* type=7 (HPFS/NTFS), size= 120045681 KB, Lba Pos=63
Physical number of disk 1 : 43ea43eb
1 : D:* type=83 (Linux native), size= 104391 KB, Lba Pos=63
2 : D: type=8e , size= 79931407 KB, Lba Pos=208845
Physical number of disk 2 : acedaced
3 : E:* type=7 (HPFS/NTFS), size= 75931191 KB, Lba Pos=63
4 : E: type=f (Win95 XInt 13 extended), size= 4096575 KB, Lba Pos=151862445
5 : E: type=7 (HPFS/NTFS), size= 4096543 KB, Lba Pos=151862508
Physical number of disk 3 : c18aa4f2
6 : F:* type=c (Win95 Fat32 LBA), size= 80035798 KB, Lba Pos=63
Error in parameters

Any suggestions?? Thanks
 
Old 01-31-2006, 05:16 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-31-2006, 08:19 AM   #3
drizkol
Guest
 
Posts: n/a
Quote:
Originally Posted by XavierP
Moved: This thread is more suitable in General and has been moved accordingly to help your thread/question get the exposure it deserves.

thank you, hopefully i get some feedback
 
Old 01-31-2006, 03:29 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The article you refer to says:
Quote:
The Bootpart way to do this is simpler: run Bootpart with the command bootpart Linux c:\bootsect.lnx "Linux". Bootpart will take care of adding the proper entry to boot.ini for you.
So it looks you miss one 'Linux'. You have written
Code:
bootpart c:\bootsect.lnx "Linux"
when it looks it should be
Code:
bootpart Linux c:\bootsect.lnx "Linux"
 
Old 01-31-2006, 04:15 PM   #5
drizkol
Guest
 
Posts: n/a
I get the same error doing that as I did before.
 
Old 01-31-2006, 07:05 PM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Why do you want to use the NT Loader?

When you install Fedora, GRUB should automatically detect Windows and allow you to select either one at boot.

--Ian
 
Old 01-31-2006, 09:54 PM   #7
drizkol
Guest
 
Posts: n/a
I've tried booting with the FC4 disk, but it says that I don't have the right kernel or something. If I would reinstall it, and select the GRUB boot loader, and select it to run it from the hdf (linux drive) and not the hdc (WXP drive) then would it read both boot loaders and give me an option?

For example, here would be my steps,
1) Reinstall linux completely removing the old partitions and everything.

2) Choose it to intall the GRUB boot loader (not on MBR) and choose Linux as my default boot drive.

Would this result in a screen that allows me to choose what OS I would like to run on reboot?
 
Old 02-01-2006, 12:00 AM   #8
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If you install GRUB to the Master Boot Record, it should be able to to boot both Linux and Windows.

GRUB will present you with a menu, and you select which one you want. One of the entries will be default, and will boot after 10 seconds. You can change the default entry in /boot/grub/menu.lst.

To reinstall Fedora, just boot from the Fedora CD, and install. No need to delete your partitions beforehand. One of the steps should be something like "Install Boot Loader". Grub is selected by default, and it should detect Windows automatically.

--Ian
 
Old 02-01-2006, 08:09 AM   #9
drizkol
Guest
 
Posts: n/a
Quote:
Originally Posted by IBall
If you install GRUB to the Master Boot Record, it should be able to to boot both Linux and Windows.

GRUB will present you with a menu, and you select which one you want. One of the entries will be default, and will boot after 10 seconds. You can change the default entry in /boot/grub/menu.lst.

To reinstall Fedora, just boot from the Fedora CD, and install. No need to delete your partitions beforehand. One of the steps should be something like "Install Boot Loader". Grub is selected by default, and it should detect Windows automatically.

--Ian

Thank you, I will try this as soon as I get home, do you reccomend making a WinXP boot disk just in case I somehow manage to mess it up? Or it doesn't properly load right? Have you done this installation before?
 
Old 02-01-2006, 07:01 PM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Not with Fedora Core 4, I did it with Fedora Core 2 and Windows 2000. I have also installed Mandrake and Windows XP.

Making a Windows XP boot disk is always a good idea. Also, make a GRUB boot disk.

The most important thing I can suggest is to backup all your important data. It shouldn't go wrong, but if it does then you can at least get your data back.

--Ian
 
Old 02-02-2006, 12:01 AM   #11
drizkol
Guest
 
Posts: n/a
No luck, reinstalled Linux with GRUB as my boot loader, put it on my MBR and set WinXP to default. Still booted straight to Windows, no option menu.
 
Old 02-02-2006, 12:13 AM   #12
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Did you put GRUB on the MBR of the first hard disk? I think you may need to. This will overwrite the NT Loader, but Grub will take its place.

--Ian
 
Old 02-02-2006, 08:12 AM   #13
drizkol
Guest
 
Posts: n/a
I told it to install on hdc, which is my primary hard drive with WinXP; so as far as I know, I did that. Is there any way to tell if GRUP or the NT loader is working? I can always try to reinstall, but I'm almost 98% sure I chose hdc, that was the whole point of reinstalling in the first place.
 
Old 02-05-2006, 04:02 PM   #14
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
I made a note a while ago when I had problems installing dual booth FC4.

To update the mrb with grub

1. Insert rescue disk
2.enter linux rescue
3. chroot /mnt/sysimage
4. make sure /boot/grub/device.map looks something like

(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

5.edit grub.conf if needed
6.enter grub-install /dev/hda
7.hope it works
 
Old 02-07-2006, 04:53 PM   #15
drizkol
Guest
 
Posts: n/a
I Got It!

I finally got it. I ended up using that bootpart utility, but instead of putting Linux before the c:\bootpart, you put the drive number. So it was something like 3 c:\bootpart So now I use the NT loader which then (if I pick Linux) throws me into GRUB (because I used GRUB as well) but I editted grub.conf to not see Windows anymore, and load immediately. A nice solution, and I don't mind NT loader.
 
  


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
Installing Fedora over an existing Linux installation LoveKing Fedora 1 12-24-2005 01:07 AM
PRE - Installing Fedora Questions tgrier Linux - Newbie 3 11-24-2004 04:46 PM
Installing Fedora tries to blow away all existing partitions? stefanlasiewski Fedora 2 07-17-2004 05:49 PM
Installing Windows along with Pre-Existing Linux steyr Linux - Newbie 3 02-10-2004 06:49 AM
Installing Win98 on slave drive to pre-existing linux install on primary eliszka Linux - Software 8 11-07-2001 10:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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