LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-12-2003, 10:31 AM   #1
snailophone
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Rep: Reputation: 0
Mounting HDD vs. Mounting Filesystem


I have a storage several sortage HDD's but I will just ask about one and hope I can generalize the response I get for more drives.

I want to mount my new HDD (which is FAT 32) in RedHat8 and I used the commands:

mount /dev/hdb /mnt/hdb

at the command line. The response I get is that I need to mount the filesystem. So I went into fstab and added this drive to the file, hoping it would mount it on startup. I doesn't. How do I do this. It mounts my floppy and CDROMs automaticslly. I was messing with it all afternoon yesterday. Thanks.
 
Old 08-12-2003, 10:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that's the hard disk block device, not a filesystem. if it's only a single parition, mount /dev/hdb1 instead, which will be the actual partition
 
Old 08-12-2003, 10:44 AM   #3
snailophone
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
So how do I edit my fstab to do this every time I boot up? Thanks!
 
Old 08-12-2003, 10:52 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Code:
/dev/hdb1 /mnt/hdb vfat defaults 0 0
 
Old 08-12-2003, 11:00 AM   #5
snailophone
LQ Newbie
 
Registered: Aug 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Cool, I'll give it a try. Thanks.
 
  


Reply



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
help:about mounting filesystem ms_sachem Fedora 1 06-13-2005 06:34 AM
Mounting a filesystem codebox.nl Linux - Software 7 10-21-2004 06:18 AM
USB HDD Mounting - which filesystem? grim1234 Linux - Hardware 2 08-17-2004 12:55 PM
Mounting NTFS filesystem laxguy1515 Linux - General 1 06-06-2003 12:16 PM
Mounting Windows Filesystem Grayhane Linux - Hardware 3 03-29-2003 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:30 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