-
Mounting NTFS under Linux?
From what I've read, it's possible to mount an NTFS drive under Linux, at least as read-only, which is all I need. But apparenltly it involves recompiling the kernel, which I was stupid enough to try to do, resulting in destruction. I couldn't find any good instructions on how to do it. Does anyone know of somewhere with good instructions on how to mount an NTFS under Linux? Or good easy-to-follow instructions on how to recompile the kernel without wreaking havoc, if that's even possible? I have RedHat 7.2, by the way. The NTFS is on one HD, Linux is on another. I don't care if I completely lose my current RedHat installation either. I just reinstalled it after the meltdown anyways.
-
Hypnotising you
Contributions
- Former Administrator
- Former Cid's Knight
-
I don't think RedHat comes ready to mount NTFS systems. Even if I try manually "mount -t ntfs /dev/hda1 XP" or just "mount /dev/hda1 XP" it just says "mount: fs type ntfs not supported by kernel". I never saw any options when I was installing to include the NTFS type or anything. I'm pretty sure I need to recompile the kernel. I tried Xconfigurator. It wasn't any help.
Ah well. I'll look on the internet a bit more.
-
-
Yeah, I found that thread. Didn't help. It was just a guy posting problems he was having doing it himself, and no one ever answered him. I found some good instructions on another site and tried recompiling the kernel again a couple minutes ago, but it didn't work. Something like <b>make xconfig</b> , then <b>make dep</b>, then <b>make clean</b>, then <b>make zImage</b> or something. That's as far as I get. It failed trying to make the boot image. At least this time I didn't overwrite my old boot image with garbage like I did last time.
I guess this is just beyond my newbie Linux skills. Maybe I'll try again some day when I know what I'm doing. Thanks for the help anyways.
-
-
That's what I want to do. Stupid XP. *kicks Windows*
-
I remember reading somewhere that XP's ntfs was slightly different from Linux', resulting in a very-hard-not-to-say-impossible compatibility.
I'd rather be wrong.
And then there is Death
-
I wouldn't be surprised if that was true. *sigh*
-
Total Pacifist
For now, I'm useless. But after Christmas I'll be installing Linux and XP, and I'll want to mount my drive. I know there is a project somewhere on sourceforge that is working to put NTFS support into Linux, but I'm not sure if that one operates as a daemon or if it requires a recompile. I did recomplie my kernel once, for some reason, and I think it succeeded. Not that I remember what I did. *shrugs*
If you haven't figured it out in a while, I'll be more useful once I get my hands dirty.
-
Hypnotising you
Contributions
- Former Administrator
- Former Cid's Knight
-
-
I thought WinXP Professional required an NTFS filesystem. If I'd have known I could've used a FAT32 I probably would've.
Aexoden: I think I saw that project too. I think that's more for enabling write-access to NTFS systems, which as of now doesn't work, I think. (Everywhere I see to download write-access support, there're all sorts of warnings like "This is dangerous! Don't use it! I'm serious! It'll destroy you!" Things like that.) I thought they already had the read-only part down pretty good. Read-only NTFS support came with my RedHat distribution, but I know I have to recompile the kernel to enable it.
Ah well. Trial-and-error is probably the best way to figure it out. 90% of computer knowledge is gained by screwing stuff up a couple times and figuring out what you did, it seems.
-
Hypnotising you
Contributions
- Former Administrator
- Former Cid's Knight
-
Well, I got it to work. It took a couple more tries, but I figured it out. It seems my problem was more in getting all my other hardware to work right (my USB mouse was the main problem) after recompiling the kernel. RedHat autodetected my mouse fine during install but it took some work to get the kernel to recognize it myself. All I did was ran usr/src/linux-2.4/make menuconfig; figuring out teh right options to include took the most time. Then I ran make dep, make clean, make bzImage, make modules, make modules_install, then copied the bzimage to /boot, changed /etc/grub.conf to add a menu option for the new boot image, and it worked fine. The command to mount the ntfs drive took awhile to figure out too, since by default ntfs drives only give priveledges to the root user and no one else, but mount -t ntfs -o umask=0222 /dev/hda1 /XP worked fine. That gives all users write and execute access. There is no write access for anyone of course. It's not supported by the kernel yet, and I wouldn't use it if it was.
If I can do it I'm sure you can too Bleys. Now I need to figure out how to add that stuff to my fstab.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules