LinuxQuestions.org
Help answer threads with 0 replies.
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 09-15-2001, 08:36 AM   #1
garorag
LQ Newbie
 
Registered: Sep 2001
Location: india
Distribution: pcq linux 7.1
Posts: 17

Rep: Reputation: 0
Thumbs down mounting


how to mount hda1
i am new bee of linux
previously i installed red hat 7.0
i was able to mount the hba1 (hardisk no 1 fat 32 ) from
linux by going to disk management where there was an option to mount hda1(another 2 gb hd)
but after installing pcq 7.1 from the scratch that option is not working when i go to terminal and type "mount /dev/hda1"
i says device not found
also i am unable to run mysql
please help me
 
Old 09-15-2001, 11:39 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Does it say device not found or does it say mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab. If the latter is the case then its becuase you are not supplying the directory to mount the device, create a directory, then use
Code:
mount /dev/hda1 /directoryName
What error do you get from mysql?

HTH

Jamie...
 
Old 09-19-2001, 07:19 AM   #3
ozzy983
LQ Newbie
 
Registered: Sep 2001
Posts: 11

Rep: Reputation: 0
I use mount -t [filesystem] /dev/hda1 /[dir name of your choice] -o rw.

Now, let me explain these options.

-t [filesystem] specifics what filesystems it is, like EXT2, msdos, VFAT 32.

1) ext2, the standard Linux filesystem. If you omit the type argument, the filesystem is assumed to be an ext2 filesystem.
2) iso9660, the standard filesystem used for CD-ROMs.
3) msdos, the standard filesystem used by MS-DOS.
4) vfat, the standard filesystem used by Windows 3.x and 9x. This filesystem type also supports the vfat32 filesystems used by Windows 9x.

/dev/hda1 is the drive you are attempting to mount.

/[dir name of your choice], I have a drive mounted as ozzy983.

-o rw tells it that it is a read and write. -o ro would be read only such as a cdrom drive.

I do most of my work from the console. Haven't used X in awhile now. So, I would type this command in from the terminal, I think you will need to be logged in a root as well.

Also, to get back into X from the consolf, type StartX

Hope this helps.

Later,
Oz
 
  


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 07:34 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
mounting Cybergod1983 Linux - General 1 10-08-2001 03:28 PM


All times are GMT -5. The time now is 11:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration