LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-02-2008, 04:04 AM   #1
whtwht
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
help for puppy linux


few days ago, my desktop decided to act up, i tried to pull out the files through using puppy linux, (desktop use xp)

since the hard driver cant be mounted at first, so i tried:

fdisk -l
mfks.ext3 /dev/sda
mount -t ext3 /dev/sda /mnt/sda

but i still cant find my files after the hard got connected

wht should i do now?

is any possible to get my files back?
 
Old 12-02-2008, 04:26 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Wait a second...
What are you trying to do?
Where are your files?
If your files were on the hard drive on a windows partition, then mkfs really was not the way to go...
What were you trying to accomplish?

If you have files on a hard disk that you want to see, you need to mount the drive with mount, possibly mount.vfat or mount.ntfs
mkfs will delete the windows partition to create an ext3 partition. You can still rescue it with testdisk if you didn't touch ANYTHING in the ext3 partition you created...

Last edited by Agrouf; 12-02-2008 at 04:27 AM.
 
Old 12-02-2008, 04:41 AM   #3
RMLinux
Member
 
Registered: Jul 2006
Posts: 260

Rep: Reputation: 37
i think don't use puppy use dog :-) dog are matured than puppy...:-)

can you elaborate your problemos...buddy.
 
Old 12-02-2008, 07:33 AM   #4
fbianconi
Member
 
Registered: Apr 2008
Location: argentina
Distribution: Arch
Posts: 86

Rep: Reputation: 22
Code:
mfks.ext3 /dev/sda
What that command does is make a new filesystem in that block device, that block device represents the WHOLE disk (S)csi (D)rive (A) SATA disk are treated with scsi emulation.
In short, that command erases all logical structure of the disk (the previous filesystem and partition tables) and creates a new (empty) filesystem, so in order to get your files back you should use testdisk to read the Real data written on the disk to make a new logical structure to access those files. You should be extra careful not to write any further on that disk, the more you write on the disk, the more probably to write over the Real data.
You can get testdisk from here
http://www.cgsecurity.org/wiki/TestDisk
Make sure to read the documentation first.
Good look.
 
  


Reply


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
puppy linux and puppy.bat livepie22 Puppy 5 11-09-2006 09:02 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration