LinuxQuestions.org
Visit Jeremy's Blog.
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 07-19-2003, 03:40 AM   #1
yanban
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
can't mount new hard drive


Hi all,

I used to have RH7 and just install (instead) the RH9.
I have got 2 HD and my problem is now I can not mount the secund one. I want to dedicate this one only to Oracle ( like before).
Here is what I have done :

* fdisk /dev/hdc1
Then I created a single primary partition

* mkfs /dev/hdc1

* mkdir /secon

and I modified the etc\fstab with :
/dev/hdc1 /secon defaults 1 1

Now I am able to see it in KDiskFree but when I try to mount it, I get :
"mount: fs type defaults not supported by kernel"

Thanks in advance if you can help me!
 
Old 07-19-2003, 04:49 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You didn't specify a file system type in your /etc/fstab file.

See man pages fstab and mount for additional help.

So what filesystem did you format the drive as? ext2?

/dev/hdc1 /secon defaults 1 1

Should be

/dev/hdc1 /secon <fs> defaults 1 1

Replace <fs> with file system type.
 
Old 07-19-2003, 05:04 AM   #3
yanban
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your answer but the problem remains :

I reformated it using :

mkfs.ext2 /dev/hdc1

and changed the fstab :
/dev/hdc1 /secon ext3 defaults 1 1

From KdiskFree, I get :

"mount -text3 /dev/hdc1 /secon -o defaults
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
or too many mounted file systems"

( I only got the /home and / mounted)
Any idea ?
 
Old 07-19-2003, 05:07 AM   #4
yanban
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
OK... I Just realised my mistake, while I was rereading my post...

I reformarted using mkfs.ext3 /dev/hdc1 instead, and not this works fine!

Thank you!
 
Old 07-19-2003, 05:08 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You formated the partition as ext2 so you need to specify the file system type in /etc/fstab as ext2 and use ext2 in your mount command too.
 
Old 07-19-2003, 05:09 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,856

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Nevermind ....
 
  


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
Can't mount hard drive. Alvis Linux - Hardware 4 07-25-2005 01:31 PM
how do you mount a hard drive? blackdragon Linux - Newbie 2 07-22-2005 10:28 AM
Mount a second Hard drive darazman Linux - Hardware 4 03-17-2004 06:50 AM
Where to mount second hard drive Harimwakairi Linux - Newbie 3 08-11-2003 04:29 PM
How to mount a hard drive ed1023 Linux - General 1 08-31-2002 10:04 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration