Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get other drive?

Status
Not open for further replies.

shafiuddin

IS-IT--Management
Jun 6, 2004
28
SA
hi gurus
I have successfully installed Linux in my home system. First of all, excuse me if it is stupid question as I am a new. I have three partition in my drive, C, D and E. I have installed linux in E drive. My C is win2k (ntfs) and D is XP pro (fat32). All three OS is working fine.
1) Now my question is how can I get C and D drive when I am in linux (E drive)? What is the command and how?
2) Is it possible to get linux drive from windows also? If, please help me.
Please help me gurus. I am eagerly waiting.
 
If you formatted your linux partition using FAT, then Windows would be able to read it. However, the most common linux filesystems are EXT2, EXT3, or ReiserFS when doing a distro install, so it's unlikely that you would be able to read the linux partition without some sort of Windows utility. I don't know of one, but I'd guess they exist.

Linux is much smarter about "mounting" other filesystems using the "mount" command. mount can be a bit tricky since it has parameters that influence its ability to read from dozens of filesystems. The biggest problem I see is that linux doesn't yet have anything more than read access to NTFS partitions - if I'm current on the state of things. You WILL be able to easily mount the FAT32 partition using mount. Read up on it or try googling for specific examples.

 
1) Assuming different drives:
Code:
mkdir /mnt/c 
mkdir /mnt/d

mount /dev/hda1 /mnt/c -t ntfs 
mount /dev/hdb1 /mnt/d -t vfat
for different partitions:
Code:
mount /dev/hda1 /mnt/c -t ntfs 
mount /dev/hda2 /mnt/d -t vfat
2) I shortly read about something to read (write?) linux-partitions on windows, but don't know details.

TheDaver:
experimental write-support for hpfs-ntfs is evolving since more than a year. But it's not production-stable afaik.

seeking a job as java-programmer in Berlin:
 
gurus,
thanks for your helpful reply. i will go for googling and try your given commands, any success i can achieve, i will let you know soon.
Thanks and hope to get help more.
 
hi guru(stefanwagner)
i have followed your given guide in this post. but it could not mount yet.
it says something that i need to add someline in /etc/ ftab or mtab. could you guide please?

thanks guru
 
guru,
I have one disk with three partitions with three os also.
partition c is win2k ntfs
partition d is xp fat32
partition e is FC
thanks
 
/etc/fstab is the file system table, there needs to be an entry in it for every device you wish to mount under the root file system.

/etc/mtab is the mount table. As devices are mounted, the mtab file gets modified by your lovely linux system and provides a running commentary on what is going on in terms of mounted devices.

In order to be able to mount your windoze you need to create an entry in /etc/fstab - as root. Load /etc/fstab in an editor and have a good look at it. You also should read the manpage for mount. You should then have enough information to create the entries you need to mount your windows.

Best of luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top