LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-16-2004, 08:02 AM   #1
st00
Member
 
Registered: Apr 2003
Posts: 50

Rep: Reputation: 15
Moving hard drives


Ayup, when I installed Fedora Core 1 a while ago, I had my pc set up as follows,

Primary Master - 80GB (40GB XP, 40GB FC1)
Primary Slave - CDROM
Secondary Master - 10GB removable drive (Fat32 backup disk)
Secondary Slave - CDRW

I set it up like this because I understood it to be better for recording CDs 'on the fly'. I recently noticed that it was causing my hard drives to run at a reduced speed so I changed it to the following,

Primary Master - 80GB (40GB XP, 40GB FC1)
Primary Slave - 10GB removable drive (FreeBSD or backup disk)
Secondary Master - CDROM
Secondary Slave - CDRW

Now it runs at the right speed and by changing fstab and device.map (for grub) in FC1 I can boot into FC1.

The problem is that before I could mount the 10GB drive and access the files but now FC1 can't find it. I checked that the pointers in fstab were changed from hdc to hdb. When I go into the hardware browser in FC1 the drive doesn't even appear, any ideas? Please help, thanks.
 
Old 07-16-2004, 08:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well ignoring this "hardware browser" let's look at a lower level... what does "fdisk -l" report about each device? possibly your device mappings have made it inaccessible?
 
Old 07-16-2004, 08:11 AM   #3
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Did you check your BIOS settings? Also, what does "fdisk -l" give you?

John
 
Old 07-16-2004, 08:25 AM   #4
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Since you moved the disk from slave -> master, you'll have to change one or a few jumpers on the hd.
To find them you will probably have to take out the disk. The jumpers are often placed at the side of the IDE-connector with description somewhere on the HD's cover
 
Old 07-16-2004, 10:10 AM   #5
st00
Member
 
Registered: Apr 2003
Posts: 50

Original Poster
Rep: Reputation: 15
Sorry I should have mentioned that the jumpers and everything are alright because I can boot from the disk using grub.

fdisk -l gives me

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4982 40017883+ 7 HPFS/NTFS
/dev/hda2 4983 4995 104422+ 83 Linux
/dev/hda3 4996 9834 38869267+ 83 Linux
/dev/hda4 9835 9964 1044225 f Win95 Ext'd (LBA)
/dev/hda5 9835 9964 1044193+ 82 Linux swap

and that's it, nothing about hdb
 
Old 07-20-2004, 03:20 AM   #6
st00
Member
 
Registered: Apr 2003
Posts: 50

Original Poster
Rep: Reputation: 15
Can anyone help me out with this? I can boot from the drive using grub (on the MBR of hda) but can't find it in Fedora since I moved it.

Please help ...
 
Old 07-20-2004, 09:16 AM   #7
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

I don't understand what you mean by "boot from the disk using grub"? Do you mean passing "root=/dev/hdb" as an argument or something like that?

Certainly "fdisk -l" is telling you that the system isn't even aware of hdb. Does the file /dev/hdb exist? You could try the manpages for cfdisk to see if there's a way of updating the partition table without reformatting anything. BE CAREFUL!

Did you look at your BIOS settings?

Is it feasible to go back to your original configuration, back everything up onto CDs (probably a good idea anyway) and then change the drive back and just reformat it?

John
 
Old 07-20-2004, 10:45 AM   #8
st00
Member
 
Registered: Apr 2003
Posts: 50

Original Poster
Rep: Reputation: 15
jkobrien, my system is set up as a multi-boot using grub which is installed on the MBR of hda (the drive with XP and FC1 on). On the other drive I have FreeBSD installed. I have configured Grub to give the following options;

Fedora Core 1 - hd0,1
XP - hd0,0
FreeBSD - hd1,0,a

Selecting the FreeBSD option boots nicely into FreeBSD. I did check the BIOS and it looks fine, and the fact that I can boot into FreeBSD suggests that there are no BIOS problems.

The /dev/hdb file exists.

The only problem I have is letting Fedora know that the drive is there, presumably a file somewhere is telling it to look at hdc still???
 
  


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
Folders moving themselves between drives tmoorman Mandriva 1 07-12-2005 02:43 PM
Hard Drives moving from one PC to another 88guy Linux - Hardware 5 12-30-2004 06:39 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
FC2 I have 2 small drives moving to 1 large adem0rdna Linux - Hardware 2 10-18-2004 05:56 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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