LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-03-2012, 05:41 PM   #1
zugvogel
LQ Newbie
 
Registered: Sep 2005
Location: Tokyo, Japan
Distribution: Mac, Ubuntu, Debian and Centos
Posts: 28

Rep: Reputation: 16
fat32 system mounting as ext3?


Hello,
I have a strange problem with mounting a USB drive - it should be fat32 (vfat) but it keeps mounting as ext3.

If I list the partitions:
Code:
$ sudo fdisk -l /dev/sdc
[sudo] password for user: 

Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x41ffc810

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       38912   312560608+   c  W95 FAT32 (LBA)
So I think it's windows fat32, and I think I remember formatting the disk like this. But when I try to mount it I get:

Code:
$ sudo mount /dev/sdc1 -t vfat Western
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
so I check dmesg and it says

Code:
[297753.088061] VFS: Can't find a valid FAT filesystem on dev sdc1.
So I just try to mount it without specifying the format of the partition and it works, except it's mounted as ext3:

Code:
$ sudo mount /dev/sdc1 Western
$ mount
/dev/mapper/ubuntu-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/sda1 on /boot type ext2 (rw)
/dev/sdc1 on /home/user/Western type ext3 (rw)
and I can access all the files.

So I'd like to ask: why is it mounting as ext3? Is this healthy?

Any advice is much appreciated! Thank you.
 
Old 05-03-2012, 05:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
Yes, the partition ID is independent of the file system type. Do you remember what commands / utilities used to format the partition?
 
1 members found this post helpful.
Old 05-03-2012, 06:09 PM   #3
zugvogel
LQ Newbie
 
Registered: Sep 2005
Location: Tokyo, Japan
Distribution: Mac, Ubuntu, Debian and Centos
Posts: 28

Original Poster
Rep: Reputation: 16
Thanks for your reply. I didn't know that!

It was a long time ago, but in my old notes I have
Code:
sudo mkdosfs /dev/sdc1
but it was too long ago to remember whether this was really used or not.

I wonder under what circumstances it is possible to change the format-label without actually changing the format-type. Can I change it back so it's less confusing? It's not so important though.

Anyway, thank you for clearing up my confusion!
 
Old 05-03-2012, 06:21 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
Yes, no problem changing the ID type.
 
Old 05-03-2012, 08:20 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,317

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
I think I'd be tempted to copy the data off and clear all partition data and make what you want again.


I am not sure how it can report both fat and mount ext3 unless some overlapping partition issue.

Might peek at it with some partition software or use a live cd to see if your system is odd.
 
  


Reply

Tags
ext3, format, mount, usb, 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
Mounting an ext3 file system destroys superblocks 0p3r4t4 Linux - General 4 06-28-2010 03:10 AM
mounting ext3 file system as ext2 on slackware with custom build kernel robertjinx Linux - Server 2 05-16-2010 10:28 AM
ext4 new file system mounting compatibility with the older ext3 type james2b Linux - Newbie 6 09-08-2009 05:57 PM
Mounting a new ext3 on LVM system by a co-existing older system's ext2 /etc/fstab JZL240I-U Linux - Software 2 11-28-2005 07:44 AM
formating and mounting fat32 as reiser or ext3 turkishkernel Linux - Newbie 2 07-27-2005 04:00 PM


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