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 04-04-2007, 07:30 PM   #1
sk381
LQ Newbie
 
Registered: Jan 2004
Distribution: Suse 9
Posts: 6

Rep: Reputation: 0
Help me rescue my data using a Live CD


Hello

I have a Dell Laptop with WINXP Pro SP2 and I was attempting to resize a partition on it using Parition magic to install Linux when the power on my laptop ran out and it shut down. After the aborted partition attempt, I cannot now reboot into WINXP. I keep getting an error saying :

"Windows could not start because the following file is missing or corrupt: <Windows root>\system32\hal.dll"

I burned a Knoppix Live CD in the hope that I would be able to access my windows paritions and rescue my data before having to reinstall WinXP again. But I cannot do that.

I can get Knoppix to load fine but when attempting to mount the windows partitions, I get the message:


"
Could Not Mount Device

WARNING: Dirty volume mount was forced by the 'force' mount option. fusermount: mountpoint is not empty
fusermount: if you are sure this is safe, use the non empty mount option

Failed to create FUSE mount point: No such file or directory

Retry to create FUSE mount point
FATAL: Module fuse not found

fusermount: mountpoint is not empty
fusermount: if you are sure this is safe, use the non empty mount option

Failed to create FUSE mount point: No such file or directory

Unmounting /dev/sda2 ()

"

Most of this is above my head but I desperately need to save my emails and a few other documents. How can I access them, if at all? Please help!
 
Old 04-04-2007, 11:28 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Not sure about Knoppix, but where are you trying to mount it to if it's a liveCD? Did you try the "non empty mount option", whatever that means?

How about this SystemRescue CD (I never used it, though)?

http://www.sysresccd.org/Main_Page

You could also do a Windows XP REPAIR INSTALLATION from the Windows XP boot cd. That only reinstalls the system files but retains registry and user settings. I would first, however, create an image of the hard drive in case things go berzerk.
 
Old 04-05-2007, 12:15 AM   #3
sk381
LQ Newbie
 
Registered: Jan 2004
Distribution: Suse 9
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Micro420
Not sure about Knoppix, but where are you trying to mount it to if it's a liveCD? Did you try the "non empty mount option", whatever that means?

How about this SystemRescue CD (I never used it, though)?

http://www.sysresccd.org/Main_Page

You could also do a Windows XP REPAIR INSTALLATION from the Windows XP boot cd. That only reinstalls the system files but retains registry and user settings. I would first, however, create an image of the hard drive in case things go berzerk.

How can I make an image of the hard drive? Is there an online guide that I can refer to?
 
Old 04-05-2007, 12:39 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
One option is to type "testdisk" from a terminal in Knoppix as root, testdisk supposedly restores lost/damaged partitions. It should be easy to follow, if not, google to get some testdisk pointers. To make an image of the drive you will need a partition of the same or larger size of the Windows partition. If your partition is /dev/hda1 (first partition on ATA drive), and your recovery partition is on another ATA drive's first partition in the slave position, the dd command from a terminal as root from knoppix would be:

Code:
dd if=/dev/hda1 of=/dev/hdb1/img.dd conv=notrunc,noerror
This will make a bit stream image with a 512k bite size of the same size of partition, but this may also be a problem if the partition size cannot be identified because of the re-size that was in progress may have left you without a partition. If the partition is 60GB, it would take a least an hour before the command prompt comes back signifying completion.
You may also want to try the command:

Code:
photorec
Which will bring up a companion to testdisk that recovers data, not sure if e-mails are one of the formats, but worth looking into without executing.

Last edited by Junior Hacker; 04-05-2007 at 12:42 AM.
 
Old 04-05-2007, 12:47 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
By making an image called "img.dd", you do not need the same size partition, the recovery partition can be bigger but must be formatted with any common file system. Then you can try a host of forensics tools to retrieve the data if you cannot get the original repaired.
 
  


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
Best Live/Rescue CD for ext3 data recovery? branvu Linux - Distributions 12 07-02-2010 08:37 AM
Data rescue on ext3 e-Gandalf Linux - Software 7 03-27-2007 11:10 PM
Rescue using Live CD fredmt Linux - General 1 04-26-2005 10:13 PM
Best rescue live cd insyte Linux - Distributions 2 08-11-2004 11:14 PM
v9.1 d2 rescue/live cd...how do i...? abs Slackware 7 11-04-2003 06:55 PM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration