LinuxQuestions.org
Visit Jeremy's Blog.
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 05-27-2003, 08:59 AM   #1
mhd_Ahmed
Member
 
Registered: May 2003
Posts: 33

Rep: Reputation: 15
/etc/fstab...????????


i've added a new hard disk "segate",contains only one partion, linux felt by the new hard disk and named
it by hdb and the partion has named by hdb1.. i want to know wht i must write in ( /etc/fstab )
to use it as a second hard disk.plzz write the complete sentence that 'll write it cuz i tried severral times
and i failed..
 
Old 05-27-2003, 09:19 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
first you need to create a filesystem on it first and then update the fstab
mke2fs -j /dev/hdb1
will create ext3 filesystem (if you take away -j option you'll end up with ext2 filesystem)
mkreiserfs /dev/hdb1
will create reiserfs filesystem (don't forget you need the appropriate tools to be installed - mke2fs, mkreiserfs, other)
So first decide what filesystem you want to use.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 06:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 08:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 06:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 03:12 PM


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