LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-19-2006, 11:39 AM   #1
sylvester_0
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.
Code:
/# 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.
Code:
/# mount /dev/hdb1 /320
/# cd 320
/320# ls
???.??  ??8???8?.??8  ??y.??y
WTF?!? Where are all my files?
Code:
/# 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?
Code:
/# vol_id /dev/hdb1
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT12
ID_FS_UUID=
ID_FS_LABEL=
ID_FS_LABEL_SAFE=
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.

Ideas?

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
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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
sylvester_0
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the quick reply. Here is the output of fdisk.
Code:
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
hippo31
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Hi,

I actually have exactly the same problem as sylvester_0 except that I am on /dev/sda
My disk is cut like this
Code:
 -----------------------------------------------------------
|      |    | -------------------------------------- |......|
| 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
 
  


Reply

Tags
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 03:09 AM.

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