Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I have a pc running Win2k. It has one physical hard drive - 120GB partitioned such that Win2k is on c:\ with 20GB and random storage space is on d:\ with 100GB (both are formatted using NTFS). A couple of days ago I decided to give Red Hat 9 Linux a whirl on my system, and so obtained a blank 13GB hard drive to install into my machine and try Red Hat 9 out. I downloaded Red Hat 9, burned the three installation cds from the images, UNHOOKED (IDE cable and power) my 120GB hard drive, HOOKED up my blank 13GB drive, and proceeded to boot from the first installation CD and install Red Hat 9.
The install went beautifully. I browsed around the GNOME desktop for a while, and then decided to REHOOK my 120GB drive housing my install of Win2k and my Data.
When I boot from my 13GB drive into Red Hat 9, I cannot figure out how to access my data off of my 100GB partition on my 120GB drive. My friend just mentioned to me that I need to open a terminal and type
or something along those lines. I would greatly appreciate any guidance that anyone can offer in this area.
Skyline has given you the best way of having your Win2k and RH9 installations available when you want them. For now, if you're not interested in being able to boot into Win2k but just want to access your data on the 100GB partition, read on.
Open a console as root and enter the commands:
chmod 777 /mnt/win_d
mount -t ntfs /dev/hdb2 mnt/win_d
You should then be able to access the data just like any other disk on your system. You can use any name you like for your Windows data partition, not just 'win_d' in this example. For instance, you could name it 'WinData', 'MyData', 'mydata', etc.
Keep in mind that because your Windows partition is NTFS, you will only be able to read from, not write to, the partition. This is because writing to NTFS is experimental at the moment and is not guaranteed to not trash your data.
If you want to see NTFS partition in Linux, you can recompile the kernel with NTFS support checked, but since NTFS support is experimental, it strongly recomended that you leave it as read-only (no write support)...
I read what Skyline posted and began to follow his suggestions. I got to the point where he says:
You'll need to download a RPM for Red Hat to Read NTFS (or you could just create a FAT32 shared data partition)
and I had to stop and think about which I'd rather do... I would like to not have to download any mods for my kernel, so at this point I'm leaning towards transferring my data off of the 100GB partition, reformatting into FAT32 and putting my data back on. This seems like the most hassle-free and sure way of getting my data to be recognized by both Win2k and Red Hat 9. All I would then have to do is mount the drive in Red Hat 9. Would you all agree or am I overlooking something...?
I agree. You would be able to write to FAT32 from Linux to save data for use later in Windows, and vice versa; ie, transfer data both ways. With an NTFS partition, you would not have that flexibility; ie, transfer data only one way.