Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Recovery of formatted ext3 partition Post 302498711 by al0x on Tuesday 22nd of February 2011 08:54:08 AM
Old 02-22-2011
Recovery of formatted ext3 partition

Hi!

I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size of about 4GB, after accidently formatting it, I accidently rewrote Grub on it Smilie I hope I didn't permanently deleted important files...
I just need some scripts (.sh scripts) and images (.png) on the partition, I tried PhotoRec and TestDisk. Or I can't figure out how to correctly use them or they can't find any files Smilie
What is the best way to recover files in my case? I tried searching but couldn't find anything usefull, so you are my last hope Smilie

Thanks A LOT for help!!
gr33tz, alex

Last edited by al0x; 02-22-2011 at 10:31 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting an Ext3 partition...

I'm trying to delete my red hat partitions so I can restructure my computer's hard drive. I want to delete the Boot, /, and Swapspace partitions so I can rearrange my drive and install some other systems. In partition magic when I attempt to delete the Ext3 partitions, it reads as not being able to... (4 Replies)
Discussion started by: djtrippin
4 Replies

2. Solaris

recovery partition table from fdisk?

I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk. The possible reason could be: 1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies

3. UNIX for Dummies Questions & Answers

Formatted Linux partition from Windows

While working in windows, I accidently formatted the Linux partition (I had fedora core 3 dual boot system with Windows XP as the default OS to boot). Now, on starting the comp, I see a grub command line, and I am not able to make any progress from there. Can I do something so that I change it to... (2 Replies)
Discussion started by: amangupta
2 Replies

4. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

5. OS X (Apple)

Making a "Recovery Partition" ??

Hiya people.. I was hoping some expert here would share with me some details as I like to make a "System Recovery Partition" on a external drive. I use my MacBookPro on the road all the time and in the past it's known to happen, and often it happens at the worst time. So, my question is: ... (0 Replies)
Discussion started by: Akira
0 Replies

6. Filesystems, Disks and Memory

umount(ing) LVM ext3 partition problem

I am using RHEL4 OS and the problem i have is that when i try to umount an LVM implemented partition after checking the properties of the mounted folder it gives the error of device busy . things iam not doing : iam not in the mounted woulder either by shell or by GUI. thing iam not trying do... (4 Replies)
Discussion started by: Tahir Saleh
4 Replies

7. Filesystems, Disks and Memory

Problem with ext3 partition

I accidentally deleted one of my ext3 partitions from Windows XP. However, since I did not make new partitions over it, or format that area, I guess my data is safe. So I made a new partition with the same cylinder boundary values using fdisk (in Linux). But I cannot access my old data on that... (3 Replies)
Discussion started by: digjam
3 Replies

8. UNIX for Advanced & Expert Users

Linux EXT3 superblock recovery

Is there a way to recover or rebuild the superblock of an ext3 filesystem with out loosing data? Thanks (5 Replies)
Discussion started by: lochraven
5 Replies

9. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

10. Gentoo

Data recovery of formatted external HDD

accidentally formatted ext3 external hard disk .. im using EAse us tool in windows system to recover the data ... will this works?? if yes ... the another external hard disk have to be formatted in which file system ? is there any other option ..please help me out (1 Reply)
Discussion started by: rajeshz
1 Replies
u3-tool(1)						      General Commands Manual							u3-tool(1)

NAME
u3-tool - Tool for controlling the special features of an U3 USB Flash disk. SYNOPSIS
u3-tool [-cdDehiRuvV] [-l cd image ] [-p cd size ] device DESCRIPTION
This tool can be used to control some of the special features of U3 Flash disks. OPTIONS
-c Change current password. -d Disable device security leaving the data intact. The current password is required to perform this command. WARNING: this makes all current data files AND possibly also deleted data public. -D Dump all raw info(for debug) -e Enable device security, protecting all files currently on the data partition using a password. -h Print a short help message. -i Display device information. -l <cd image> Load a new CD image into the cd partition of the device. Make sure the cd partition is big enough to contain the file. Else you'll have to repartition the device using the '-p' option. -p <cd size> Repartition device, reassinging the device space between the cd and data partition. The argument specifies the size of the CD parti- tion. The rest of the device will be assigned to the data partition. The data partition needs reformating after this command has been issued. -R Reset device security destroying private data. This can be used if the device is blocked or the password is lost. -u Unlock secured data partition. This requires the current password. -v Use verbose output -V Print version information u3-tool(1)
All times are GMT -4. The time now is 04:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy