LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 12-01-2003, 11:30 AM   #1
mahamkali
Member
 
Registered: Oct 2003
Posts: 67
Thanked: 0
access window partion...


[Log in to get rid of this advertisement]
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
mahamkali is offline     Reply With Quote
Old 12-01-2003, 11:34 AM   #2
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59
Thanked: 0
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
szaroubi is offline     Reply With Quote
Old 12-01-2003, 11:54 AM   #3
mahamkali
Member
 
Registered: Oct 2003
Posts: 67
Thanked: 0

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


thanks,
siva
mahamkali is offline     Reply With Quote
Old 12-01-2003, 11:56 AM   #4
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59
Thanked: 0
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.
szaroubi is offline     Reply With Quote
Old 12-01-2003, 12:08 PM   #5
mahamkali
Member
 
Registered: Oct 2003
Posts: 67
Thanked: 0

Original Poster
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
mahamkali is offline     Reply With Quote
Old 12-01-2003, 12:15 PM   #6
szaroubi
Member
 
Registered: Oct 2003
Location: Montreal
Distribution: All/Any
Posts: 59
Thanked: 0
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.
szaroubi is offline     Reply With Quote
Old 12-01-2003, 10:31 PM   #7
DavidPhillips
LQ Addict
 
Registered: Jun 2001
Location: South Alabama
Distribution: RedHat / SuSE
Posts: 7,150
Thanked: 0
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.
DavidPhillips is offline     Reply With Quote
Old 12-01-2003, 10:57 PM   #8
Lynux Addict
LQ Newbie
 
Registered: Nov 2003
Location: AZ
Distribution: N/A (between distro's)
Posts: 25
Thanked: 0
I had mandrake9.2 and it viewed NTFS partitions just fine, no setup. However I could not view linux from windows(no big suprise).
Lynux Addict is offline     Reply With Quote
Old 12-02-2003, 05:20 AM   #9
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Thanked: 0
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.
LinuxLala is offline     Reply With Quote
Old 12-02-2003, 05:46 AM   #10
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268
Thanked: 0
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
8nasmith is offline     Reply With Quote
Old 12-02-2003, 06:12 AM   #11
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 980
Thanked: 0
df -hm
jayakrishnan is offline     Reply With Quote
Old 12-02-2003, 06:18 AM   #12
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268
Thanked: 0
what does

df -hm mean?
8nasmith is offline     Reply With Quote
Old 12-02-2003, 10:58 AM   #13
DavidPhillips
LQ Addict
 
Registered: Jun 2001
Location: South Alabama
Distribution: RedHat / SuSE
Posts: 7,150
Thanked: 0
fdisk -l
DavidPhillips is offline     Reply With Quote
Old 12-02-2003, 11:54 AM   #14
8nasmith
Member
 
Registered: Oct 2003
Location: Cornwall, UK
Distribution: Fedora Core 4
Posts: 268
Thanked: 0
cheers
8nasmith is offline     Reply With Quote
Old 12-03-2003, 09:46 AM   #15
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Thanked: 0
df -h
displays disk usage in human readable format using powers of 10, ie kb, mb, gb

df -m
displays block sizes in megabytes
LinuxLala is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
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 07:24 PM
How can I access window partitions? sourav Red Hat 1 08-12-2004 03:54 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 01:51 PM
Must "/boot" partion be installed in the primary partion? domeili Linux - Newbie 9 11-01-2003 09:27 AM
How to access linux partion from WinXP? madangsweh Linux - General 9 08-01-2003 03:16 AM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration