Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Today when I tried booting up my windows machine i got a message that the file hal.dll was missing or damaged (virus?). Anyway, I thought I'd use knoppix and a cd-rw to copy a new hal.dll from another windows comp. The problem is I can't get read/write permissions for the windows partition under knoppix. I tried right-clicking on the desktop icon, chose permissions and changed them all to read/write, but it still says the file system is read-only. I also tried "mount -t ntfs /dev/dha1 /mnt/hda -n -o rw", but the same thing happens there. And I can't change /etc/fstab since knoppix runs from a cd.
Ok, judging from that text, messing with NTFS from linux is not really a good idea, right? I tried using the Windows cd to copy the dll, but it gives me an error message when trying to overwrite the old dll. I'm beginning to think there's something wrong with the hard drive. Any suggestions? (i know this isn't really a linux question anymore)
[EDIT] NM, I found out this is a common windows problem.
The hal.dll error message is often caused by (1) the windows partition being hidden, (2) the windows partition not being flagged as bootable/active or (3) a change in the BIOS level hard drive boot order, which can include copying the windows partition to another drive with dd or PartitionMagic. It may be caused by changes in partition numbering after moving or deleting partitions.
I have personally run into this error message a number of times and it was never caused by true damage to hal.dll. My take on the error message is that the NT loader process cannot find hal.dll due to one of the causes listed above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.