LinuxQuestions.org
Review your favorite Linux distribution.
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 07-02-2022, 07:48 PM   #1
Wacho
LQ Newbie
 
Registered: Jul 2022
Posts: 3

Rep: Reputation: 0
Unhappy check_FAT: Bad jump in FAT partition - Please help


Hi you guys, I`m in a bit of trouble here, I have this disk that I need to recover info from, it was reformated and all, so I started searching and discovered (I said discovered, because I am not a linux guy) Testdisk, tried it and liked it so much that I even repartioned my computer to have linux on it as well, I went with Ubuntu, and I tried Testdisk and searching for the partition that I need I think it found it but it says check_FAT: Bad jump in FAT partition, and I think that`s the partition I`m looking for because I remember I had my disks with fat32 filesystem, so please if you could help me. what can I do to recover the partition?
 
Old 07-02-2022, 08:16 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
it was reformated and all,
as what?

Boot a Live Gparted with a live session and boot it .

https://gparted.org/

Then post back the readout in code tags which is the hash mark on the toolbar in the advanced reply box.

My example:

Code:
harry@biker:~
$ sudo parted -l
[sudo] password for harry: 
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  56.9GB  56.9GB  primary  ext4            boot
 2      56.9GB  60.0GB  3087MB  primary  linux-swap(v1)


harry@biker:~
$
Might not need to use sudo in gparted live session. I am not sure though. That is why I included it

In fact. Just checked and their command for fat partitions is

Code:
sudo fdisk -l -u
So disregard my parted -l command.
Quote:
Accounts in GParted live

GParted live is based on Debian live, and the default account is "user", with password "live". There is no root password, so if you need root privileges, login as "user", then run "sudo" to get root privileges.
https://gparted.org/livecd.php
 
Old 07-03-2022, 05:29 PM   #3
Wacho
LQ Newbie
 
Registered: Jul 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Hi, and thanks for your response, i tried Gparted on a virtual machine,and I got this error "end kernel panick-not syncing: attempted to kill the idle task"
and just hung there, with no response,anything else I can do?, oh and i reformated as NTFS
 
Old 07-04-2022, 02:12 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Any kernel panic is roughly equivalent to Windows' BSOD - reboot required.

Reformatted what, and why? Formatting typically eliminates the ability to recover data present prior to the formatting. It doesn't sound like you lost a partition or a filesystem. Rather, you corrupted one by formatting. If the old partition format is the same type, and the partitioning was not altered, you might get lucky with testdisk finding lost files. Replacing a FAT filesystem with an NTFS filesystem would be very destructive by comparison. Providing here output from parted -l as rokytnji demonstrated might allow someone to provide a more definitive outcome expectation.

You say you repartitioned to have (Ubuntu?) on a partition ostensibly, but you say later you were running Gparted in a VM. You need to clarify your environment, and detail better whatever you have done or intend to do.
 
Old 07-04-2022, 04:48 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
If you have not resolved this problem, in addition to answering the questions in post 4, could you explain what you mean by 'have linux on my computer' means? Did you install Ubuntu on the same drive as the previously mentioned drive you reformatted? Did you create a separate partition? Was this partition created where the previous FAT partition you are trying to save data from existed?
 
Old 07-17-2022, 06:57 PM   #6
Wacho
LQ Newbie
 
Registered: Jul 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
If you have not resolved this problem, in addition to answering the questions in post 4, could you explain what you mean by 'have linux on my computer' means? Did you install Ubuntu on the same drive as the previously mentioned drive you reformatted? Did you create a separate partition? Was this partition created where the previous FAT partition you are trying to save data from existed?
Hi, and thanks for you response, and sorry for the delay on my answer, I repartiion my disk to have dual boot, not in the same disk I´m trying to recover but in other disk, so now I have ubuntu and windows in the same computer with the disk I´m tying to recover, that disk hasn´t been touched since I reformated, did I explain myself better now?
 
Old 07-18-2022, 12:47 AM   #7
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
the good news is that reformatting doesn't re-zero or rewrite the disk with random data... regardless of file system, files themselves have flags pertaining to their type, such that recovery software, can retrive jpeg0, jpeg1, jpeg2, ... jpegnth, and so on, for most of the other file types, like pdf0, pdf1, pdf2, etc...

the bad news is that the titles can often be missing, so you have heaps of recovered files to sort..

If a drive is failing, it's a good idea to take a snapshot of it first thing, with ddrescue, and then perform recovery operations on the snapshot instead of on the drive itself.

The best thing of all, though of course, is having a backup to recover from.
 
Old 07-18-2022, 02:25 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I'd try to use testdisk to see if it can get data before you attempt any change.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to mount FAT drives (wrong fs type, bad option, bad superblock on /dev/sdb1) tacticalbread Slackware 3 02-24-2011 03:25 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
RH9 and wine with kids games (jump start line) help please Lleb_KCir Linux - Software 1 05-19-2004 09:32 AM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
Linux supports fat or fat 32? dark_light Linux - General 3 04-25-2002 01:06 AM

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

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