LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-20-2011, 05:44 AM   #1
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Rep: Reputation: 0
Odd Read-Only Issue in Windows Rescue Operation


Hi!

I'm trying to help a friend with a Windows problem. In addition to her system crash, I'm finding some weird (to me) read-only problems as I try to fix it. I'll give as much background information as I can leading up.

What I Was Told
My friend says she has an older PC that has passed through at least two other owners before coming to her. She stated that a few days ago she downloaded a zip file containing mp3 files from a Dropbox account. Soon after extracting the files, she found that her iTunes player would no longer play mp3 files. When she tried other media players those also failed. Within a day her machine would no longer boot at all. She stated that a hastily installed malware detector "picked up something" before the crash, but she could not remember what.

What I Know
Obviously my first guess was "virus." When I examined her machine I found that it would not boot into normal mode. Attempting to boot led to a very brief Blue Screen of Death (too quick to make out the error message), followed by endless attempts to reboot until the machine was shut down manually.

Booting into Safe Mode, booting to the last good configuration, and even booting off a Windows CD all have the same effect.

I booted off a Slax Live CD, and was able to bring the machine up. I was able to mount and read her HDD, but the files on it were all Read Only. I attached an external HDD (Western Digital 3409M 120GB), intending to back up her essential files, and discovered that the external drive was also mounting as Read Only.

I attempted to use chmod to change the access privileges, but the system informed me that the external drive was read-only and that I could not write to it. umount and mount had no effect. (That is, the remounted drive was still Read Only.)

I took the external HDD back to my own system. There, Ubuntu Lucid, Knoppix, Fedore, and even the original Slax CD all mounted the external drive normally (with R-W privileges)

So, any ideas what's going on here? Why can Linux make the external drive writeable on my system, while the same distro gets only Read-Only access on the defective system? And how can I fix it?
 
Old 01-20-2011, 06:01 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What filesystems are on the drives ? Use ntfs-3g for read and write support.

This, however, does not explain why the external drive became writable on your system.

I would check the BIOS options of the computer and make sure there's nothing strange in there.

I would also use something like:
http://www.sysresccd.org/Main_Page

for recovery. I've found slax to be rather minimal, and not quite adequate for recovery.

If nothing else work, get the internal drive and put it in your system.
 
Old 01-20-2011, 12:12 PM   #3
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Hi, Tex! My bad, I see there were a couple of things I forgot.

Quote:
Originally Posted by H_TeXMeX_H View Post
What filesystems are on the drives ? Use ntfs-3g for read and write support.

This, however, does not explain why the external drive became writable on your system.
The internal drive is NTFS, as far as I know. I actually didn't check, but it's a Windows system. The external drive is FAT32. But yes, the internal drive was writeable a few days ago, and the external is writeable now, just not on that computer.

I should also mention that even though it wasn't writeable, I was able to mount the internal drive and verify that the data is still there. So there wasn't any wholesale restructuring of that file system.

Quote:
I would check the BIOS options of the computer and make sure there's nothing strange in there.
Well, in fact there is something strange there. I found it when I was poking around in the system, but I can't tell if it's part of the problem or not.

When I checked the BIOS I found everything set about as I would expect. However there's a password on the BIOS. You can read it, but you can't change it. I've never in my life seen this before. My friend had never had occasion to check the BIOS (she didn't even know what it was), so she didn't know what the password was or how it got there. So I can't say if it was there before all this started or not.

Quote:
I would also use something like:
http://www.sysresccd.org/Main_Page

for recovery. I've found slax to be rather minimal, and not quite adequate for recovery.
That was lack of preparation on my part, I'm afraid. I went in there planning to use Knoppix. But it turned out that my only live Knoppix media was a DVD, and her computer could only read CDs. The only live CD I had with me was Slax.
 
Old 01-20-2011, 12:31 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by psuliin View Post
Well, in fact there is something strange there. I found it when I was poking around in the system, but I can't tell if it's part of the problem or not.

When I checked the BIOS I found everything set about as I would expect. However there's a password on the BIOS. You can read it, but you can't change it. I've never in my life seen this before. My friend had never had occasion to check the BIOS (she didn't even know what it was), so she didn't know what the password was or how it got there. So I can't say if it was there before all this started or not.
So what you're saying is that you can read the bios settings, but not change them ? That may be a problem. Maybe the BIOS will not let a live CD have write access. It's just theoretical, but I've seen some strange behavior caused by BIOS settings. Either way if the BIOS has a password, you may need to reset it if nothing else work:
http://www.wikihow.com/Reset-Your-BIOS
It lists some default passwords.

All I can say is to try a different live CD and hope it works, or take the internal drive and mount it separately, or reset the BIOS settings.

I was also wondering if the BIOS was affected by the virus (if there was one). You never know.
 
