LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-16-2003, 07:14 PM   #1
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Rep: Reputation: 15
Mounting Secondary HDD


From my basic understanding of Linux (RH 9) i think that to mount my secondry hard disk i first need to make sure it's there, so i did the "dmesg" command and got the following info:

Code:
hda: WDC WD100AA, ATA DISK drive
hdb: Maxtor 6Y120P0, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03ca084, I/O limit 4095Mb (mask 0xffffffff)
hdc: Compaq CRD-8322B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 19541088 sectors (10005 MB) w/2048KiB Cache, CHS=1292/240/63, UDMA(33)
hdb: host protected area => 1
hdb: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=15881/240/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 >
 hdb: [PTBL] [14946/255/63] hdb1
So i then made the directory and tried to mount my Maxtor drive (hdb) but the following happened:

Code:
[root@localhost root]# mkdir /mnt/hdb1
[root@localhost root]# mount /dev/hdb1 mnt/hdb1
mount: mount point mnt/hdb1 does not exist
Anyone got any ideas what i can do now. It is formatted as Fat32 in Win XP using partion magic 8 and has several directories containing .pdf files and .jpg that were made in Windows XP. The drive but has no other partitons.

I am sure that i am doing something stupid, but i have had a google and can't find any more answers. Any help will be greatly aprreciated.


Cheers,


nairnie
 
Old 11-16-2003, 07:54 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: Mounting Secondary HDD

Quote:
Originally posted by nairnie
Code:
[root@localhost root]# mkdir /mnt/hdb1
[root@localhost root]# mount /dev/hdb1 mnt/hdb1
mount: mount point mnt/hdb1 does not exist
Try
Code:
[root@localhost root]# mount /dev/hdb1 /mnt/hdb1
instead ... you forgot the leading slash. If you didn't
make a fstab entry it may also complain about the
lack of a filesystem. If it does, try
Code:
[root@localhost root]# mount -t vfat  /dev/hdb1 /mnt/hdb1
Cheers,
Tink
 
Old 11-16-2003, 07:59 PM   #3
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Cheers Tink,

Will try the "[root@localhost root]# mount -t vfat /dev/hdb1 /mnt/hdb1" as i have not done that.

PS: I don't think it is the missing slash as i tried mounting it several times and i think the tine i did the C&P from the terminal from was just a typo.... but i may be wrong so will give it another go and check my typing


Thanks.
 
Old 11-16-2003, 07:59 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Is this a new disk or an already partitioned disk? the table seems to suggest one partiton.

If this is so what filesystem? for a windows disk (fat32) you would use the line

mount -t vfat /dev/hdb1 /mnt/hdb1

If its a linux ext3 for instance you would use

mount -t ext3 /dev/hdb1 /mnt/hdb1

Or do you want to repartition it, and install your own filesystem?
 
Old 11-16-2003, 08:08 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,374

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
Quote:
mount: mount point mnt/hdb1 does not exist
If this was indeed a typo then you need to create the directory /mnt/hdb1 using the mkdir command.

According to the ouput of dmesg hdb has a hidden partition. Just to make sure check to see how the drive is partitioned. Log in as root:
fdisk -l /dev/hdb (That is a small L)
 
Old 11-16-2003, 08:13 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by michaelk
If this was indeed a typo then you need to create the directory /mnt/hdb1 using the mkdir command.
Quote:
Code:
[root@localhost root]# mkdir /mnt/hdb1
According to this he had done that ;)


Cheers,
Tink
 
Old 11-16-2003, 08:21 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,374

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
Yep, I realized what I had said after the fact... at least my mind new what I wanted to post
 
Old 11-17-2003, 07:00 AM   #8
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by leonscape
Is this a new disk or an already partitioned disk? the table seems to suggest one partiton.

If this is so what filesystem? for a windows disk (fat32) you would use the line

mount -t vfat /dev/hdb1 /mnt/hdb1

If its a linux ext3 for instance you would use

mount -t ext3 /dev/hdb1 /mnt/hdb1

Or do you want to repartition it, and install your own filesystem?
It was originally a backup disk in a windows machine formatted as fat32 as a single drive (partition) using partion magic 8 in windows xp. The disk is intended to be a media storage for my home network which has windows machines and linux dual boots on them. To my understanding fat32 was the best choice for this as both the linux and windows machines can read it. Therefore i think i need to use "mount -t vfat /dev/hdb1 /mnt/hdb1" which i have not so far. I will try this when i get back from work.

Cheers for the help people.

Last edited by nairnie; 11-17-2003 at 07:02 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
mount secondary hdd martinez9049 Linux - Newbie 13 04-22-2005 09:59 PM
Mounting a linux partition on my secondary IDE linuxjuggler Linux - Newbie 1 12-17-2003 01:58 PM
Mounting a hard-drive on secondary ide linuxjuggler Linux - Newbie 1 12-16-2003 12:15 AM
mounting secondary win partition? Gweilo Linux - Newbie 9 10-12-2003 09:46 AM
w permission on secondary hdd retiem Linux - General 2 07-21-2003 11:35 AM


All times are GMT -5. The time now is 08:36 PM.

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