LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Windows, hda1 (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-windows-hda1-110707/)

mdekruijf 10-31-2003 01:41 AM

Mounting Windows, hda1
 
I've read in several places that to mount my windows partition I do the following:

mount -t vfat /dev/hda1 /mnt

or some equivalent. When I do this however, it says that hda1 is mounted already on /boot, although I can't find it for the life of me. When I run "find / -name hda1" it only shows up under /dev. As an aside, the mount is supposed to show as a directory, right? It did back when I was using Mandrake (now using Redhat 9.0).

Any ideas?

Thanks in advance.

Marc

linuxbotx 10-31-2003 01:45 AM

Give me a list of all your partitions and where they are assigned to. Usuall hda1 is swap (unless you had winblows installed before linux). If hda1 is your windows parttition, type

umount /dev/hda1
then
mount /dev/hda1 -vfat /mnt

since your using vfat I assume that your using Win 95?

You could also try using automount in your fstab file. Just tell it to automount to lets say /mnt/windows. Oh, and if your using anything above Win 98, you will need the NTFS driver

http://linux-ntfs.sourceforge.net/info/redhat.html

dalek 10-31-2003 02:13 AM

Be very carefull with NTFS. It can mess up your windoze.

Later

:D :D :D

mdekruijf 10-31-2003 03:02 AM

Ah! hda1 was not my Windows partition. I thought it would be because I installed windows first but it's not after all.

I feel kinda' stupid. Thanks for the help though! I'm learning every day!

DurantDL 10-31-2003 09:35 AM

Linux says /dev/hda1 really is /boot (for RedHat).
"win" may be hda2, hda5, ??; check with "fdisk hda".

greendemon 10-31-2003 10:18 AM

Can linux see ntfs volumes?
I've just rebuilt my machine, I installed 2 drives individually, 1 with windows and 1 with RH9. I boot whichever os I want by selecting the relevant disk from the Bios startup menu. (I did this cos I gave up trying to do it with partition magic and various boot loaders!)
It would be nice if I could get my RH9 system to see the NTFS Drive as well, is this possible? Do I need to mount something?

Mikhail_16 10-31-2003 10:22 AM

yes linux can see ntfs, but it has to be enabled in kernel, also older kernels (i think before 2.4) cannot do it. in-general ntfs support is scetchy at best for now. the 2.6 kernel is supposed to have it but its not out yet.

linuxbotx 10-31-2003 12:25 PM

http://linux-ntfs.sourceforge.net/info/redhat.html

download from this link to have NTFS support enabled in Redhat

Kroppus 10-31-2003 12:45 PM

Reading NTFS goes well from Linux, depending on how you set permissions on the mount point. :)
Don't try to write to it though..
Kernel 2.4.21 is handling it ok.

I got my xp and doc partitions mounted as read only and only accessible for root/su.
Can't let my gf see all my porn... Opps?
:))


All times are GMT -5. The time now is 10:15 AM.