View previous topic :: View next topic |
Author |
Message |
Redhatter Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/4967854174480d36783b88.png)
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Sun Jun 04, 2006 4:30 am Post subject: |
|
|
May I suggest not trying to mess with NTFS? I found it easier to get Windows to read/write an EXT3 partition (via this driver), than to get Linux to read/write an NTFS partition.
That way, you can leave your NTFS partitions read-only, and use EXT3 (which I prefer anyways) for the cross-OS data partitions. Not exactly what you wanted, but it's another way of tackling the same issue. ![Smile :-)](images/smiles/icon_smile.gif) _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cornflake n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Dec 2002 Posts: 15
|
Posted: Sun Jun 04, 2006 4:44 am Post subject: |
|
|
Well, here is my problem:
I did a dual boot and everything went okay, except I cant boot into Windows XP. I get the hal.dll file is missing or corrupt error.
So what I wanted to do was get a fresh copy of the hal.dll and put it in my system32 as well as rewrite the boot.ini (which I figure it the problem since the partitions are no longer correct; I think)
This is the boot.ini:
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition"$C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
My windows partition is on /dev/hda1, so I think the partition(2) should be partition(1). I believe it should be anyway.
I cant run the recovery console because I dont have a CD for it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
KiberGus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Apr 2005 Posts: 81 Location: Moskow, Russia
|
Posted: Sun Jun 04, 2006 7:09 am Post subject: |
|
|
I think that writing to linux partitions from windows is a bad idea. It may crash your file system. So it's better to use FAT partition to share data. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MickKi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Sun Jun 04, 2006 1:41 pm Post subject: |
|
|
Cornflake wrote: | Well, here is my problem:
I did a dual boot and everything went okay, except I cant boot into Windows XP. I get the hal.dll file is missing or corrupt error.
So what I wanted to do was get a fresh copy of the hal.dll and put it in my system32 as well as rewrite the boot.ini (which I figure it the problem since the partitions are no longer correct; I think) |
You're right. If you have a corrupt hal.dll your WinXP will probably fall over itself when it tries to probe and automount different drives, CD/DVD and other devices. The only fix is to replace it with a healthy copy. Here's the catch: last time I checked the Linux kernel ability to write to NTFS, it could only safely do so if the file you wrote was already there and any writing to it left it in exactly the same size and location! If your hal.dll is corrupted then it is likely that a healthy hal.dll file will have a different size. Slapping it on your NTFS partition using Linux to do so will most likely corrupt your NTFS tree.
Cornflake wrote: | This is the boot.ini:
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition"$C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
My windows partition is on /dev/hda1, so I think the partition(2) should be partition(1). I believe it should be anyway. |
Partition(2) should be partition(0). DOS like Grub counts devices from 0.
Cornflake wrote: | I cant run the recovery console because I dont have a CD for it. |
The best recovery solution if you cannot borrow a WinXP or Win2K installation CD is to make a Bart's PE Live CD and use that to edit/copy the required files without fear of damaging your NTFS. You'll probably need a working M$Windoze box for doing this - I haven't tried building one using WINE but I guess you could have a go and report back? _________________ Regards,
Mick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|