LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2008, 12:31 PM   #1
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Rep: Reputation: 0
Can Linux Save Windows?


I have no idea what happened to my windows installation. It was working fine when I went away for a couple days. When I came back, I powered up and got a weird message. I foget which one I got first but two messages I got were something about C:\Windows\inf\Biosinfo.inf missing and another that NTLDR is missing. Not exactly sure where to start with this problem except of course google which gives alot of results with solutions that don't work for me. In windows recovery bootcfg /reapair won't work. I tried fixboot and fixmbr (probably messed it up worse?) but they didn't work. Chkdks says there are errors but doesn't say what they are. I can't boot into windows. With that in mind can someone tell me what I can try to get this fixed? Whatever info you need let me know. Thanks.
 
Old 05-30-2008, 01:22 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Is your computer dual boot? If so, does the linux side work?

as far as repairing NTFS via linux - I'm not aware of any tools that exist that will help. You can certainly read ntfs, so if your disk has bad sectors, I might suggest booting a Linux live distro like Knoppix or Ubuntu (something that loads and runs the OS entirely from a CD without using the hard drive), then copying your valuable data from bad drive on to an external drive. Replace the drive, reinstall windows, then get your data back from the external drive.
 
Old 05-30-2008, 01:41 PM   #3
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thats kind of a problem too. First to answer your question, no, its not a dual boot. I use Linux on a Live CD. I've tried the ms-sys tool but didn't get anywhere with that. So the problem is I can't access the drive in linux either! I can't mount it. Something about a "bad superblock" and "missing codepage or other error".

I REALLY don't want to wipe it out and lose some things I was working on. Can anyone help with a solution or a way to diagnose whats wrong? Thanks.
 
Old 05-30-2008, 02:50 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by somethinguttered View Post
Thats kind of a problem too. First to answer your question, no, its not a dual boot. I use Linux on a Live CD. I've tried the ms-sys tool but didn't get anywhere with that. So the problem is I can't access the drive in linux either! I can't mount it. Something about a "bad superblock" and "missing codepage or other error".

I REALLY don't want to wipe it out and lose some things I was working on. Can anyone help with a solution or a way to diagnose whats wrong? Thanks.
Download this:
http://www.sysresccd.org/Main_Page

