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 12-05-2008, 02:35 PM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 385

Rep: Reputation: 30
What exactly does the Ubuntu partitioner do when it quick formats a disk?


I have a TrueCrypt encrypted disk that's been accidentally formatted during a Ubuntu install but I'm pretty sure that it was only a quick format. As quick formats basically just blank the file address location table and there were no files on there, what exactly would have been written to the disk?
 
Old 12-05-2008, 06:02 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
The formats for most Linux file systems work by creating inodes at periodic intervals across the partitions. These inodes show the intervening blocks as being free space. What you call the file address location table is called the superblock in Linux. The superblock is also repeated at large periodic intervals to provide redundancy to be used to recover from a catastrophic failure. All together about 5% of the partition is overwritten with inodes and superblocks. The overwritten parts of the file system are dispersed fairly evenly throughout the partition.

-------------------------
Steve Stites
 
Old 12-06-2008, 05:37 AM   #3
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 385

Original Poster
Rep: Reputation: 30
Quote:
What you call the file address location table is called the superblock in Linux
Thanks, I couldn't find the proper name for it.

It's defaulted to creating 4 partitions (one NTFS, one an EXT3 root, a swap and a ext3 /home partition.) so obviously the partition table's been written to too.

How will this affect the odds of a partition recovery tool getting my data back (bearing in mind that - if I understand correctly - most of it is still there, but the partition table has been overwritten and superblocks and inodes have been placed at regular intervals over the surface?
 
Old 12-06-2008, 01:33 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,368

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Quote:
Originally Posted by Mark_667 View Post

How will this affect the odds of a partition recovery tool getting my data back (bearing in mind that - if I understand correctly - most of it is still there, but the partition table has been overwritten and superblocks and inodes have been placed at regular intervals over the surface?
The odds of being able to recover data with a partition recovery tool are slim. I suggest that no matter what operating system you use that you set up a decent backup and recovery system and forget about recovery tools that try to find the data somewhere in an overwritten disk.

------------------------
Steve Stites
 
Old 12-06-2008, 03:39 PM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
My gut feeling tells me your chances are about zero, given it was an entirely encrypted disk (not just an encrypted file stored on a normal filesystem/partition that was reformatted).

You might try asking your question on the TrueCrypt forums. http://forums.truecrypt.org/

Good luck!
 
  


Reply

Tags
partition, ubuntu


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
Just a quick questions about partition formats! cereal83 Linux - General 3 06-24-2006 11:07 PM
Disk partitioner of Freebsd 6.0 Keruskerfuerst *BSD 2 01-29-2006 08:59 AM
Disk partitioner in installer schermozzel Fedora 26 07-10-2005 10:50 AM
Good disk partitioner JoeUser11 Linux - Newbie 10 01-07-2005 05:37 AM
need <free> disk partitioner win & linux square_eyes Linux - Software 1 04-25-2004 08:44 AM

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

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