Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2007, 06:05 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Drives in xp are not seen in linux

Hi All,

This is surya new to linux.I installed Linux in my system which has dual xp and linux.i have c,d,e,f drives in windows in d linux is installed and so "d" is not shown in xp.

prob: I want my e,f drives in linux, then what is the procedure i have to follow (or) any software is to be installed in linux or xp to get these drives..............

Last edited by surya.n.k; 09-28-2007 at 06:07 AM.
Old 09-28-2007, 08:25 AM   #2
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,596

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Moved: This thread is more suitable in Linux - Newbie and has been moved accordingly to help your thread/question get the exposure it deserves. Can I asked what prompted you to post this in the "LQ Suggestions & Feedback" forum?

Old 09-28-2007, 09:05 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Please put your Linux distro in your profile. If you use SuSE or Fedora or Mandriva Linux, then you can run the Partitioner program and select the partition, select edit and then enter a mount point. Make sure that you don't have the format option checked. Also indicate which drive is what, C, D, E & F are MSDOS device names for partitions. Look at the output of "sudo /sbin/fdisk -l". An IDE PATA drive will have an name starting with "hd" for "hard disk", while a SATA or SCSI drive will have a name starting with the letters "sd".

You can also do this manually. First create, as root, the directories to mount this partitions. I would suggest perhaps:
sudo mkdir /mnt/windows/c
sudo mkdir /mnt/windows/e
sudo mkdir /mnt/windows/f

If either the e or f partitions have a particular use, you might want to choose more human friendly names, such as "/mnt/windows/mp3s" or "/mnt/windows/downloads".

Assuming these partitions use XP's default NTFS filesystem, make sure that the Linux kernel's NTFS module is loaded.
lsmod | grep ntfs
If you don't see ntfs listed then execute the command:
sudo /sbin/modprobe ntfs

Next add a line in each file in /etc/fstab for your NTFS partitions. I will assume that only a single user should have access and use "syrya" as the username:
/dev/sda1 /windows/c ntfs ro,uid=syrya,umask=0007,utf8=true
/dev/sdb1 /windows/e ntfs ro,uid=syrya,umask=0007,utf8=true
/dev/sda3 /windows/f ntfs ro,uid=syrya,umask=0007,utf8=true

I also make several assumptions about which partition corresponded to which msdos device name. Windows will name a second disk D:\ is it exists, so I assumed you have two hard drives in your computer. You didn't mention where the swap partition was. You will need to list all of the partitions on your system with the "sudo /sbin/fdisk -l" command. Determine which partition is which before changing /etc/fstab.

If you have a printer, set up as the default, you can print it out with the command:
sudo /sbin/fdisk -l | lpr

Save the printout because if in the future, if you accidently damage the MBR on either drive, this could help you recover the old partiitons. ( Although a backup of the MBR itself is recommended. ).

Last edited by jschiwal; 09-28-2007 at 09:07 AM.
Old 09-28-2007, 09:07 AM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
first, be aware the the C, D, E...etc labels are unique to Windows. While they are often called "drives" they can be just partitions.

In Linux, open a terminal and enter "fdisk -l" (or maybe "sudo fdisk -l"). this will show you how Linux labels drives and partitions.

Most modern Linux versions will read Windows partitions with no extra effort. To read a Linux partition from Windows, you will need to install a driver---eg ext2fsd


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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 08:01 AM
Adding additional drives/resizing drives in RAID arrays kheldar Linux - Hardware 1 10-19-2005 02:21 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 05:30 PM
Re: Mandrake 9.2 destroys LG cd drives...( but what obout Lite-On cd drives?) aweir14150 Mandriva 1 03-03-2004 08:52 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 04:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

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