LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-18-2005, 11:41 PM   #1
faezeh
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
How to mount a special label of my external hard drive?


Hello,
I have bougth an external hard drive(MAXTOR),I have made three partitions on it using windows :
1.primary(NTFS)(label:New Volume)
2.extended,logical(FAT32)(label:FIRST)
3.extended(unallocated)
I want to mount the second patition in linux,but since the format of the first partition is NTFS,it gives me the errror message UNKNOWN FILE SYSTEM TYPE,how can I ask the system to mount the second partition using its label?
 
Old 03-19-2005, 12:21 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Not enough detail. Where exactly is it plugged in? What connector of what IDE chain, or is it usb?
 
Old 03-19-2005, 01:14 AM   #3
faezeh
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
it is connected via usb and as far as I know you need to mount it by typing:
mount /dev/sda1 /mnt/hdd
 
Old 03-19-2005, 01:44 AM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
If you are mounting the 2nd partition, then it's not sda1. It's sda2.

And for future refernce, NTFS is Microsoft copyrighted. You can mount it, but you can't write to it without screwing it up or using pirated windows libraries. FAT32 is an open filesystem, and you can read or write to it. Use vfat aka FAT32 when formating drives that you want linux to be able to use. Better yet, use reiserfs if it's a linux only drive.

Last edited by Thoreau; 03-19-2005 at 01:46 AM.
 
Old 03-19-2005, 03:38 AM   #5
faezeh
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
I tried /dev/sda2 but it gives me the error "/dev/sda2 is not a valid block device".
 
Old 03-19-2005, 02:58 PM   #6
Robert G. Hays
Member
 
Registered: Jan 2003
Location: Atlanta, Ga., USA
Distribution: Gentoo, Mandrake, ~others
Posts: 157

Rep: Reputation: 30
I think the problem is that it is not /dev/sda2, it should be /dev/sda5.

You specified that it is in an extended partition, and for every distro that I know, though I could have missed some, the first LOGICAL partition is named /dev/???5, the second LOGICAL is '6, etc; 1 through 4 are only for PRIMARY partitions (bootable or not). The extended partition itself *will* use one of these four. Partitions inside an extended partition are technically known as logical partitions.

Thus your command *should* be:
mount /dev/sda5 /mnt/hdd

Hope that fixes it.

Also, well-written starting message!

Last edited by Robert G. Hays; 03-19-2005 at 03:02 PM.
 
Old 03-21-2005, 04:22 AM   #7
faezeh
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks.It helped a lot.
 
  


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
New to RH9 please help me to mount? a external usb hard drive ginda Linux - Newbie 7 05-29-2006 07:11 PM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM
Can't mount external hard drive...HELP! Stevetgn Linux - Hardware 4 10-18-2005 07:38 PM
can't mount fs on external hard drive fatblueduck Linux - General 11 06-10-2005 03:03 PM
external hard drive mount omarbohsali Linux - Newbie 4 04-27-2005 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration