LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How i can see my windows files from redhat? (https://www.linuxquestions.org/questions/linux-software-2/how-i-can-see-my-windows-files-from-redhat-72712/)

israel 07-14-2003 05:18 PM

How i can see my windows files from redhat?
 
Hello everyone,

I have a dual boot running redhat 9 and windows XP and I would like to know how i can see my windows files from redhat, When i was running Mankdrake 9.1 all i had to do was log in as root and mandrake would display my windows file but with redhat it not the same,.

Can somebody help me because i would like to run some programs under linux using wine

Thanks a lot

angelrod 07-14-2003 05:23 PM

If your XP part. is NTFS:

http://www.linuxquestions.org/questi...threadid=72434

If it's fat32 just change -t ntfs to -t vfat (talking about the commands in the thread I mention)

emence 07-14-2003 05:25 PM

if you know what partition and hard drive on its rather simple.

mkdir /mnt/windows #this is whee we will mount windoze
mount -t vfat /dev/hdx? /mnt/windows #here we actually mount the drive. Replace x with which hard drive, be it hda or hdb, and replace the ? with which partition it is. If you dont have this information available try the following:

fdisk /dev/hda
then p : this will print out your partition information.
note the partition number, here is an example:

[root@chris root]# fdisk /dev/hda

The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda2 * 5 3324 26667900 c Win95 FAT32 (LBA)
/dev/hda4 3325 4865 12378082+ f Win95 Ext'd (LBA)
/dev/hda5 3325 3422 787153+ 82 Linux swap
/dev/hda6 3423 3435 104391 83 Linux
/dev/hda7 3436 4865 11486443+ 83 Linux

Command (m for help):q
[root@chris root]#

my windows drive is /dev/hda2 so I would enter that in the previous mount command.

israel 07-14-2003 05:32 PM

thanks a lot


All times are GMT -5. The time now is 08:32 AM.