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 05-31-2003, 05:23 PM   #1
LQ Newbie
Registered: May 2003
Location: Horsham, PA, USA
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Formating secound hard drive

I have a 2nd hard drive in my computer and I want to know how I could format it in linux. When I was installing Slackware I had red hat installed and it wouldn't format it because it said red hat was useing it. I now have Slackware installed and when I got to system monitor in gnome and check devices /dev/hda2 only shows up. How would I format hdb and put my /home directory on it?

Last edited by Tenchi147; 05-31-2003 at 05:24 PM.
Old 05-31-2003, 06:01 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
run fdisk -l to see if the drive is actaully there.
run mount to see your current mounted partitions
create partitions on your new drive with fdisk or cfdisk
create a filesystem on the new partitions with mke2fs, mke3fs, or mkreiserfs
mount the new partition temporarily to /mnt
copy the stuff in /home to the /mnt
check the /mnt point to make sure the data copied properly
unmount the device from /mnt
mount it as /home.

If you want specific help you will need to post the output from fdisk -l and mount so that we don't overwrite critical data by giving you incorrect information.


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
Formating a new external hard drive SpartacusJones Linux - Hardware 1 01-02-2005 06:28 AM
formating hard drive icanspellnew Linux - General 9 11-13-2004 04:56 PM
Formating hard drive? jnassiri Linux - Newbie 5 08-04-2004 01:11 AM
formating / partitioning a new hard drive true_atlantis Linux - Hardware 15 12-07-2003 07:09 PM
Formating Hard Drive Zakane Linux - Newbie 20 08-25-2003 01:13 PM > Forums > Linux Forums > Linux - Hardware

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

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
Open Source Consulting | Domain Registration