LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-18-2004, 09:34 AM   #1
hetulk
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, 09:49 AM   #2
mwerle
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'...

Cheers,
Micha.

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 09:52 AM.
 
Old 02-18-2004, 09:56 AM   #3
hetulk
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!!

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

thanks again!
 
  


Reply



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

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

All times are GMT -5. The time now is 09:48 PM.

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