LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting up a new drive (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-a-new-drive-618679/)

andy1974 02-04-2008 04:55 PM

setting up a new drive
 
Hello All

I have a new 200 gb ide hard drive fresh out of the box....it will be /dev/sdb1

i want to setit up using ext3 file system ...can anyone help me set it up....i want one partion if possable.... will linux reconize 200 gb as one partion.

jailbait 02-04-2008 05:21 PM

Quote:

Originally Posted by andy1974 (Post 3046048)
Hello All

I have a new 200 gb ide hard drive fresh out of the box....it will be /dev/sdb1

i want to setit up using ext3 file system ...can anyone help me set it up....i want one partion if possable.... will linux reconize 200 gb as one partion.

Yes, I think that the maximum partition size is 2 terabytes. I think that the maximum ext3 file system size is 8 terabytes.

--------------------
Steve Stites

budword 02-04-2008 05:33 PM

You could use qtparted. (I think it is.) Linux won't have a problem with a single 200G partition. The command line program to partition your drive is fdisk, if you are a CLI junkie.

What distro do you use ?

David

P.S. You will need to edit /etc/fstab too. Just reply back here if you need a little help with that.

David

Lepakko 02-04-2008 05:38 PM

Basically setting up a hard drive is just:

1. Plugging it in
2. Partitioning it
3. Formatting it
4. Mounting it

I'll just assume you can handle the plugging in part. For partitioning, you can use a) text-based fdisk or parted, or b) Gparted, which has a very easy and nice looking GUI. If you use Gparted, it also does the formatting for you. If you rather do it over the command line, there's mkfs.ext3 and mke2fs that do the formatting. After formatting and partitioning you have /dev/sdb as the hard drive, /dev/sdb1 as the first partition, /dev/sdb2 as the second partition, and so forth... And you'd then mount a partition with "mount /dev/sdb1 /mnt/point". To do this automatically, you'd need to add the partitions to your /etc/fstab.

andy1974 02-04-2008 07:25 PM

Great ..thats the info i needed .....GParted :)

xiao_haozi 02-04-2008 08:06 PM

Can also check out...
 
I have a guide up for slackware (which will work on any distro really).
Check it out here
Let me know if you need any further help :)


All times are GMT -5. The time now is 06:27 PM.