LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-23-2004, 05:20 AM   #1
GrumpyGnome
Member
 
Registered: May 2004
Location: Ridgecrest, CA; nowhere near a ridge
Distribution: Fedora C2 & RH9
Posts: 34

Rep: Reputation: 15
Dual Boot Headache; XP upgrade killed FC2


Boy am I lost.
SITUATION:
disk 1 (hda) W98
disk 2 (hdb) FC2
This worked.
Now
disk 1 (hda) WXP
disk 2 (hdb) FC2
FC2 will not boot, I get a grub prompt and am lost.

TRIED:
Have tried to use the Rescue disk and can get to the FC2 system.
Verified the grub.conf
Copied the 512 bytes of the boot sector to a file and placed it on the C: drive Changed the WXP boot.ini.

Have tried to boot the FC install disk to get the bootloader to update but it will not let me add anything and then says the boot loader was not updated because nothing was added!

I am forgetting something and can't remember what I did to get the setup running with W98. Can anyone help?
 
Old 09-23-2004, 07:32 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

u need to reinstall grub frm the rescue mode

boot into rescue mode

then

chroot /mnt/sysimage

to install grub on ur MBR

grub-install /dev/hda

regards
 
Old 09-24-2004, 04:43 PM   #3
GrumpyGnome
Member
 
Registered: May 2004
Location: Ridgecrest, CA; nowhere near a ridge
Distribution: Fedora C2 & RH9
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks,
I am terrified that if I do that the WinXP disk (hda) will get fouled up. Is it a requirement that grub go into the MBR? I thought that if I copied the first 512 bytes from the /boot partition on the FC2 disk to a file on the C: drive that the NTLOADer could then call grub? I looked at the W98 steps and if looked like putting grub in the MBR was required then but WXP can load the file then boot FC2. OF couse that is what I have tried and failed. Grub just boots to a grub prompt.
 
Old 09-24-2004, 06:09 PM   #4
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 214

Rep: Reputation: 30
Grub is your friend

It'll be alright. Everytime I install a distro of GNU/Linux I always choose MBR and everything goes fine. If there are any issues, you just need to boot off a Win98 disk (that's what I use) and use
Code:
fdisk /mbr
and you'll be back to your Win32 setup.
 
Old 09-24-2004, 09:56 PM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

hda is not ur winxp disk,it is the MBR

it is hda1 ur first partition , also u need a bootloader MBR so that u can boot all operating systems

if u want u can also
look for boot laoder from windows partiton using loadlin

http://elserv.ffm.fgan.de/~lermen/manual.txt

regards
 
Old 09-25-2004, 01:12 PM   #6
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 214

Rep: Reputation: 30
Actually ...

Quote:
hda is not ur winxp disk,it is the MBR

From: http://rampex.ihep.su/Linux/linux_ho...rtition-2.html
Quote:
By convention device files have certain names and many system programs have knowledge about these names compiled in. They expect your IDE disks to be named /dev/hd* and your SCSI disks to be named /dev/sd*. Disks are numbered a, b, c and so on, so /dev/hda is your first IDE disk and /dev/sda is your first SCSI disk. Both devices represent entire disks, starting at block one. Writing to these devices with the wrong tools will destroy the master boot loader and partition table on these disks, rendering all data on this disk unusable or making your system unbootable. Know what you are doing and, again, back up before you do it.

Primary partitions on a disk are 1, 2, 3 and 4. So /dev/hda1 is the first primary partition on the first IDE disk and so on. Logical partitions have numbers 5 and up, so /dev/sdb5 is the first logical partition on the second SCSI disk.
 
Old 09-25-2004, 01:20 PM   #7
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

what i meant was that
hda is not the first partiton as understood above my last post
and it is the MBR the first 512 bytes that come before hda1,so when we install lilo or grub on hda we mean that we are installing them on the MBR

regards
 
  


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
yum upgrade FC1 to FC2 new kernel will not boot Kelean Fedora 1 10-27-2005 10:05 PM
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system" bcal Fedora - Installation 4 01-30-2005 03:38 PM
Killed Grub on former Dual boot sys NeoMetal Linux - General 5 12-07-2004 02:06 PM
FC1 to FC2 upgrade but X only starts with boot to old kernel old_man_elizer Fedora 0 05-30-2004 01:25 AM


All times are GMT -5. The time now is 11:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration