LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   New Hardrive (https://www.linuxquestions.org/questions/linux-newbie-8/new-hardrive-208842/)

jerimya 07-23-2004 03:37 PM

New Hardrive
 
I am looking for a guide to mount my new hardrive. I am currently running Fedora Core2. n00bish as possible would be good.

I just started out on linux and loving it so far.

acid_kewpie 07-23-2004 03:52 PM

not really much to guide... assuming it's just got one partition as is primary slave and you've already formatted it as reiserfs (using mkreiserfs), add a line to /etc/fstab:
Code:

/dev/hdb1    /mnt/drive    reiserfs    defaults    1 2
all there is to it.

But then i'm guessing your using KDE, in which case in some generally insulting UI somewhere, you'll probably have somewhere to just click and tell it to format it and configure it automatically.

linmix 07-23-2004 03:53 PM

Does FC2 come with QTparted? It's afree clone of Partition Magic. If not, boot from cd1 and use the partition tool.

You won't be able to do much of anything with your new disk until you creat partition(s) and filesystem(s).
After that you'll have to mount those partitions, either manually or by including them in your fstab.

jerimya 07-23-2004 04:08 PM

Actually I am using Gnome.

How do I go about partitioning it and formatting it?

when I use the command mount /dev/hdb1 I get the following error
mount: mount point /mnt/drive does not exist

acid_kewpie 07-23-2004 04:40 PM

use cfdisk to partition it, and like i said, mkreiserfs will create a reiserfs drive, but there are other options too like ext3

jerimya 07-23-2004 05:19 PM

Ok,

I have been trying to follow this guide http://www.linuxplanet.com/linuxplan...orials/4232/1/

I have used the command /sbin/fdisk and have setup a new partion using the whole drive. After I did that I used the command mkfs -t ext2 -j /dev/hdb1

I then added

/dev/hdb1 /mnt/hdb1 ext3 defaults 1 2

to /etc/fstab

I am still getting the error --
mount: mount point /mnt/drive does not exist

I am completely at a loss as to what I am doing wrong. I chalk it up to being a silly windows user trying to learn something new. :)

caid 07-23-2004 06:07 PM

try making the /mnt/drive directory.

i.e.

# mkdir /mnt/drive

;o)

jerimya 07-23-2004 06:12 PM

Well now don't I feel dumb. hehe. Thanks! Now another question, how do I navigate to that drive? IE create folders etc..

Yes I am a n00b!

Thanks for everyone's help!

whansard 07-23-2004 06:19 PM

the mountpoint, /mnt/drive is the top directory of the filesystem. cd /mnt/drive, ls. you're there. by the way, you made a ext2, and are mounting as ext3.

jerimya 07-23-2004 06:21 PM

Thanks I have that fixed now! ah ha. that makes it easy enough.

Again thank you all for the help.... now I am off to setup samba, oh joyous. :)


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