View Full Version : Finding Vista HD when using Knoppix for data recovery...?
JStevenson
06-28-2009, 10:50 PM
Hi there,
I am a complete noob to Linux and only marginally more advanced at troubleshooting Windows. I found Knoppix as a possible way to retrieve data on my laptop, which I can't boot up (disk read error). I have already tried the system recovery approach through Vista disks but can't even get to an input option. My computer is still under warranty with Dell but they simply want to wipe the drive and/or replace it, without helping with data recovery at all - so I'm desperately trying to get my files first.
I have burned a CD to boot from (Knoppix 6.0.1, I believe). It does open up a Linux desktop and I can see the USB thumb drive I'm hoping to put my data on...but I can't figure out how to see my laptop hard drive to capture my files. I went to the Rescue FAQs and attempted to follow the info provided here: http://www.knoppix.net/wiki/Rescue_FAQ#Q:_Ok.2C_I.27ve_booted_Knoppix.2C_now_h ow_do_I_rescue_the_data.3F. Unfortunately, the linked tutorials refer to a much older version of Knoppix and don't mention Vista. The current version of Knoppix that I have doesn't match what is shown.
So here's my questions:
Can anyone point me to a simple walk-through or provide clear info on how to use Knoppix to recover data from a Vista laptop? Specifically, how do I find or access my Vista hard drive? Do I need to "mount" the drive first or something? (not totally sure what that means...) Should I be using a different version of Knoppix then 6.0.1?
Here's some specs on my computer, in case that helps:
Dell M1530 laptop
Running Vista Home Premium 64bit
Intel Core 2 Duo Processor, t8300 (2.4GHz/800MHz FSB)
4GB, DDR2, 667MHz 2 Dimm Memory
250GB 7200RPM SATA Hard Drive
8X DVD+/- RW Slot Load Drive
Thanks so much for taking the time to read this and possibly help!
Jen
rusty
06-29-2009, 05:12 AM
The hard drive will normally show up in the PCMan window along with your USB drive. If it hasn't so far it is possible that it has failed and needs to be replaced. There are diagnostic tools in linux that could help further , but as a newbie, you might be better served by the following:
http://www.ultimatebootcd.com/
Post back if you want to delve into using Knoppix for more help,
JStevenson
06-30-2009, 07:27 AM
Hi Rusty,
Thanks for your suggestion. I've been fiddling around with the Ultimate Boot CD for Windows. Everything still hung up every time I tried to access my computer hard drive. I'm pretty certain there is something physical wrong with the hard drive. Dell has labeled it damaged and is sending a replacement. In the meantime, I'm still trying to sneak in some way and capture some of my data in any way possible ($1500 - $3000 and up for a data recovery service is definitely out of my range :shock: ). Although I'm a newbie, I'm thinking I might as well try to stumble my way through Linux/Knoppix stuff and see if I can get better results. Since the data is probably lost in any case, what have I got to lose? Any suggestions on where to begin? I read somewhere that I might be able to do something from the root command line but have no idea where to start with that...
Thanks!!!
Jen
Oh, also saw reference to something called testdisk that might have worked for some folks but couldn't figure out how to access it through Knoppix...
rusty
06-30-2009, 06:13 PM
testdisk is installed on 6.0.1 so give it a try. Open a root console(shell) by choosing root shell from the Accessories menu. You may have to resize the window to allow testdisk to run.
Here is a tutorial for testdisk: http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
If testdisk sees the drive, you might have a chance at recovering data yourself. I'm wondering if you can hear the drive spin up when you start the computer , or if it clicks alot or anything.
Another popular, though not free product is Spin-Rite: http://www.grc.com/sr/spinrite.htm Again, if the drive is mechanically damaged, Spin Rite will not help.
JStevenson
06-30-2009, 08:18 PM
Whew boy, ok, I'm running testdisk. The first part showed this (put in code format because it seemed to display better):
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63
Current partition structure:
Partition Start End Size in sectors
1 P Dell Utility 0 1 1 12 254 63 208782
2 P HPFS - NTFS 13 0 52 1318 107 5 20971520 [RECOVERY]
Invalid NTFS boot
3 * HPFS - NTFS 1318 107 6 30074 207 13 461971448
3 * HPFS - NTFS 1318 107 6 30074 207 13 461971448
4 E extended LBA 30074 207 22 30401 42 41 5242880
5 L Sys=DD 30074 239 54 30401 42 41 5240832
At least I can see that there is a drive! According to the TestDisk tutorial the "invalid NTFS boot" means that I probably have a corrupted filesystem at the very least. Started running the Quick Search but it seemed to hang up at about 13%. I pressed STOP and it offered me the option for deeper search, which is currently running. I'll wait awhile and see what happens. Any idea how long it might take to run? In other words, how will I know when to abort due to no progress?
Not much in the way of sounds that I can tell, a very faint brrrrrt sound, rhythmic (meaning regular every other second) but can't tell if that is the fan or something...I didn't pay attention to the normal sounds of the laptop before the crash. The damn thing is only a couple of months old.
If the drive is physically damaged, is there still a chance I could remove it from the laptop and hook it up to a desktop and maybe still salvage something? And can you hook a laptop hard drive into a desktop motherboard and power supply anyway? I have an old XP box I can use for this (had to do it with a bad desktop hard drive once before, but I don't think there was physical damage to that one).
Saw a reference to a companion program to testdisk called PhotoRec...is it in Knoppix too? I found step by step tutorial for it too...
rusty
06-30-2009, 09:33 PM
Looks like you have a chance at recovering something. Accoding to http://www.debian-administration.org/articles/420 photorec is bundled with testdisk, so give it a try.
A separate drive enclosure like this one might be what you could use: http://www.newegg.com/Product/Product.aspx?Item=N82E16817707116. I think Radio Shack sells something similar, if you have one nearby.
JStevenson
07-01-2009, 05:04 PM
Okay, I think I might have a slim chance of accessing some files here. My question now concerns the newest version of Knoppix (6.0.1). I can't figure out how to change my USB External HD (Western Digital My Book) to writable so I can put any recovered files there when I use PhotoRec. In the newest Knoppix version, the Lightweight Desktop Environment only has a My Documents folder on the desktop, not the icons for the different drives. I can see my external drive in PC Man File Manager but can't seem to change the read/write permissions. How on earth do I do it in Knoppix 6.0.1? Should I be doing it from the root terminal with command line commands instead? If so, how do I do that? I've read over a bunch of lists of Linux commands but am a bit overwhelmed!
Also, when asked which directory to use for saving recovered files when I'm actually in the PhotoRec program, I'm not sure how to tell which one is my external drive. Definitely don't want to write anything to the damaged HD! Perhaps I will be able to tell this by the permissions once I can change them?
Thanks so much for the ongoing help!!!
rusty
07-01-2009, 06:17 PM
I can see my external drive in PC Man File Manager
ok, highlight the drive and click Alt+Return, or File, File prperties from the PCMan menu bar. Note the location, probably /media, and the filename, possibly sda#, so the drive is mounted on /media/sda# (ie sda1). That is where you want Photorec to save your files.
but can't seem to change the read/write permissions
On the PCMAn dialogue that opened when you highlighted the drive, you will see a permissions tab, try changing them there and see if it works. You can also try entering a command in a root shell.
chmod -R 777 /media/sda#.
I know that some people have had issues with MyBooks in linux, and I havent had any experience with one myself.
Be forwarned that some users believe that writing to NTFS formatted drives is not safe with Knoppix, I tend to avoid it. I don't know how the WD drives come formatted.
JStevenson
07-01-2009, 08:09 PM
I thought I had changed the permissions for the MyBook (which is FAT not NTFS, thank goodness)...but I don't see an option with rwxrwxrwx in the PhotoRec list. And it doesn't say sda or sdb or any other way I might identify which partition I should choose (size, manufacturer, etc.).
The display in the PhotoRec program to choose where to write recovered content is as follows:
Do you want to save recovered files in /home/knoppix ? [Y/N]
Do not choose to write the files to the same partition they were stored on.
To select another directory, use the arrow keys.
drwxr-xr-x 1000 1000 320 1-Jul-2009 12:52 .
drwxr-xr-x 0 0 2048 2-Dec-2008 20:20 ..
drwxr-xr-x 1000 1000 40 1-Jul-2009 12:49 Desktop
-rw-r--r-- 0 0 40960 1-Jul-2009 12:52 photorec.ses
How do I determine which one to use since I definitely don't want to overwrite the data I'm trying to recover!
EDIT: put PhotoRec stuff in code again to preserve formatting.
JStevenson
07-01-2009, 08:39 PM
In researching PhotoRec, it keeps saying that it will put the recovered files in in the directory from where you are running the PhotoRec program. Since I'm running from a Live CD I am hoping to write to my MyBook...or another USB drive if necessary. I didn't see any other way to change where the files are placed in PhotoRec...I'm guessing the list of options above doesn't even show my MyBook? Surely there is some way to change the write directory, perhaps at the root command line by accessing PhotoRec files or something?
:? This is definitely a bit over my head, but I'm learning a lot!
JStevenson
07-01-2009, 09:03 PM
Whoa, I figured it out! Not sure if it was something I did but the most recent time I loaded the live cd, it put the stupid MyBook in the sdb1 slot and then I ran PhotoRec from the media directory instead of the home/knoppix directory. This time it showed me all the options in a way that made sense and I could even navigate to a specific subdirectory in MyBook to write the files. This was probably something really obvious to a Linux user...or even someone really familiar with command line stuff. In any case, PhotoRec is running!
So now I just cross my fingers and pray to the voodoo computer gods that it can find anything!
JStevenson
07-17-2009, 07:55 PM
Just an update...Photorec is very slowly running, having many "error reading sector" messages. The estimated time fluctuates between 23000 hours and 31000 hours! Needless to say if it doesn't pick up pretty soon, I'll probably have to give up since several years is not realistic. But I might make another week or two. It is still in Pass 0, finally found 3 of 10 headers needed to begin...I'm crossing my fingers that it will find the other 7 needed headers and be able to get on with recovery before I lose my patience. My hard drive is in an external USB enclosure and I keep it sitting on freezer packs to keep it cool. Figure anything that reduces wear and tear on this physically failing drive is worth trying.
rusty
07-19-2009, 03:39 PM
I admire your persistence. Especially the ice packs. Here's a page with links about hard drive hardware etc. to read whilst you wait for photorec to do it's thing.
http://repair4harddisk.org/disassembly_hard_drive.html
Who knows, you might want to start your own data recovery business.
Powered by vBulletin® Version 4.2.2 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.