what is the command
im using redhat9 OS.my problem is how to acces my folder in windows.i have my pc dual boot linux and windows98. please give the command how to mount it.
THANKS A LOT.
Linux
im using redhat9 OS.my problem is how to acces my folder in windows.i have my pc dual boot linux and windows98. please give the command how to mount it.
THANKS A LOT.
by tech_wiz03
1) make a dummy folder under /mnt such as
md /mnt/win98x where x stands for drive to be
mounted
2) either change the etc/fstab (you will need to refer to man pages on topic since i have
forgotten exact sequence) or refer to info
pages on mount (options...)
Sorry i'm not much help here since i use mandrake and supermount which automatically sets up the folders and hotlinks my win98/2K drive partitions.
rick
by soliboy
Assuming your Windows partition is hda1, you could do something like this:
cd /mnt
mkdir /win_c
mount -t vfat /dev/hda1 /mnt/win_c
If you browse to /mnt/win_c you will be able to access the Windows partition. To get it to do this automatically, do as the previous answer suggested and add an entry into fstab.
by soliboy
Assuming your Windows partition is hda1, you could do something like this:
cd /mnt
mkdir /win_c
mount -t vfat /dev/hda1 /mnt/win_c
If you browse to /mnt/win_c you will be able to access the Windows partition. To get it to do this automatically, do as the previous answer suggested and add an entry into fstab.
The command to mount your windows partition is as follows:
Step 1. Make a mount point -
mkdir /mnt/windows
Step 2. find out which partition your windows folder is on. For example if it is on hda1 then the command is:
mount -t vfat /dev/hda1 /mnt/windows
Now you can read your files from that partition
by maclain
Do the ff:
1. create a directory at which the Windows partition will be mounted by typing the ff:
mkdir /mnt/windows
2. As root, type the following at a shell prompt
mount -t vfat /dev/hda1 /mnt/windows
3. To automatically mount a windows partition, you must modify the etc/fstab file.
Open the /etc/fstab in a text editor by typing(for example):
pico /etc/fstab
Then add the ff: on a new line(the dev/hda1 may vary, but for most users this is correct);
/dev/hda1 /mnt/windows vfat auto,owner,users 0 0
Last Press [ctrl]-[x] and then press [y] for yes to save the changes. Then reboot the system....
by musasji
It all sounds great what is suggested in the previous answers and it is more or less exactly what I have always been doing.
A little extra info on finding out which partition needs to be mounted for your windows folders to become accessible under Linux:
fdisk -l /dev/hda
will show you something like
Disk /dev/hda: 20.0 GB, 20003880960 bytes
240 heads, 63 sectors/track, 2584 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 408 3084448+ b Win95 FAT32
/dev/hda2 409 2584 16450560 5 Extended
/dev/hda5 409 422 105808+ 83 Linux
/dev/hda6 423 477 415768+ 82 Linux swap
/dev/hda7 478 2584 15928888+ 83 Linux
This definitly shows you which partition you need.
just issue the command
mount -t vfat /dev/hda1 /mnt/windows
if you are going to mount this partition (or filesystem) on /mnt/windows or any other directory you created previously with the mkdir command.
This discussion is closed to new replies.
Sort by Trending