LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-15-2008, 12:55 PM   #1
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Rep: Reputation: 30
Fat32 partition not recognized?


I have used the same fat32 partitioned hard drive (slave drive for extra storage) for years with several different distros. I just installed debian via net install and this drive is not detected; however, it is detected by my bios. To further explain, executing ls /dev | grep hbd, returns nothing. Does anyone have any ideas? I don't even know where to start my investigation.

Thanks in advance,
Bendeco
 
Old 10-15-2008, 01:01 PM   #2
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18
TRY: ls /dev | grep sd
 
Old 10-15-2008, 01:03 PM   #3
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 18
Also did you mean hdb?
 
Old 10-15-2008, 01:27 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by bendeco13 View Post
I have used the same fat32 partitioned hard drive (slave drive for extra storage) for years with several different distros. I just installed debian via net install and this drive is not detected; however, it is detected by my bios. To further explain, executing ls /dev | grep hbd, returns nothing. Does anyone have any ideas? I don't even know where to start my investigation.

Thanks in advance,
Bendeco
fdisk -l to list them all.


Quote:
Originally Posted by lcole View Post
TRY: ls /dev | grep sd
One of the most creative ways to do "ls /dev/sd*"
 
Old 10-15-2008, 01:46 PM   #5
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
I did mean "hdb". My drive is IDE not SCSI, so this should show up as hd* not sd*, right? And since this is secondary it should show up as "hdb". Thats what it's always been. Here's the output from "fdisk -l"
Code:
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       14853   119306691   83  Linux
/dev/hda2           14854       14946      747022+   5  Extended
/dev/hda5           14854       14946      746991   82  Linux swap / Solaris
 
Old 10-15-2008, 02:42 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by bendeco13 View Post
I did mean "hdb". My drive is IDE not SCSI, so this should show up as hd* not sd*, right? And since this is secondary it should show up as "hdb". Thats what it's always been.
Well, it depends if your driver is using the old fashion IDE driver or the new PATA driver which depends on the SATA infrastructure of the kernel. IDE drives using the PATA/SATA layer will be named as SATA disks, sd*.

Quote:
Here's the output from "fdisk -l"
Code:
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       14853   119306691   83  Linux
/dev/hda2           14854       14946      747022+   5  Extended
/dev/hda5           14854       14946      746991   82  Linux swap / Solaris
There's only one disk in there, so, you are either missing a driver (either IDE or SATA/PATA) for your drive, or you need to check your drive and the cables).

PS. Incorrect slave/master jumper setting often causes problems. In any case, check your BIOS setup and see if your BIOS can detect both disks ok.

Last edited by i92guboj; 10-15-2008 at 02:44 PM.
 
Old 10-15-2008, 05:41 PM   #7
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Thanks for the reply, I will check into the drivers. I know its not cables/jumpers because my bios recognizes it (and as a slave drive). Come to think of it, the drive is over 200Gb and if I recall correctly, there is a kernel option that needs to be active to allow for large partitions.
 
Old 10-15-2008, 05:43 PM   #8
bendeco13
Member
 
Registered: Oct 2004
Distribution: Fedora 7
Posts: 232

Original Poster
Rep: Reputation: 30
Actually I read that this is true for hard drives over 160Gb, but the kernel would still recognize larger partitions (but only as 160Gb). For example, a 200Gb hard drive would be recognized as 160Gb. So this isn't the issue since mine isn't being recognized at all.
 
Old 10-15-2008, 07:16 PM   #9
romsieze
LQ Newbie
 
Registered: Sep 2008
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by bendeco13 View Post
To further explain, executing ls /dev | grep hbd, returns nothing.
You may have to setup /dev/hdb by running /sbin/MAKEDEV hdb. I had to do this the other day for some reason.

If it complaines about hdb check the man pages you may need the major and minor numbers
 
Old 10-16-2008, 06:20 AM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by bendeco13 View Post
Actually I read that this is true for hard drives over 160Gb, but the kernel would still recognize larger partitions (but only as 160Gb). For example, a 200Gb hard drive would be recognized as 160Gb. So this isn't the issue since mine isn't being recognized at all.
I don't know anything about this. First time I hear it.

I don't remember such an option (and every kernel I use is compiled by hand). And I definitely have two 500 GB hard disks, each of one holding a single partition. So, that shouldn't be a problem.

Maybe you are talking about the 128 GB limit that some BIOSes impose (old ones though).

The theoretical max partition size vary depending only on the file system you use to format it. In any case, it's web beyond the 160 GB limit for any modern fs. Even fat32 can grow up to 2 TB for sure (it should be eight theoretically, I guess). All the limitation you find when formating that fs on windows come from windows itself and it's crappy implementation of their own fs

Last edited by i92guboj; 10-16-2008 at 06:23 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Transfer From Redhat Linux Partition to Fat32 Partition saraturtle Linux - General 20 04-04-2007 05:20 PM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
accessing a linux partition from a fat32 partition? abtimoteo Ubuntu 4 09-19-2005 10:41 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Formating a FAT32 partition, putting the partition correctly into FSTAB, and more. squall14716 Linux - General 14 10-27-2003 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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