LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-23-2006, 06:27 AM   #1
Dave.Punk.Emo
LQ Newbie
 
Registered: Jun 2006
Distribution: Mandriva Linux 2006, Ubuntu Server 6.06 LTS
Posts: 6

Rep: Reputation: 0
Mandriva 2006 won't recognise my IDE removable HDDs


Ok.
I've installed Mandriva 2006 Free Edition on my PC, and added in a Removable IDE Hard Drive (you know, the old-style pull out ones with the handles!), and Mandriva simply cannot see it. It does not appear in HardDrake, and I can't mount it... Yet, I know it is physically there, as it is running through the same IDE cable as the CD-ROM, and has power, so I am kind of confused about why it is not being picked up. Admittedly, I put it in after install, but I have tried rebooting, using my other Removable HDD (I have 2, a 6GB & 32GB), and neither work... any ideas or suggestions?
 
Old 06-23-2006, 09:43 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Have you checked the Master Slave jumpering on the removable drive?

If yes, is the drive partitioned and formatted?

If yes, post your fstab file, and we'll see if we can help you out.
 
Old 06-24-2006, 01:18 AM   #3
Dave.Punk.Emo
LQ Newbie
 
Registered: Jun 2006
Distribution: Mandriva Linux 2006, Ubuntu Server 6.06 LTS
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, I have checked the Master/Slave jumering on the drives, and both are set to "Slave"... but, I can't find the HDDs in Linux or Terminal in order to format them... and the HDD mounting/partitioning tool in Control Center can't see them either. And, this is probably a pretty dumb question, (but I've only been a linux user for about 2 weeks), where can I get the fstab file?

Dave
 
Old 06-24-2006, 06:18 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You need to change one of the drives to master, leave the other as slave. It will not work with both set to slave.

Once that is done, you should be able to partition the drive and then format it.

The fstab file is located at /etc/fstab. Since you are new to linux, the leading '/' says root, the beginning of the file structure. Open a konsole. It will open as a user in the /home/username/ directory. Do a 'cd /' without the quotes. That will take you to the root of the file system. Then do a 'cd /etc' without the quotes. That will take you to the directory etc. If you do a 'cat fstab' no quotes, the contents of the fstab file will be outputted to the screen. From there you can use the cut and paste options to put the file contents here, if that is still necessary.

Fix the master slave jumpering first. Then try to partition the drive, then format. MCC has a tool to mount the new file system. Try that in order to mount the new file space.
 
Old 06-25-2006, 01:00 AM   #5
Dave.Punk.Emo
LQ Newbie
 
Registered: Jun 2006
Distribution: Mandriva Linux 2006, Ubuntu Server 6.06 LTS
Posts: 6

Original Poster
Rep: Reputation: 0
So I have to have one of my removables set as a master? (I have a permanent HDD in the computer as well as the removable drives. The permanent one is set as Master, with the removable set as the slave). I'm going to try using Knoppix to see if that can see the drives (I have another friend helping me out too!), and I'll post the fstab file soon.

Dave
 
Old 06-25-2006, 06:04 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You are a little confused. There are two IDE buses on most standard rigs. You can have a master on the first IDE bus, a slave on the first IDE; a master on the second and a slave on the second. The term master, and slave are a little misleading. It is a term for an address. So think of master = address 1 and slave = address 2.

If you have two the same on one bus, it won't work.
 
Old 06-26-2006, 02:25 AM   #7
Dave.Punk.Emo
LQ Newbie
 
Registered: Jun 2006
Distribution: Mandriva Linux 2006, Ubuntu Server 6.06 LTS
Posts: 6

Original Poster
Rep: Reputation: 0
OK, the removable drive goes through the same bus as my CD-ROM, with the CD-ROM set as master, and the removable drive as slave. So, I'm still pondering this... anyway, here's the fstab file. See if you can make anything of it.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0022,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=iso8859-1,sync,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/sda1 /mnt/FLASHDRIVE vfat pamconsole,exec,noauto,noatime,codepage=850,iocharset=iso8859-15,managed 0 0


Dave
 
Old 06-26-2006, 08:30 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You don't have any entries for the second drive. Understand the fstab file is used by the system to mount a 'file system' at a 'mount point'. It can mount the file system during booting, or be mounted using a mount command.

The drive has to have at least one partition that is formatted with a file system supported by linux. There is a long list of supported file systems you can use.

Now that you have the master slave jumpers set so they do not conflict, can you partition and format the drive? Was it previously partitioned, and formatted? If yes, what file system was it formatted with?
 
Old 06-28-2006, 01:04 AM   #9
Dave.Punk.Emo
LQ Newbie
 
Registered: Jun 2006
Distribution: Mandriva Linux 2006, Ubuntu Server 6.06 LTS
Posts: 6

Original Poster
Rep: Reputation: 0
Well, I reinstalled Mandriva with the 40GB disk in, and it recognised it, so it's working now!! Thanks for all your help!
 
Old 06-28-2006, 08:50 AM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I'm gald you got it going. Re-installing was not at all necessary. Work on your linux skills, as they build, you will find out why switching is worth the effort.
 
  


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
Removable media on 2006 RC2 Talyz Mandriva 0 09-29-2005 11:00 AM
Unmounting removable IDE hard drive gusx Linux - Hardware 3 09-29-2005 10:18 AM
hotplug of ide removable drive uberNUT69 Linux - Hardware 0 03-28-2005 05:14 AM
Identical removable HDDs dgermann Linux - Newbie 14 09-04-2004 07:52 PM
Removable IDE Drives (Fat32) TheSwine Linux - Hardware 1 03-15-2004 01:07 AM

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

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