Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.15 Gentoo Sources NTFS write support
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sun Jun 04, 2006 4:30 am    Post subject: Reply with quote

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. :-)
_________________
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
View user's profile Send private message
Cornflake
n00b
n00b


Joined: 28 Dec 2002
Posts: 15

PostPosted: Sun Jun 04, 2006 4:44 am    Post subject: Reply with quote

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
View user's profile Send private message
KiberGus
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 81
Location: Moskow, Russia

PostPosted: Sun Jun 04, 2006 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
MickKi
Veteran
Veteran


Joined: 08 Feb 2004
Posts: 1179

PostPosted: Sun Jun 04, 2006 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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