LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   seeing the other partitions on a drive (https://www.linuxquestions.org/questions/linux-general-1/seeing-the-other-partitions-on-a-drive-113525/)

needforspeed 11-07-2003 03:01 PM

seeing the other partitions on a drive
 
Ok, here's my problem, I want to see the files located on a windows NTFS partition on the same drive I am using Linux from. This drive is a 200 gig Maxtor UltraATA133 via a PCI adapter card. I'm using about 20 gig for Mandrake 9.1 and the rest is windows since that is what I mostly use. I have Windows XP installed on a Maxtor 80 gig on the primary IDE, and I can see that in Linux. I also have an old 6 gig drive on the secondary IDE channel and I can see it as well. However, I can't see any of the files (that aren't on the Linux partition) from the 200 gig drive. I host my own personal website and the files are located on that 170 gig partition. Sometimes I need to boot into Linux for programming and I still want people to be able to access my site. So can somebody tell me how see the files located on that large partition?

If you need any other info, please let me know.
This will be a temp fix for a few months until I build a dedicated server computer.

Andrew Benton 11-07-2003 03:38 PM

You need to edit /etc/fstab , add the line
/dev/hda1 /mnt/windows ntfs iocharset=iso8859-15,ro,umask=0 0 0
and then reboot. At least, that's the way the line looks in mine as Windows was installed before Linux so it's hda1. Your details may de different.

The thing is you need to be cautious with this. If there's a problem mounting the partition during the boot process you may not be able to reboot, so if you've any free space on your system it might be worth installing Linux again and testing it there, as then it won't matter if it all goes wrong. That's what I do as I've free space on my hard drive for crash testing.

needforspeed 11-07-2003 10:30 PM

well, I don't really feel comfortable doing that if it can have such severe side effects. I'm pretty much a linux newbie. The only thing I use it for is programming, I've been much more successful programming c++ in Linux than in windows, and I don't even know much about programming either. I just write my own small little programs for certain things that I don't want to do over and over again.

Thanks for the reply though....any others?


All times are GMT -5. The time now is 04:37 AM.