LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-20-2004, 03:14 PM   #1
Alfatech
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Angry add new harddrive?


Sorry guys just new to Linux (am loving it)

just can't seem to figure out how to add a new HD. Ik can see it, the system calls it hdb1 but it's an old fat32 drive.

I want to repartition it and format it with the ext3. help

thanx
 
Old 04-20-2004, 03:19 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
You can use cfdisk or fdisk to repartition:
cfdisk /dev/hdb
fdisk /dev/hdb

Then to format you can use "mkfs", you can use "-t" to choose a filesystme type - ie:
mkfs -t ext3 /dev/hdb1
mkfs -t reiser /dev/hdb2
 
Old 04-20-2004, 03:20 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
right so you'd repartition it using an app like "cfdisk /dev/hdb" or fdisk under linux. then format it using "mke2fs -j /dev/hdb1" and then add an entry in /etc/fstab to mount it somewhere.
 
Old 04-20-2004, 03:46 PM   #4
Alfatech
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanx guys big help. It's going to take a while (old pc) but it's working
 
  


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
easiest way to add an extra harddrive for /home bigfatdud Linux - Newbie 8 10-27-2004 02:32 AM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 06:04 PM
Cant add MySQL through add/remove programs Hero Doug Fedora 6 01-03-2004 10:35 PM
Need to replace full harddrive with new, larger harddrive pearlr Linux - Newbie 1 01-02-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:35 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
Open Source Consulting | Domain Registration