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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-28-2007, 06:05 AM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 1
Rep:
|
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.
|
|
|
09-28-2007, 08:25 AM
|
#2
|
root
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,613
|
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?
--jeremy
|
|
|
09-28-2007, 09:05 AM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
09-28-2007, 09:07 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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
http://sourceforge.net/projects/ext2fsd
|
|
|
All times are GMT -5. The time now is 01:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|