LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-11-2004, 05:35 PM   #1
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Rep: Reputation: 30
Is there a way to fix WinXP from Linux?


Sorry for bringing WinXP into this but my roomate has it on his laptop. Apparently something happened to it, preventing Windows from even starting up to the Win Logo...it just goes straight to a black screen (or in safe mode it gets about half a page of writing done, listing files it is opening)

So I was able to use DSL (Damn Small Linux) to access his partition and save the files he needed to my USB flash drive, but now I was hoping to be able to go beyond and figure out what is wrong with his Win system. He doesn't have the WinXP cd with him here at school, so it'll be a few days before he can get it fixed.



By the way, DSL is a great little linux distro for this type of recovery. I has a nice little desktop, has mount points for the hard drive and USB already created, ready for mounting. It will soon have NTFS write capabilities from what I've heard. And it is only 50Mb so you can download it quickly, and keep in a small ready to use CD. I like it up to now, but I'm sure I could have found something better and smaller. But worked perfect for what I needed. I'll need to find a bootable Linux CD with NTFS support to fix the Windows distro (I think it was NTFS) but I still recommend DSL for data recovery when you are in a jam...until I find something better.
 
Old 11-11-2004, 06:00 PM   #2
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
In DSL (I agree, DSL is very good for me, and it's only like 23MB! My pocket weapon), try mounting the hard disk up and looking at everything to see what has happened. It sounds like he may just need to Fdisk the master boot record since everything seems intact (for you to recover his data). I personally don't peticularly like the NTFS for that very reason--you can't write to it from Linux, meaning that XP, in this case, is probably gone without the installation CD. Had it been FAT32, you may could help it, or resize the partition to fit a Linux in (maybe recovering XP in the process?). ...but if Linux dies after you do this, the disk needs low-level formatting to recover functionality (had this crash).
 
Old 11-12-2004, 12:55 AM   #3
oudent
Member
 
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
Would it be the MBR? It does get to the part where it asks if you want to start in safe mode since it wasn't shut down properly...and safe mode does start loading. Its lists a bunch of files that are loaded.

I was thinking one of the system files got corrupted. Is there a way to scan the partition for errors?
I'm starting to doubt it is NTFS, but it still could be.

Sorry for all the Windows talk, but the way I look at it, if Linux can be used to fix Windows, and not vice versa, then Linux is obviously kicks -ss.

Thanks for the help.
My roomate is bringing his computer home this weekend, and I think he has the Windows CD there, so it should be alright. I'm still impressed with how easy it was to use DSL to mount the hard drive and copy files to a USB flash drive. Not even close to as much work with my normal linux distro (Slack right now).
 
Old 11-12-2004, 01:31 AM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Checking the M$ knowledge base can sometimes be useful to get a handle on what is going on.
http://support.microsoft.com/search/?adv=1
 
Old 11-12-2004, 07:18 AM   #5
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
what file does xp stop at in safe mode thats usually the culprit...
 
Old 11-14-2004, 04:40 PM   #6
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
If it prompts you for Safe Mode, then you're probably in decent shape. A quick overinstall should clear things up quickly without having to reformat. Since it is Windows XP, I may bet the ranch that it is NTFS, unless you have installed it yourself and formatted it as FAT32 (XP is sorta a NT). My suggestion: use ME if you do use Windows, otherwise SuSE Linux.
 
Old 11-14-2004, 06:59 PM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I read somewhere when researching ext3 that NTFS tends to go spastic once every now and then and destroy it's boot record. Once you get hold of the WinXP disc, boot the recovery console and type fixmbr. That should solve it if it's not anything major. If you've got any Windows CD lying around, just use that to boot into command prompt and type 'fdisk /mbr' and that'll do the same thing
[edit]
And don't use WinMe.. jeez Win98 second edition is muuuuch better than WinMe.
[/edit]

Last edited by cs-cam; 11-14-2004 at 07:01 PM.
 
Old 11-14-2004, 10:09 PM   #8
Zuggy
Member
 
Registered: Mar 2004
Location: Pocatello, Idaho, USA
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally posted by lectraplayer
My suggestion: use ME if you do use Windows, otherwise SuSE Linux.
FOR THE LOVE OF ALL THINGS WONDERFUL DON"T USE ME!!! I've used it and had nothing but trouble. I would recommend just formatting the drive to FAT32 when you get the install disk so that future problems can be resolved through Linux.
 
Old 11-17-2004, 08:54 PM   #9
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Quote:
Originally posted by Zuggy
FOR THE LOVE OF ALL THINGS WONDERFUL DON"T USE ME!!! I've used it and had nothing but trouble. I would recommend just formatting the drive to FAT32 when you get the install disk so that future problems can be resolved through Linux.
Strange, ME seems to be doing much better than XP did for me. I know ME's legendary as being garbage, but XP has proved itself as manure on my hardware. I guess you use what works for you. Maybe, because of this experience, I'm about the only ME supporter in existance.

As far as NTFS, I know it's designed so that if you try to write to it outside of Windows NT (or XP in your rent-a-john ), it will self-destruct, taking your data with it. That's why I use FAT32, even with NT of XP. My most disasterous crash, however, occurred with NTFS in place.

As far as reformatting the drive, I suggest you get the low-level formatter of your hard disk. That will wipe it completely clean, but is a little more work and a little more wait. Using any Windows tool just lets too many problems through.

Last edited by lectraplayer; 11-17-2004 at 08:57 PM.
 
Old 11-18-2004, 02:53 AM   #10
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
I think there's a market for a set of Linux-based tools that can be used to easily repair Windows installations. It's so much easier to boot into Linux when things aren't going right, and everything on Linux is so much more transparent than on Windows. Sometimes I think Windows is designed to protect the user from the operating system.

Of course, some of the low-level tools are already there: parted, test disk, fdisk (Linux variety), etc., but a whole suite of these utilities plus some tools that are specifically designed to handle the NT repair console functions would be nice.
 
Old 11-18-2004, 08:25 PM   #11
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Originally, Windows was made to protect the user from DOS, which was to protect the user from having to manually work each component. That heritage still shows to this day, and it's painfully obvious.

Two challenge questions I use when told that Windows can do anything Linux can, I ask "Can Windows be booted off a CD to a productive desktop? (Knoppix)" and "Can Windows keep crackers at bay as well as Linux?" The only reason, in my opinion, that Linux isn't as big as Windows, is that people are unwilling to learn or change, so they stick with the same old unoroductive Windows, whereas they can grab up several virtual desktops and get twice the work done, for less cost.
 
Old 11-19-2004, 11:35 AM   #12
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
Quote:
Originally posted by lectraplayer
Originally, Windows was made to protect the user from DOS, which was to protect the user from having to manually work each component. That heritage still shows to this day, and it's painfully obvious.

Two challenge questions I use when told that Windows can do anything Linux can, I ask "Can Windows be booted off a CD to a productive desktop? (Knoppix)" and "Can Windows keep crackers at bay as well as Linux?" The only reason, in my opinion, that Linux isn't as big as Windows, is that people are unwilling to learn or change, so they stick with the same old unoroductive Windows, whereas they can grab up several virtual desktops and get twice the work done, for less cost.
that and to the person saying to use ME... god no. go back to win98SE or stay with 2k/XP ME was the absolute worst OS microsoft has ever produced.

anyways, back to the questions at hand... this book might be of interest to many of you here. someone from my LUG posted it and i am thinking about getting it for just reasons like the OP and several others of you have posted:

http://www.amazon.com/exec/obidos/tg...books&n=507846

supposed to have a load of the tools that several have asked for to repair and help recover not only linux, but windows too.

as for why linux is not as big as M$? that is simple. pure marketing genious of Bill Gates. you have to give credit were credit is due. what he did in the 80s and 90s with his company was nothing short of amazing. his marketing empire is the largest and best in the world, and for good reason.

that is not saying the same for their product, but that is for an other debate. *nix is catching on more and more every year. more and more small businesses and local governemnts, not to mention entire country governments, are moving to open source software/OSs for all the right reasons, and a few of the wrong ones.

Windows is very good at what it does, when it works. XP is by far the most stable OS M$ has released, and i hear that 2k3 is even better as a server then 2k. 2k is bloated, but as far as M$ servers go a HUGE jump over NT4. neither compair to the stability or power of *nix and again that is for an other debate.

currently i have been converting a few EUs and small companies to *nix as i learn more and become more and more comfortable with managing a *nix network, etc. the #1 hurdel i am running into is 3rd party apps that companies rely on.

a prefect example is title companies. they do business with lenders, banks, ressearch companies, etc.. and every single one of them has some kind of 'packet' they put together for the title company. often times they are compressed (companies still thinking 56k days here) in some propriatory way that is available for download at their site made in Frontpage, thus only working with IE.

it is the 3rd party companies that are to blame for the most part of the hold over from the large scale conversion into *nix as i see it. if you remove the 3rd party prapriotory(boy i really can not spell that word) software that only runs in windows you could move more and more EUs and small companies, and even some large companies over to *nix as the conversion is extreemly easy on the average worker.

the only real differance between a windows desktop and KDE/Gnome is the look. so it is like having a windows machine with a new theme. all of the double click, right click, single click, click and drag opptions for windows are now fully in KDE or Gnome, and i am sure they are in even lighter xwindow options as well.

the reason i say that is simple. my POS (point of sale) computer was running win2k pro and uses terminal service(TS) to connect to my win2k server so i can access QuickBooks (QB) like a thin client. i have a few ladies that help out here at the school that can double click icons and can answere user/pw when prompted. end of skill. very simular to 90% of the Eus out there. well several months back i swaped over to RH9 on that system for stablilty and security. (yes i am using AD and security settings via the DC, but that was to clunky to get exactly what i wanted) and all i had to do was show them what the new ICON looked like and away they went.

total training time = less then 5sec.

same thing at the house. i have a laptop running RH9 that was running XP. my wife uses this for checking her e-mail, browsing the web, and a small handful of word documents for school. total training time was less then 2min to get her used to RH vs XP.

as long as 3rd party software is not able to be replaced by something in the *nix world, M$ will maintain their grip, but once more and more of the 3rd party stuff gets coutnerparts in *nix that grip will losen and fast.
 
Old 11-19-2004, 12:17 PM   #13
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Thanks for the link, Lleb_KCir. That looks like a great book. Just in time for Christmas, too.

I've been using the System Rescue CD, which has a pretty good collection of utilities, but it looks like you can do even more with Knoppix + the hack book you suggested.
 
Old 11-19-2004, 12:19 PM   #14
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
Christmas is what im looking at too. i want that one and the networking one you can get bundled for a fair price.
 
Old 11-21-2004, 05:05 PM   #15
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
I seem to have inverse luck from what most people have. '98 SE was unstable for me, and XP was outright destrctive to my computer, plus drivers for it were impossible for me to get. I will admit that I was the first to bash ME because it is legendary fur sucking, more than any other Windows out there. ...but I will also, now, be the first to defend ME, as it seems to be holding strong for me (at least as strong as a Windows can be. ). ...but as always, there's a better sherriff in town. Even Mandrake is better, and I have had very bad luck out of its components. This means that even ME has to watch its step, as Mandrake and SuSE are both after it. The only thing keeping ME in place is the fact that WINe won't push my ISP's software, and contained within it is a logon script that has to be executed for me to log on.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux=Chaos... Someone needs to fix the Linux problem Skrilla Linux - Distributions 127 07-29-2005 09:11 PM
Linux to fix windows dasoberdick Linux - General 3 06-23-2005 03:29 PM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 09:02 AM
HELP!! Tried to install linux (YOPER) with winxp and now winxp is unmountable! buffpandabear Linux - Newbie 2 01-13-2005 06:18 PM
Fix FAT from Linux? crashmeister Linux - Software 4 12-18-2002 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 PM.

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