LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-01-2003, 10:30 AM   #1
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
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
 
Old 12-01-2003, 10:34 AM   #2
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59

Rep: Reputation: 15
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
 
Old 12-01-2003, 10:54 AM   #3
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Original Poster
Rep: Reputation: 15
can you tell me what is command to view all the partitions on my machine...


thanks,
siva
 
Old 12-01-2003, 10:56 AM   #4
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59

Rep: Reputation: 15
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.
 
Old 12-01-2003, 11:08 AM   #5
mahamkali
Member
 
Registered: Oct 2003
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
Old 12-01-2003, 11:15 AM   #6
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59

Rep: Reputation: 15
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.
 
Old 12-01-2003, 09:31 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 12-01-2003, 09:57 PM   #8
Lynux Addict
LQ Newbie
 
Registered: Nov 2003
Location: AZ
Distribution: N/A (between distro's)
Posts: 25

Rep: Reputation: 15
I had mandrake9.2 and it viewed NTFS partitions just fine, no setup. However I could not view linux from windows(no big suprise).
 
Old 12-02-2003, 04:20 AM   #9
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
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.
 
Old 12-02-2003, 04:46 AM   #10
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268

Rep: Reputation: 30
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
 
Old 12-02-2003, 05:12 AM   #11
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
df -hm
 
Old 12-02-2003, 05:18 AM   #12
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268

Rep: Reputation: 30
what does

df -hm mean?
 
Old 12-02-2003, 09:58 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
fdisk -l
 
Old 12-02-2003, 10:54 AM   #14
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268

Rep: Reputation: 30
cheers
 
Old 12-03-2003, 08:46 AM   #15
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
df -h
displays disk usage in human readable format using powers of 10, ie kb, mb, gb

df -m
displays block sizes in megabytes
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to get access to my x window Paxmaster Linux - Networking 4 11-09-2004 06:24 PM
How can I access window partitions? sourav Red Hat 1 08-12-2004 02:54 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM
Must "/boot" partion be installed in the primary partion? domeili Linux - Newbie 9 11-01-2003 08:27 AM
How to access linux partion from WinXP? madangsweh Linux - General 9 08-01-2003 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration