MPH Posted December 23, 2002 Share Posted December 23, 2002 I've decided to try linux. I have a computer with single hard disk of 40 GB capacity. The "first 30 GB" are used by Windows XP Pro (NTFS file system) and I had successfuly installed Red Hat 8 on the remaining 10 GB of unallocated space. :D Because of my lack of linux knowledge I didn't install a boot loader (Grub or Lilo), but use boot disk to run linux. Can someone explain me how can I access my files stored on my Windows XP partition? Link to comment Share on other sites More sharing options...
Prasanth Posted December 23, 2002 Share Posted December 23, 2002 http://linux-ntfs.sourceforge.net/info/redhat.html Link to comment Share on other sites More sharing options...
Xe|oN Posted December 23, 2002 Share Posted December 23, 2002 Remember.. No safe write support to NTFS yet (Read-only) Link to comment Share on other sites More sharing options...
slack Posted December 23, 2002 Share Posted December 23, 2002 It's really unfortunate there is no write support yet, it's a pain for me to have access to all my files to raed, but not update, etcetera. Like my MP3s are on my windows drive, I can listen to them in Linux, but I can't download new ones. Link to comment Share on other sites More sharing options...
DTR Posted December 24, 2002 Share Posted December 24, 2002 It's really unfortunate there is no write support yet, it's a pain for me to have access to all my files to raed, but not update, etcetera. Like my MP3s are on my windows drive, I can listen to them in Linux, but I can't download new ones. The best solution is to make "an output disk" - vfat (fat32). Link to comment Share on other sites More sharing options...
neowin_hipster Posted December 27, 2002 Share Posted December 27, 2002 There is "write" support in the 2.5.* kernel but it says immediately after to use an error correction application and then to reboot and run chkdsk in windows. Any one know why no one has written a wrapper for the windows dll? I wonder if it will be the same story with Yukon file system. :( Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 27, 2002 Share Posted December 27, 2002 I just wonder why write support isn't 100% yet. The same NTFS system has been out for 2 years. Is it that hard to get Linux to write to NTFS? I suppose the permissions that exist on NTFS might pose a problem, but if you don't do permissions, it shouldn't be all that hard right? Link to comment Share on other sites More sharing options...
warr Posted December 28, 2002 Share Posted December 28, 2002 I think due to the security permissions, some encryptions, etc... it is hard, due to *some * reason. no war here. well, good enough. you never get support from M$ that their windows support Linux file system. Link to comment Share on other sites More sharing options...
MPH Posted December 29, 2002 Author Share Posted December 29, 2002 Thanks for the link Prasanth. I can now access my NTFS partition. But now have another question: What about FAT32? Since Red Hat 8 can only read NTFS partitition, I would like to repartition my hard disk with Partition Magic 8 and create a small FAT32 partition and use to exchange data between Windows XP and Red Hat? I was told to type the command "cat /proc/filesystems" in terminal to see what file system are currently supported and it seems that Red Hat doesn't support FAT32 too. Any ideas??? Link to comment Share on other sites More sharing options...
neowin_hipster Posted December 29, 2002 Share Posted December 29, 2002 Look for a module for your kernel version or recompile your kernel (which you should probably do anyways). Link to comment Share on other sites More sharing options...
Prasanth Posted December 29, 2002 Share Posted December 29, 2002 Thanks for the link Prasanth. I can now access my NTFS partition. But now have another question: What about FAT32? Since Red Hat 8 can only read NTFS partitition, I would like to repartition my hard disk with Partition Magic 8 and create a small FAT32 partition and use to exchange data between Windows XP and Red Hat? I was told to type the command "cat /proc/filesystems" in terminal to see what file system are currently supported and it seems that Red Hat doesn't support FAT32 too. Any ideas??? No redhat does support fat32 use this command to mount your fat32 drives mount -t vfat /dev/hdan /mnt/fat where n may vary and /mnt/fat is a folder of your choise. To automount at startup edit /etc/fstab Link to comment Share on other sites More sharing options...
Vlad Posted December 29, 2002 Share Posted December 29, 2002 There is "write" support in the 2.5.* kernel but it says immediately after to use an error correction application and then to reboot and run chkdsk in windows. Any one know why no one has written a wrapper for the windows dll?I wonder if it will be the same story with Yukon file system. :( ...you seriously think you can simply write a "wrapper" for a windows dll and it'll run problem free on linux? Don't you think if it was that easy they would have it done by now? Needless to say you don't understand much about the inner workings of operating systems or programming. NTFS doesn't come in the form of a DLL. It comes in the form of a NT kernel module (ntfs.sys), and can't simply be "ported" to linux. It must be reverse engineered (e.g. what the linux-ntfs team is doing) and natively implemented for a variety of reasons. Write support is no where near as simple as you people think. A file isn't just "written to disk". There are several other things that must be taken into consideration when writing data to an NTFS disk (such as the MFT). Reverse engineering a journalized file system is *extremely slow and tedious work*. The fact they've come as far as they have without financial support is pretty amazing. Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 29, 2002 Share Posted December 29, 2002 (edited) There is "write" support in the 2.5.* kernel but it says immediately after to use an error correction application and then to reboot and run chkdsk in windows. Any one know why no one has written a wrapper for the windows dll?I wonder if it will be the same story with Yukon file system. :( ...you seriously think you can simply write a "wrapper" for a windows dll and it'll run problem free on linux? Don't you think if it was that easy they would have it done by now? Needless to say you don't understand much about the inner workings of operating systems or programming. NTFS doesn't come in the form of a DLL. It comes in the form of a NT kernel module (ntfs.sys), and can't simply be "ported" to linux. It must be reverse engineered (e.g. what the linux-ntfs team is doing) and natively implemented for a variety of reasons. Write support is no where near as simple as you people think. A file isn't just "written to disk". There are several other things that must be taken into consideration when writing data to an NTFS disk (such as the MFT). Reverse engineering a journalized file system is *extremely slow and tedious work*. The fact they've come as far as they have without financial support is pretty amazing. I agree. Too bad fat32 is the only common partition windows and linux can share right now. And since fat32 has so many size limitations and issues, NTFS is the only probable median point. Although there are programs that can read/write on Linux partitions for you, they aren't a good solution for every day work. [EDIT] Maybe not...found this: http://www.penguin.cz/~mhi/fs/Filesystems-...tems-HOWTO.html Does anyone know if ext2fsnt is a viable solution? Link from there seems to be broken. But has anyone experimented with this? Is read-write support to ext2 100% workable? Seems to me that using Linux partitions in both Linux and Windows for a common filesystem seems more easily done than working around NTFS's complicated journaling system. Edited December 29, 2002 by kjordan2001 Link to comment Share on other sites More sharing options...
Dudydoo Posted December 29, 2002 Share Posted December 29, 2002 Also FYI ... when mounting fat32 drives using the fstab in RedHat, in my experience to be able to write to the drive you must add the 'uids' and 'gids' to the line in the following form: /dev/hdx /mnt/windows vfat defaults, uid=500, gid=500 0 0 where x is your hdd fat32 partition number Link to comment Share on other sites More sharing options...
Dudydoo Posted December 29, 2002 Share Posted December 29, 2002 http://linux-ntfs.sourceforge.net/info/redhat.html Also read the info at this link if you want to mount ntfs drives under RedHat. It is a piece of cake using the guide. Nice 1 Prasanth :cool: Link to comment Share on other sites More sharing options...
warr Posted December 29, 2002 Share Posted December 29, 2002 NTFS read-only is supported in the 2.4.20 kernel. I think Redhat delibrately removed it in 8.0. Link to comment Share on other sites More sharing options...
Prasanth Posted December 29, 2002 Share Posted December 29, 2002 NTFS read-only is supported in the 2.4.20 kernel. I think Redhat delibrately removed it in 8.0. RedHats kernel is 2.4.18 :) Link to comment Share on other sites More sharing options...
Vlad Posted December 29, 2002 Share Posted December 29, 2002 Does anyone know if ext2fsnt is a viable solution? Link from there seems to be broken. But has anyone experimented with this? Is read-write support to ext2 100% workable? Seems to me that using Linux partitions in both Linux and Windows for a common filesystem seems more easily done than working around NTFS's complicated journaling system. http://sourceforge.net/projects/ext2fsd/ I haven't tried it (I don't use ext2 at all) and since it's in "alpha" stage I doubt it will work very well (if at all). The link you posted is for a page that is more than 2 years old (in other words, outdated) so I wouldn't consider it very reliable, although some of its information remains true. Link to comment Share on other sites More sharing options...
MPH Posted December 30, 2002 Author Share Posted December 30, 2002 Thanks for help guys. I can now use both NTFS (read only) and FAT32 partitions under linux. Link to comment Share on other sites More sharing options...
Recommended Posts