Burn it somewhere and boot from that livecd. It will provide you with all the tools you need to mount the drive (whether that's going to fix something or not is another matter but at least you will be able to access your data and back it up prior to a reformat, if nothing else).

With ntfs-3g, mounting a partition is as easy as

Code:
mkdir /mnt/windows
ntfs-3g /dev/<whatever> /mnt/windows
If you are not sure what your ntfs partition is, use fdisk -l to identify it. Once the partition is mounted you should be able to access everything in that partition under the /mnt/windows directory.

If it doesn't mount for a reason, post here teh errors.
 
Old 05-31-2008, 01:50 PM   #5
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Download this:
http://www.sysresccd.org/Main_Page
Now theres something I never came across. Well i played around in it a bit (probably messed it up worse) and now when I boot it says "ḈInvalid partition table" with that weird character before it. It looks like Ill be able to get my files but is there a way to fix this so I don't have to reinstall all the things I had installed in windows? What do you reccommend I try doing with that CD? Whats really the problem here? The partition, MBR, or file system?

What I've done is ran testdisk. At the end it shows me my partitions:
FAT32 LBA
HPFS - NTFS
Linux Swap
Linux

Pressing P lists files. When I press P on the FAT32 LBA it shows a list of the things on the drive. When I press p on HPFS - NTFS it says "Can't open filesystem. Filesystem seems damaged." But my stuff is on the FAT32 so lets look at that. Any ideas?
 
Old 06-01-2008, 03:41 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Here is this if it helps you
http://www.efense.com/helix/
 
Old 06-01-2008, 05:24 PM   #7
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Having more problems...when I copy files to /root with testdisk it copies them as files that are less than a few KB...most are less than 100KB. The biggest is an mp3 that is 256KB. Also it still says "can't read superblock" when I try to mount it.
Quote:
Here is this if it helps you
http://www.efense.com/helix/
Not too sure if i need helix since it looks like just another linux rescue CD which I already have a few of. I just have to know what I have to do in them. Hopefully I don't mess it up worse. I fear I will so I need some advice from someone who knows about this. Any more info you need that I can give let me know. Thanks.
 
Old 06-01-2008, 06:18 PM   #8
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by somethinguttered View Post
Having more problems...when I copy files to /root with testdisk it copies them as files that are less than a few KB...most are less than 100KB. The biggest is an mp3 that is 256KB. Also it still says "can't read superblock" when I try to mount it.

Not too sure if i need helix since it looks like just another linux rescue CD which I already have a few of. I just have to know what I have to do in them. Hopefully I don't mess it up worse. I fear I will so I need some advice from someone who knows about this. Any more info you need that I can give let me know. Thanks.
What does CHKDSK say now? I would scan the partition for errors with Partition Magic under DOS or Acronis Disk manager on another windows machine. As far as I know Acronis Disk manager uses CHKDSK but it displays the errors and messages that CHKDSK by itself does not.
*nothing to see here*

Last edited by r00tb33r; 06-01-2008 at 10:44 PM.
 
Old 06-01-2008, 07:29 PM   #9
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Seriously...I'm so confused on this I don't know what to do and I'm not too good with linux either. At this rate I won't be getting my files back...I probably messed things up. CHKDSK just says "one or more errors on the volume" How can I tell what filesystem I need? Can I still get my files if I re-write the filesystem, MBR, and partition? Is this what I have to do? I don't know...totally confused. Please help.
 
Old 06-01-2008, 07:57 PM   #10
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by somethinguttered View Post
Seriously...I'm so confused on this I don't know what to do and I'm not too good with linux either. At this rate I won't be getting my files back...I probably messed things up. CHKDSK just says "one or more errors on the volume" How can I tell what filesystem I need? Can I still get my files if I re-write the filesystem, MBR, and partition? Is this what I have to do? I don't know...totally confused. Please help.
You haven't tried any commercial tools yet.
*nothing to see here*

Last edited by r00tb33r; 06-01-2008 at 10:44 PM.
 
Old 06-01-2008, 10:32 PM   #11
somethinguttered
LQ Newbie
 
Registered: May 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Well...thanks for the help but I think it's gone. Thanks anyways.
 
Old 06-01-2008, 10:48 PM   #12
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by somethinguttered View Post
At this rate I won't be getting my files back...
Suit yourself.
 
Old 06-02-2008, 06:01 AM   #13
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
The helix live cd link I gave you contains autopsy on the cd.

http://www.sleuthkit.org/
http://www.sleuthkit.org/autopsy/desc.php


Repair windows
http://www.webtree.ca/windowsxp/repair_xp.htm

Need to back up everything important on a hard drive because they are prone to crash.

Last edited by teckk; 06-02-2008 at 06:04 AM.
 
Old 06-02-2008, 06:08 AM   #14
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Quote:
Originally Posted by somethinguttered View Post
Seriously...I'm so confused on this I don't know what to do and I'm not too good with linux either. At this rate I won't be getting my files back...I probably messed things up. CHKDSK just says "one or more errors on the volume" How can I tell what filesystem I need? Can I still get my files if I re-write the filesystem, MBR, and partition? Is this what I have to do? I don't know...totally confused. Please help.
If you know exactly how big your partitions were and what partition types were then you can restore the partition table by hand using Linux fdisk and you will be ok. But if you have modified the disk contents (not the MBR, but the actual filesystems) then recreating the MBR (which contains the partition table) won't help.

I have restored the partition table by hand more than once so I know it works!
 
Old 06-02-2008, 06:16 AM   #15
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,136
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
I got were something about C:\Windows\inf\Biosinfo.inf missing and another that NTLDR is missing.
http://neosmart.net/wiki/display/EBC...r+from+the+DVD
 
  


Reply



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
How to save Windows XP files on Suse Linux server isuperville Linux - Newbie 1 09-26-2007 06:27 PM
Windows HD Crashed can Linux app save me? digital bots Linux - Hardware 5 05-28-2004 04:10 PM
want to save some files but replace windows with linux ruwach Linux - Newbie 5 02-11-2003 05:43 PM
Is there an Office Suite for Linux that has a Network Button in the Open/Save Windows michaelh Linux - Software 1 10-29-2002 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 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
Open Source Consulting | Domain Registration