LinuxQuestions.org
Help answer threads with 0 replies.
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 05-31-2003, 04:23 PM   #1
Tenchi147
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 04:24 PM.
 
Old 05-31-2003, 05:01 PM   #2
mcleodnine
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.
 
  


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


All times are GMT -5. The time now is 08:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration