LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-10-2020, 07:12 AM   #1
PlunderingPirate
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
FAT12 filesystem on Linux - is it possible to read FAT12 paritions?


I have removed a HDD from a video recorder which is something like 20 years old. It is a standard 3.5 inch IDE drive.

I found that I was not able to read the drive paritions using an IDE disk to USB adapter, and thought the drive was dead. However gparted thinks that the file system is not allocated with any partitioning scheme.

I ran testdisk to try and recover lost paritions. It did not exit successfully, but printed an error message which indicated that the partition scheme was FAT12.

I have no idea why something from the early 2000s is using FAT12, but this might explain why the OS doesn't recognize the disk.

Is there any FAT12 support for Linux?

Currently I am using Debian 10, however if there is any other Linux based OS with FAT12 support, I don't mind running something else in a VM or as a Live boot image.
 
Old 09-10-2020, 07:43 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,790

Rep: Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951Reputation: 5951
The vfat driver should automatically detect the FAT type i.e 12, 16 or 32 if it has not been corrupted. It is possible the DVR recorded raw video data to the drive using a proprietary format without any partitioning scheme. Does the DVR still work and does it have a USB or ethernet port? There could be an export function to copy recorded videos to an external drive which I think would decode it to some video format.

What is the output of the command file -s /dev/sdx (where sdx is the device ID for the drive). That should detect if there is a filesystem, MBR or if it is undetected just data.
 
Old 09-10-2020, 07:51 AM   #3
mjolnir
Member
 
Registered: Apr 2003
Posts: 824

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by hypernova07DCh View Post

I have no idea why something from the early 2000s is using FAT12, but this might explain why the OS doesn't recognize the disk.

Is there any FAT12 support for Linux?...
I think their should be support but it's been a long time since I had anything in Fat12. That being said I routinely mount a FAT16 drive on an old Debian 'Sarge' device.
A lot of early 2000 PDA devices (WinCE) read FAT12 disks. Not much help but perhaps someone else with a better idea will come along.

Edit: and I see that they have - good luck

Last edited by mjolnir; 09-10-2020 at 07:55 AM.
 
Old 09-10-2020, 03:03 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Not sure if your drive is actually being used correctly.

Better post specs of drive before we get too far. Could be an old ide like mfm or rll.

Not sure if the drive is actually good.

Some of those adapters can be burned out if power comes from wrong source.
 
1 members found this post helpful.
  


Reply

Tags
fat, filesystems



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
Linux Homework Fat12 Partition File jet36 Linux - Newbie 11 11-11-2016 02:08 PM
File written, under FreeDOS, on spi flash (formatted as FAT12) is not found in Linux Braiam Linux - Embedded & Single-board computer 2 01-18-2010 01:47 PM
Is incompatible FAT12 driver between Linux and FreeDOS? Braiam Linux - Kernel 2 12-28-2009 08:54 AM
Trying to mount and read my NTFS paritions :( mcrexx Linux - Newbie 5 08-30-2005 02:54 AM
code for make format floppy in fat12 mode flatronft Linux - Software 0 01-02-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 AM.

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