Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 02-18-2004, 10:34 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
How to format my new HDD under linux

I am new to liunx and have a question...

My computer has two had disks installed. I see the detection process detect both drives. However, only hda is available. I am unable to find a way to mount or use hdb. Since hdb is also a brand new drive it will require formatting and I am unable to find a format utility to do it with in the os (Debian). I need to be able to have the second drive partitioned, formatted, and recognized on the desktop so it can me used as a server storage drive. Any help you can provide would be greatly appreciaed.

Thank you,
Old 02-18-2004, 10:49 AM   #2
LQ Newbie
Registered: Feb 2004
Location: London,UK
Distribution: Debian
Posts: 2

Rep: Reputation: 0
* Use fdisk or cfdisk to partition your harddrive. (eg, cfdisk /dev/hdb)
* Use mkfs.* where * is ext2, ext3, reiserfs, or whatever filesystem you want to use for each partition. (eg, mkfs.ext3 /dev/hdb1)
* Make mountpoints for your new partitions. (eg, mkdir /mnt/hdb1)
* Add entries into /etc/fstab for your new partitions and where you want to mount them.
* Mount them. (eg mount /mnt/hdb1)

Not sure what you mean by 'recognised on the desktop'...


PS this inormation is easily available; in general, google for it first and/or check out the relevant HOWTO's before asking.

Last edited by mwerle; 02-18-2004 at 10:52 AM.
Old 02-18-2004, 10:56 AM   #3
LQ Newbie
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0

That was way too fast... didnt expect the reply this fast

thanks again!


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
USB HDD Format to use with M$ and Linux smurff Linux - General 3 09-17-2005 03:19 PM
Format 250gig HDD in Linux AndrewZorn Linux - General 13 04-04-2005 03:48 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 02:50 PM
I need to format a linux hdd, so I can install Xp for my parents... snakesk8s Linux - Newbie 1 08-03-2003 01:29 AM
how do you format a linux hdd? magic Linux - Newbie 4 06-06-2002 09:48 AM > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration