Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My EXT3 hard disk had been accidently formatted to NTFS by winXP but NO data are write on this harddisk after I formatted it to NTFS so I believe that the data in this HD can be rescue, please teach me how to restore the MBR of the Harddisk and return it to EXT3 and extract data from it.
Please teach me how to do! Thanks
Last edited by tommy2706; 07-15-2008 at 09:46 PM.
Reason: spell check
It will be next to impossible if you actually did a format, since it's already written 1's and 0's across the entire partition.
If that's not the case, google for "dos boot disk" or "dos boot cd" and use the fdisk that comes on there - once on the correct drive letter:
fdisk /mbr
will wipe the mbr and then you should be able to use a Linux rescue CD to get back.
Alternately, grab a copy of Linux Defender (It's Knoppix CD-Linux - runs right off of your CD/DVD drive if you can boot from that - with NTFS support). That way you can boot off of cd and mount your hard drive and begin data retrieval efforts there.
Whatever you do, don't boot into windows. Probably best to remove the hard drive completely until you're ready to attempt recovery.
Check out this site and The Coroner's Toolkit (spelling may be wrong on coroner). TCT comes with a program to scour a Unix or Linux disk and attempt file retrieval:
Just meant that it will make it harder since NTFS format is like mkfs on Linux/Unix - Greatly reduces chances of getting anything back. Still recoverable per my suggestions above.
Yours are also equally valid - just trying to be more clear about my response
Just meant that it will make it harder since NTFS format is like mkfs on Linux/Unix - Greatly reduces chances of getting anything back. Still recoverable per my suggestions above.
Yours are also equally valid - just trying to be more clear about my response
Best wishes,
Mike
mkfs? Umm. Not to be mean or anything, but mkfs is the program that MaKes the File System, not the filesystem itself. For example, to make a ext2 filesystem, you use
Code:
mkfs.ext2 /path/to/location
Linux filesystems are like: ext2, ext3, reiserfs, unionfs, etc.
The fact that the hard drive uses NTFS will not hinder anything.
so next time pay more attention to the MS windows( Borg) installer .There is a check box you must uncheck to stop the win.install cd from assimilating the linux drive.
I have always been under the assumption that an NTFS format would overwrite the already formatted hard drive and cause damage. Although, I may be wrong. I understand the mkfs command, but am not very well versed in NT. Thanks for the correction
, Mike
Quote:
Originally Posted by phantom_cyph
mkfs? Umm. Not to be mean or anything, but mkfs is the program that MaKes the File System, not the filesystem itself. For example, to make a ext2 filesystem, you use
Code:
mkfs.ext2 /path/to/location
Linux filesystems are like: ext2, ext3, reiserfs, unionfs, etc.
The fact that the hard drive uses NTFS will not hinder anything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.