Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-19-2006, 11:39 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
Exclamation Ext3 partition being detected as vfat partition?

First of all, my hard drive with one large ext3 partition is not getting mounted at startup. The device is located at /dev/hdb1.
/# mount /320
mount special device /dev/disk/by-uuid/5f8794bc-a47d-4a18-a93a-ad87aaffddbc does not exist
Ok, no problem. I'll just mount it manually.
/# mount /dev/hdb1 /320
/# cd 320
/320# ls
???.??  ??8???8?.??8  ??y.??y
WTF?!? Where are all my files?
/# umount 320
/# mount /dev/hdb1 /320 -t ext3
/# cd 320
/320# ls
jared  lost+found  pics
Thank alah! All of my pr0n and *ahem* important documents are still there. So, what's the problem?
/# vol_id /dev/hdb1
Ok, I remembered from school that FAT12 was for FLOPPY DISKS and had no support for directories. The question is, why would this partition decide all of a sudden that it is VFAT? When I run a e2fsck it claims that the partition is clean. Running a search on google for "ID_FS_VERSION=FAT12" comes up with one (!) result.


Linux deneb 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux
Old 10-19-2006, 12:12 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
check what fdisk says about the actual flag set on the partition. what the partition is listed as containing doesn't necessarily match what actually is there. you can change the id type if you need to in fdisk (or cfdisk or whatever) without any danger to the data itself.
Old 10-19-2006, 12:25 PM   #3
LQ Newbie
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the quick reply. Here is the output of fdisk.
root@deneb:/# fdisk /dev/hdb

The number of cylinders for this disk is set to 38913.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): print

Disk /dev/hdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       38913   312568641   83  Linux
The Id appears to be the same as my other drive containing my root, home, etc partitions. Just to be obstinate I set the Id to 83 again, wrote the changes and tried mounting again - same problem.
Old 03-31-2007, 08:48 AM   #4
LQ Newbie
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0

I actually have exactly the same problem as sylvester_0 except that I am on /dev/sda
My disk is cut like this
|      |    | -------------------------------------- |......|
| ext3 |swap||                 ext3                 ||. XP .|
|      |    | -------------------------------------- |......|
And until I installed XP I was not having any problem with my root FS type
Then I decided to install XP at the end of my disk. Resized /dev/sda5, made some tries to install XP in a logical (/dev/sda6), it failed so have boot on an XP CD and launched fixmbr and fixboot, this made nothing. Finally I installed XP on the last primary and reloaded grub.
After that problems became to come, unable to load root FS during linux boot time because I had specify root=LABEL=label for the root partition. Changing this to root=/dev/sda1 allowed me to correctly start my system. Also I noticed that /dev/disk/by-label and /dev/disk/by-uuid didn't contain any reference to /dev/sda1. After some searches I found that vol_id /dev/sda1 detected it as a FAT12 FS type ... wheras fdisk says that it is really an ext3 one.

An idea to correct it whould be greatly appreciated


ext3, mount, vfat

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
How do I convert an empty ext3 partition to a jfs partition? lothario Linux - Software 3 02-28-2006 10:40 AM
Convert vfat partition to ext3? retarded Linux - Newbie 1 09-03-2004 07:20 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 12:21 PM
resize an ext3 partition with coexisting ntfs partition andy_g Linux - Newbie 1 02-03-2004 05:38 AM
ext3 --> vfat/dos partition dave308 Linux - General 4 01-16-2002 05:26 AM

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration