LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-24-2005, 10:48 PM   #1
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Rep: Reputation: 0
New HD for Fedora Core 4 and Maintaining RH90 on original HD


I've read a bunch about Fedora and XP dual boot. Has anyone successfully added a new HD and installed Fedora Core X and kept the primary HD for RH90 ?

My RH90 is on hda

I'm installing Fedora Core 4 on hdd

I elected not to update the GRUB and I added the grub lines myself.

I can give more details if necessary. The bottom line is that it seems to start to boot and then hangs. I can still boot my RH90, thank goodness.

Any advise would be appreciated.
 
Old 10-25-2005, 11:39 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
I elected not to update the GRUB
Did you also not go to "Advanced" & install GRUB to hdb?

What do "fdisk -l" and /boot/grub/menu.lst look like?

Don't worry, this should be easy to fix.
 
Old 10-25-2005, 12:03 PM   #3
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Original Poster
Rep: Reputation: 0
This was my second try. I opted to not install a grub on hdd (because I tried the grub the first time - minus the Advanced options, which I missed and it didn't work). I also was using the LVM so went to straight ext3 for hdd.

I don't mind installing again. I'm not sure my grub is correct, but whatever kernel is booting hangs with the following last lines.
EXT3-fs: mounted file system with ordered data mode.
Switching to new root
unmounting old /proc
unmounting old /sys
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1

BELOW is the other information you asked for.
Thanks - Janet



fdisk -l gives me (hdd is my Fedora Core4, hda has RH90 various 2.4 kernels ):

Disk /dev/hdd: 100.2 GB, 100256292864 bytes
255 heads, 63 sectors/track, 12188 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 143 1044225 82 Linux swap
/dev/hdd3 144 12188 96751462+ 83 Linux

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hdd2 14 9599 76999545 83 Linux
/dev/hdd3 9600 9729 1044225 82 Linux swap

My /boot/grub/menu.lst is:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title FEDORA
root (hd1,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.6.11-1.1369_FC4.img
title Red Hat Linux (2.4.21-4.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-4.ELsmp ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.21-4.ELsmp.img
title Red Hat Linux (2.4.21-4.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.21-4.EL.img
title Red Hat Linux with RTLinuxPRO (2.4.25-6smpRTL)
root (hd0,0)
kernel /bzImage-2.4.25-6smpRTL
noinitrd
title Red Hat Linux (2.4.20-6smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-6smp ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-6smp.img
title Red Hat Linux-up (2.4.20-6)
root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-6.img
 
Old 10-25-2005, 03:03 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
GRUB, multi-boot 2 Linuces, w/ 2 HD's & 2 GRUB's in 2 MBR's

Quote:
whatever kernel is booting hangs with the following last lines.
Then how did you get the answers I asked for? I hope it's only a problem when you try to boot FC4. On that assumption -- RH9 still works -- here goes:


First, let's see if a simple menu.lst (/boot/grub/menu.lst) change will do the trick:

Edit your Fedora stanza:
Code:
 title FEDORA
 root (hd1,0)
 kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ hdc=ide-scsi
 initrd /initrd-2.6.11-1.1369_FC4.img
changing "root (hd1,0)" to "root (hd3,0)":
Code:
 title FEDORA
 root (hd3,0)
 kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ hdc=ide-scsi
 initrd /initrd-2.6.11-1.1369_FC4.img
Next, if you want to see the entire FC4 GRUB menu as it would have been installed, try to repair the boot loader w/ the FC4 Install disk. Just make sure that you put it (GRUB) on hdd not hda. Use the "Advanced" button in the GRUB questions.

If you do decide to do a full re-install, watch for that "Advanced" button in the GRUB questions. Click that & choose the option that puts GRUB on hdd, preferably in the MBR.


After either of the last two is done, you will need edit your Fedora stanza in /menu.lst (The RH one on hda.) from:
Code:
 title FEDORA
 root (hdx,0)
 kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ hdc=ide-scsi
 initrd /initrd-2.6.11-1.1369_FC4.img
to:
Code:
 title FEDORA
 root (hd3)
 chainloader +1
This will cause the GRUB on the MBR of hda (installed by RH) to transfer control to the GRUB on the MBR of hdd (installed by FC). If FC puts GRUB on the root sector (sometimes called the PBR) of hdd1, then "root (hd3)" becomes "root (hd3,0)".

There is also the possibility of drive mapping issues, but I think that unlikely since "root (hd1,0)" isn't working.
 
Old 10-25-2005, 03:34 PM   #5
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Original Poster
Rep: Reputation: 0
Changing the Fedora grub to (hd3,0) gives me the following:

Booting 'FEDORA'
root (hd3,0)
Error 21: Selected disk does not exist

Press any key to continue ...


Yes, I could still boot to RH9 that's how I saw the grub menu.lst and did the fdisk.

I'm assuming that I now need to do the next thing you suggest. I'll post when I'm finished. I've got some other stuff I have to do too.

Thanks,
Janet
 
Old 10-25-2005, 03:58 PM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
From the GRUB Manual specifically 14 Error messages reported by GRUB
Quote:
21 : Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.
This may be a mapping problem.
 
Old 10-25-2005, 06:04 PM   #7
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Original Poster
Rep: Reputation: 0
I've reinstalled Fedora Core4 with the Advanced options and the grub.conf change to go to hd3 ( root(hd3) ). I still get the

Error 21: Selected disk does not exist
Press any key to continue...

So, I'm figuring it's a mapping problem. I did have to manually mount hdd in RH90 in order to see the disk. This may have been an early clue ...

So, I'll be looking at what to do in this case. Any suggestions I'll gladly follow.

Thanks,
Janet
 
Old 10-26-2005, 02:35 PM   #8
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Original Poster
Rep: Reputation: 0
I've got grub 0.93 which came with RH90. Does anyone know if this version has a bug which is why the BIOS sees my HD and the grub does not.

If so, what grub should I update to (or revert to)? And I am really afraid of doing this for fear of not being able to boot my RH90 (where all my work currently is). So, are there good instructions?

Thanks,
Janet
 
Old 11-04-2005, 09:18 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Janet,

Sorry to take so long to post again -- I had a hard drive crash on my firewall & had to rebuild it from the hardware up. Haven't been able to even look at my pending LQ directory for a week. I'll try to organize my thoughts & post before another week goes by.
 
Old 11-07-2005, 11:18 AM   #10
Janet Estabridis
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core4 and RH90
Posts: 12

Original Poster
Rep: Reputation: 0
I got it taken care of. I thought I'd noted that. Forgive me. Grub was fine. I ended up making the Fedora my primary hard drve and the RH90 the secondary. I didn't do that originally because of messing around with the cabling.
 
  


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
maintaining fedora properly by choosing the right repo disorderly Fedora 12 03-10-2005 07:21 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM
ISA authentication from a RH90 virtual machine (VMware) mdanc Linux - Networking 0 02-04-2004 08:56 AM
KDE 3.1.2-0.fdr.3.rh90 Maximised Programs Missing XavierP Linux - Software 2 06-05-2003 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:58 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
Open Source Consulting | Domain Registration