Old 01-20-2011, 03:33 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
If you can't boot to the windows cd without a blue screen you then need to fix hardware. Start with memtest.
 
Old 01-20-2011, 04:53 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Memtest is a good idea, and since can also be disk related I would also test the disk with the utility from the manufacturer.
T reset the BIOS and get rid of the password you can also clear from the hardware side. Almost all mainboards have a jumper to do that, mostly labeled CLEARRTC or CLRCMOS or something similar. If you can't find it, search for the battery, take it out and wait for an hour. Then put it in again and try if the password was deleted and the settings were set to their defaults.
 
Old 01-20-2011, 04:54 PM   #7
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
If you can't boot to the windows cd without a blue screen you then need to fix hardware. Start with memtest.
Yes, the fact that I couldn't boot off a WinXP disk caused me concern. A couple of points on that though...

1) I can boot off a Linux live CD. What sort of hardware problem would affect a Win CD but not Linux?
2) Her "Windows CD" had the label written in Sharpie marker. So I won't be surprised if it's not up to spec. I plan to try my own Win 7 system disk next time, if it's not a DVD.
3) I haven't used memtest. What should I look for?
 
Old 01-20-2011, 04:56 PM   #8
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
Memtest is a good idea, and since can also be disk related I would also test the disk with the utility from the manufacturer.
T reset the BIOS and get rid of the password you can also clear from the hardware side. Almost all mainboards have a jumper to do that, mostly labeled CLEARRTC or CLRCMOS or something similar. If you can't find it, search for the battery, take it out and wait for an hour. Then put it in again and try if the password was deleted and the settings were set to their defaults.
Just FYI, this is a desktop rather than a laptop. I don't think it has a battery.

Will resetting from the motherboard return it to factory defaults, or purge the BIOS completely?

BTW, apologies for the double post. I tried to delete this one, planning to paste the text into my previous message, but I don't see an option to do that in this edit screen.

Last edited by psuliin; 01-20-2011 at 04:59 PM.
 
Old 01-20-2011, 04:57 PM   #9
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
These two threads are based on the same question.

http://www.linuxquestions.org/questi...11#post4232211

http://www.linuxquestions.org/questi...12#post4232212

Last edited by stress_junkie; 01-20-2011 at 04:59 PM.
 
Old 01-20-2011, 06:38 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
All mainboards have a battery, mostly it is a CR2032 coin cell. They need it to save the data in the CMOS-chip when you pull out the power cable.
Resetting the BIOS will set it to factory defaults, not purge it.
 
Old 01-21-2011, 12:59 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
@ stress_junkie
Those links point to this thread ...

memtest runs read/write tests to RAM to see if RAM is ok. It will keep checking it indefinitely, until you stop it. Just make sure it has done one full set of tests without errors, and then you can stop it.
 
Old 01-21-2011, 01:18 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried to boot safemode to administrator?
Select safemode or safemode with networking at selection window then login administrator.
Try hiren's bootcd it has mini windowsxp you can access recovery console.
 
Old 01-21-2011, 08:22 PM   #13
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
Have you tried to boot safemode to administrator?
Select safemode or safemode with networking at selection window then login administrator.
Well, I did try booting to safe mode. It never made it to a login screen, though. It crashed first.

Quote:
Try hiren's bootcd it has mini windowsxp you can access recovery console.
I looked all over his site, and while I found the list of files he puts on his CDs, I couldn't find an ISO image or ordering information anywhere. How can I get this?

Last edited by psuliin; 01-22-2011 at 01:10 AM. Reason: "ISO" image
 
Old 01-21-2011, 08:47 PM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
This 1 comes in zip file.
save it somewhere open and burn
http://www.hirensbootcd.org/download/

Last edited by EDDY1; 01-21-2011 at 08:48 PM.
 
Old 01-27-2011, 02:26 PM   #15
psuliin
LQ Newbie
 
Registered: Dec 2008
Posts: 21

Original Poster
Rep: Reputation: 0
Well, I have to list this one as "Solved," but I don't know how.

I brought the machine up with Hiren's Boot CD, and both the internal and external HDD were mounted and writable. I later booted with Puppy Linux, and they were there too. The machine itself is still down (I'm working on finding that virus), but I was able to transfer the data to external backup.

Sometimes I think sacrificing a chicken is the best solution to hardware problems.
 
  


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
usb skeleton driver question at read operation love_talisker Linux - Kernel 0 06-26-2010 02:37 AM
Odd Postfix Issue XLA187 Linux - Software 8 05-25-2009 09:59 PM
IPX Issue - Operation Not Permitted ostrowlaw Linux - Networking 3 03-12-2007 02:17 PM
exitting a blocking read operation. Stor_G Programming 5 09-01-2004 08:48 AM
Type Read: Operation Not Permitted Error Snabber Linux - Newbie 5 06-05-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:31 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