-
Rescuing windows with knoppix
Hi, a friend of mine recently asked me to look at her windows xp home laptop which was running very slowly and had all sorts of pop-ups. After using the usual hijack this etc to clean out the spyware i saw she hadn't updated windows at all and wasn't running an anti-virus. The laptop was running nicely at this point and so i installed AVG and ran windows update. The usual 'windows needs to restart' bit popped up so obviously i did, only on rebooting there was nothing, just a black screen. I couldnt get into safe mode either, all it gave me was the "load needed dlls kernel" error. first step to try and fix this was to run chkdsk /r /p from the windows disc, but it got to around 25% and gave me an error message, saying that the file system is too damaged. Likewise the bootfix's from the windows disk did nothing. Next thought was this would need a reinstall of windows over the top of the old version to get into windows without loosing everything, but windows does not recognise an installation on either partition (there is one main partition and another 6GB one which is the usual packard bell 'recovery partition'). So i can't reinstall windows without formatting and it turns out she doesn't have any of her work backed up, important stuff which she 'needs'. I would leave this as a lesson for her to backup but as it was me who ran the windows update i can't help but feel partly responsible there.
Obviously i want to try and get the data off the main partition before formatting and i've used knoppix a number of times on computers to do just that, however when i boot from the cd on this laptop the only disk that is available is the 6GB 'recovery partition' and there is no sign of the main disc within the system. I'll be honest here my linux knowlage is pretty pathetic, i have ubuntu on my main pc but i rarely venture into the more technical side of things. It seems like i need to mount the other partition but i'm unsure where to find out the name of the other partition to mount it, i thought they were meant to just appear on the desktop and then you could mount them from there but as far as knoppix is concerned there is no other partition, only the rescue one. The tool testdisk sounds like a possible solution but when i try and run it i get "error loading shared libraries: libntfs.so.9: cannot open shared object file: no such file or directory. I assume this is because it is ntfs, can knoppix not read that at all?
I've read a ridiculous amount of guides in the last few days trying to sort it out but she needs some of the data for tomorrow and i'm really running out of ideas so any help would be really appreciated. I have large external hard drives i can copy the data accross to but the fact that even knoppix can't see the partition really worries me.
Thanks a lot in advance for any help or advice you can offer me!
-
Administrator
Site Admin-
Re: Rescuing windows with knoppix

Originally Posted by
smoiu
.... I assume this is because it is ntfs, can knoppix not read that at all?
Knoppix can read NTFS just fine. Many of us, including myself, believe that Knoppix can not safely write to NTFS.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
ok, so that's not the reason it's not recognising the partition then, any suggestions as to how i can get into it? I've tried
mount /dev/hda2 /mnt/hda2
But i get 'you must specify the file system' so i'm obviously not using it right, is it normal for knoppix to not recognise partitions on the desktop as soon as it boots though? All my drives are directly on the desktop when i boot to it from my machines.
-
I had to stop looking at this laptop for a while due to lack of time but i've just picked it up again and now i've tried running testdisc, which said everything was ok and then
mount -t ntfs /dev/hda2 /mnt/hda2
as according to fdisk -l hda is the main windows partition, but after trying that i get
failed to access '/dev/hda2' no such file or directory
Error opening partition device: no such file or directory
failed to startup volume: no such file or directory
failed to mount /dev/hda2 no such file or directory
Any help would be appreciated.
-
Senior Member
registered user

Originally Posted by
smoiu
mount -t ntfs /dev/hda2 /mnt/hda2
as according to fdisk -l hda is the main windows partition
I take it you mean "hda2"? Are you sure your mount point (/mnt/hda2) exists; on modern knoppix that would probably be /media/hda2. Anyway you can create your own temporary mount pt, e.g:
Code:
# mkdir /tmp/M
# mount -o ro -t ntfs /dev/hda2 /tmp/M
To clear the NTFS fud a little: the older ntfs driver is unsafe for writing, which is why it should only be used in conjunction with a read-only mount (as shown). If you need to write to your NTFS partition, replace "ntfs" above with "ntfs-3g" and obviously drop the "ro" option. To parapharase yet contradict Harry, many of us have used it with no ill effect. It is just unfortunate that the default is still the old and unsafe driver.
-
I'm having the same problem, Knoppix Live CD does not recognize my HDDs. The HD is OK, it tries to boot Windows Server 03, but it hangs, I'm able to access it through the recovery console.
Knoppix however only maps /dev/hda to /cdrom . It does not find any HDDs. Now this thing is running RAID 5. Any ideas ??
-
Make sure that the C: drive really is /dev/hda2. On my system it is /dev/sda2 - /dev/hda is the first CD/DVD reader/writer!
Pete
-
Senior Member
registered user
if it is a software raid you can likely forget things. it is HARD to get those to work under linux.
-
Actually it worked just fine, but I had to mount /dev/scsi not hda1.
Similar Threads
-
By CrimsonS in forum Hardware & Booting
Replies: 6
Last Post: 04-23-2009, 04:11 PM
-
By Becanical in forum General Support
Replies: 0
Last Post: 04-13-2007, 01:05 PM
-
By d1g1tal_ph3r3t in forum Customising & Remastering
Replies: 9
Last Post: 03-14-2007, 03:20 AM
-
By homer in forum General Support
Replies: 8
Last Post: 10-03-2005, 06:57 AM
-
By legal in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-15-2004, 04:33 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Seagate Exos 7E8 4TB 3.5" SAS ST4000NM0025
$22.00

Western Digital WD121PURP 12TB SATA 3.5" Purple Pro Surveillance Hard Drive
$275.00

Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5" Enterprise HDD ST14000NM0408
$354.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$69.00

Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$159.99

HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00

Seagate Exos X16 16TB ST16000NM001G 7200RPM Enterprise HDD*USED GREAT CONDITION*
$319.79

HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED
$34.95

Dell Constellation ES.3 ST4000NM0023 4TB 7200 RPM 3.5" Enterprise Hard Drive
$39.99

Seagate BarraCuda ST1000DM010 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s Hard Drive
$63.99