LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2004, 04:18 AM   #1
ks_krishna76
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
to view the windows logical drives from linux.


Hi all,
Good Afternoon!
I have installed windows 2000 professional and redhat linux 9 on my computer. I have copied some documents on windows. I am doing my work on Linux.
Sometimes I need to refer to those documents(WebLogic docs). At that time I am rebooting the OS and starting windows to refer them. Its wasting my time.
Is there any solution to this. I mean without going to windows can I read those documents. Please help me out in this.

thanks and regards
Shyam Krishna
 
Old 10-07-2004, 04:35 AM   #2
nmares
Member
 
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian, Knoppix, LFS, Lycoris
Posts: 38

Rep: Reputation: 15
You can use the mount command to mount the partition that Windows is installed on to a mount point like /mnt/hda1

Depending on the location of the partition on your harddisk, the syntax below may be different.

Open a bash prompt, the enter the following

Code:
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
You will now be able to access all of the files located on the windows partition (providing the partition is hda1)

As well, depending on your linux kernel version, you may not be able to save data to a partition formatted in Windows as NTFS.

To mount the partition every time you boot linux, you can modify /etc/fstab. Google should provide some info about this.

Hope that helped,
Nathan
 
Old 10-07-2004, 04:36 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,700

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
To see a windoze disk from linux you have to mount it like this:
Code:
mount -t ntfs /dev/hda1 /mnt/win2k
In the above example it's assumed that windoze is in the first partition (and that partition is ntfs) of the primary disk and there is a directory /mnt/win2k in linux. Change it to suit your system's configuration.
You can also copy files from windoze to linux but not viceversa.
 
Old 10-07-2004, 05:46 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
you need to put an entry in /etc/fstab also...........this is what I use.........
Code:
 /dev/hda6     /stuff        vfat     noauto,owner,users,rw     1   0
 
Old 10-07-2004, 07:21 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,072

Rep: Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374Reputation: 3374
I assume by logical drives you have a d: drive or e: drive etc. etc. You can find out how your drive is partitioned by using cfdisk or fdisk. Log in as root and use the following command:
fdisk -l /dev/hda (that is a small L, change hda as required)

I would guess your d: drive is /dev/hda5, e: drive /dev/hda6 etc.

Create a directory to use as a mount point and add an entry to your /etc/fstab file. You will need to add NTFS support to mount your W2K drives (read only):

http://linux-ntfs.sourceforge.net/
or
http://www.jankratochvil.net/project/captive/
 
Old 10-14-2004, 02:18 AM   #6
ks_krishna76
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Original Poster
Rep: Reputation: 0
ntfs not supported by kernel

hi all,
Thanks for solutions. But I am not able t o connect to those drives which are formated with ntfs.
1)
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1

2)
mount -t ntfs /dev/hda1 /mnt/hda1

The following error is coming while typing the above commands.
-------------------------------------------------------------------------------------------------------------------------------------------------------
mount: fs type not supported by kernel
mount: wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted file systems.
-------------------------------------------------------------------------------------------------------------------------------------------------------
 
Old 10-14-2004, 02:30 AM   #7
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Check this site out---->http://linux-ntfs.sourceforge.net/

Download and install the install the ntfs driver for ur kernel

--->http://linux-ntfs.sourceforge.net/downloads.html

If ur using an Redhat or Fedora ---> http://linux-ntfs.sourceforge.net/rpm/index.html

It would be better if u included distro and the kernel version in ur profile.. it makes things easier..

U might wanna check this one out too --->http://www.jankratochvil.net/project/captive/

Just a suggestion....

Peace!!!!

Last edited by UsualTuxpect; 10-14-2004 at 02:51 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
view linux drives in xp taylorpendley Linux - Newbie 1 08-05-2005 03:06 PM
How to add Logical Drives kool_kid Slackware 10 03-18-2005 07:08 AM
Where can I find/change information about my logical drives eugeny Linux - Software 2 10-21-2003 09:40 AM
Need help to recover extended partitions/logical drives dwmass Linux - Hardware 1 11-06-2002 07:27 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration