LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-28-2003, 05:56 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
mounting a drive?


I am trying to mount a HD using " mount /dev/hdh1 "and i keep getting not found in /dev/fstab. How can i fix this. thanks
 
Old 07-28-2003, 06:07 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
you have to add an entry to the fstab, add it in /etc/fstab.
 
Old 07-28-2003, 06:10 PM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
also you're not specifying any mount point

man mount

For Example, if you're trying to mount a fat32 partition, you have to use:

mount -t vfat /dev/hda1 /mnt/drive

Of course you have to previously created /mnt/drive directory.
 
Old 07-28-2003, 06:19 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Bajanick

Look at this example ;


/dev/hda1 /mnt/windows vfat auto,rw,umask=000 0 0


This is an entry you would put into your /etc/fstab file.

This entry would mount the vfat filesystem on the 1st partition on the Primary master drive to a mount point called /mnt/windows

You typically mount filesystems either:

on boot - using an entry in /etc/fstab

or temporarily with "su"

A typical example with su would be:


mount -t vfat -o rw /dev/hda1 /mnt/windows

Follow one of these 2 versions and substitue in your partition and mount point etc
 
Old 07-28-2003, 06:20 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks, i got it, I didnt pay attention to the directions in another post and was doing it wrong. but i got it now, thanks again.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting cd drive? agryan Linux - Newbie 2 06-03-2005 07:22 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Mounting a drive daiver Linux - General 3 10-10-2003 06:43 PM
Drive mounting iamsyk Linux - General 1 09-22-2003 11:57 AM
mounting drive Timboi Linux - Software 2 07-17-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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