access window partion...
Hi,
I am a newbie to linux and i am having windows xp and redhat linux 9 on my machine. But frequentlu i used to transfer a lot of data between windows and linux by saving it some where elase and accessing it later in the other OS. I am very curious to know if there is a way to transer directly the data from linux to windows partition. I 'll be very thankful for your answer.. thanks, siva |
You will have a hard time to access an ntfs partition from linux ....
What I have seen many ppl do is create a fat32 partition... Put info they want to share on it. And mount -tvfat /dev/hda1 /mnt/windows /dev/hda1 -> ide drive 1 ... partition 1 /dev/hdb1 -> ide drive 2 partition 1 /dev/hdc3 -> ide drive 3 partiion 3 /mnt/windows is your mountpoint that is where you access the files from |
can you tell me what is command to view all the partitions on my machine...
thanks, siva |
There is no such command at least not that I would know .....
You can see all the ones that are mounted with the mount command. |
I can all the ones when i type 'mount' command..
--------------------------------------------- /dev/hda2 on / type ext2 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) none on /dev/shm type tmpfs (rw) --------------------------------------------------- which partition i can access? thanks, siva |
The way you preceive filesytems in linux and windows are completely diffrent.
If windows oyu plug oyu play you don't ask questions and you have no control. Under linux it works diffrently ... You cannot access a prtition just like that. You have to "mount" it on a directory ... Then too access the files on that partition you just go to that directoy and voila ... Now to know which partitions you can mount is a bit more complexe. You have to know how your computer is made. Where each drives are. Your primary master is going to be "a" /dev/hda your primary slave is going to be "b" /dev/hdb secondary master "c" /dev/hdc and sec slave "d" /dev/hdd That is the "Devise file" A way to access the device... Then for partition X on that device its: /dev/hdaX where X is your partition number.... Now don't forget the mount directory ... Usualy found in /mnt (read as mount) . create a directory called /mnt/windows And then mount /dev/hdaX /mnt/windows where /dev/hdaX is the correct file for your partition. |
list all partitions..
fdisk -l XP is going to be readonly to Linux. Linux ext3 is going to be readonly to XP. What you can do if your using ext3 is to install Explore2fs. Then when your in XP you can get files from the Linux partition. When you are in Linux you can get files from the XP partition. |
I had mandrake9.2 and it viewed NTFS partitions just fine, no setup. However I could not view linux from windows(no big suprise).
|
can you tell me what is command to view all the partitions on my machine...
df du Display information in available disk space and disk usage. |
i found that after installl madrake 9.2 on my machine it had a link there already which was very strange and it went straght throught to my windows partition
|
df -hm
|
what does
df -hm mean? |
fdisk -l
|
cheers
|
df -h
displays disk usage in human readable format using powers of 10, ie kb, mb, gb df -m displays block sizes in megabytes |
All times are GMT -5. The time now is 08:36 PM. |