LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 05-04-2012, 06:43 AM   #1
Lazy Fox
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Rep: Reputation: Disabled
Two drives of the same manufacturer -- which one contains Fedora?


Hi, I have two identical western digital harddrives. One contains Windows XP and the other Fedora. When starting up, I can choose which operating system to use.

Now I want to upgrade to Fedora 16 from a live CD. The installer asks me on which drive Fedora should be installed, but I can't tell them apart! How do I know the correct drive?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-04-2012, 07:32 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
Use the liveCD to mount one of the drives.
or..
Run fdisk -l and check the partition types.
 
1 members found this post helpful.
Old 05-04-2012, 07:36 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,268

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
"parted -l" as root will list the filesystem as well partition id. Much better.

I have a policy which I absolutely follow. All disks on a machine must be different sizes. I regularly wipe partitions/disks, and would hate to hit the wrong one by accident.
 
2 members found this post helpful.
Old 05-04-2012, 12:17 PM   #4
Lazy Fox
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for your quick response, but the problem is the following.
The installer asks which drive should be used for installing. The other will be mounted.
The only visible difference is the drive ID: "pci-0000:00:1f.1-scsi-0:0:0:0" for the first and "pci-0000:00:1f.1-scsi-0:0:1:0" for the second. How can I relate those IDs to /dev/hda (Windows XP) and /dev/hdb (Fedora)?
 
Old 05-04-2012, 12:21 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
If you switch terminals what does 'ls -al /dev/disk/by-path/' return?
 
1 members found this post helpful.
Old 05-05-2012, 11:32 AM   #6
Lazy Fox
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Fedora/Windows don't boot

Thanks, that helped and I installed Fedora 16 from the live CD.

But if I boot the computer, all I get is a command prompt
>grub

How can I boot Windows or Fedora? PLEASE HELP.

Btw, below you will find the grub.conf file that I was using with the old Fedora

# 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 (hd1,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd1,1)/grub/splash.xpm.gz
hiddenmenu
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Fedora Core (2.6.18-prep)
root (hd1,1)
vga=normal
kernel /vmlinuz-2.6.18-prep ro root=/dev/VolGroup00/LogVol00 rhgb quiet vga=normal
vga=normal
initrd /initrd-2.6.18-prep.img
 
Old 05-05-2012, 12:25 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,516

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
When in doubt, pull power on drive.
 
Old 05-05-2012, 12:43 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
Quote:
Originally Posted by Lazy Fox View Post
Thanks, that helped and I installed Fedora 16 from the live CD.
Your original question being answered please do not forget to mark the thread solved (see "thread tools").


Quote:
Originally Posted by Lazy Fox View Post
But if I boot the computer, all I get is a command prompt
>grub
Noticing the "title Fedora Core (2.6.18" entry means you ran something like Fedora Core 6 which was obsolete in a way no dictionary can start to describe. Fedora 15 IIRC still came with GRUB (aka "grub-legacy") but Fedora 16 comes with kernel 3.3-x and AFAIK wants to boot GRUB2 from the MBR. As you need tEh oTHer oS to hog the primary disks MBR you have to install GRUB or GRUB2 in the secondary disks MBR or /boot partition.
 
Old 05-05-2012, 12:58 PM   #9
Lazy Fox
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Problem solved

All I had to do was to tell the bios to boot from the primary slave instead of from the primary master. Now the grub boot screen appears as it should.

Yeah, I really needed that Fedora upgrade
 
Old 05-05-2012, 01:30 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
I've done it for you this time but marking your thread solved is done by using the "thread tools" menu "solved" item instead.
 
  


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
Memory Manufacturer in Linux dayvidvictor Linux - Software 2 12-07-2010 04:55 PM
Determining NIC Manufacturer cmnorton Linux - Networking 3 02-25-2009 08:33 AM
Manufacturer supported drovers? iAlta Linux - Wireless Networking 14 03-12-2007 04:01 PM
memory manufacturer command hcclnoodles Solaris / OpenSolaris 4 10-19-2006 02:52 AM
If I were a hard drive manufacturer.... r_jensen11 General 10 10-12-2004 07:45 PM


All times are GMT -5. The time now is 09:16 PM.

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