LinuxQuestions.org
Help answer threads with 0 replies.
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 07-06-2004, 09:02 AM   #1
2782d4
Member
 
Registered: Feb 2004
Location: Nashville Tn
Distribution: adsf
Posts: 34

Rep: Reputation: 15
New HD and lost


I just added a new hd to my linux box....

I just fdisked the drive...

this is what fdisk says

Device Boot Start End Blocks Id System
/dev/hdc4 1 1246 10008463+ 83 Linux

Command (m for help):


now what do I need 2 do to be able to mount this drive



:-)

format?
 
Old 07-06-2004, 09:12 AM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Indeed you need to install a filesystem on it.
use mkfs
You should do something along the lines of
Code:
mkfs -t ext3 /dev/hdc
And then add the new partition to /etc/fstab.
 
Old 07-06-2004, 09:27 AM   #3
2782d4
Member
 
Registered: Feb 2004
Location: Nashville Tn
Distribution: adsf
Posts: 34

Original Poster
Rep: Reputation: 15
did all but add 2

I did all that but add it to the file in etc what would i say in the file " "
 
Old 07-06-2004, 09:34 AM   #4
nalg0rath
Member
 
Registered: Feb 2004
Location: Stockholm, Sweden.
Distribution: Gentoo Linux
Posts: 30

Rep: Reputation: 15
The things you should add is:
filesystem mount-point fs-type options dump fsck-order
For example:
Code:
/dev/hdc     /home          ext3      defaults    1       1
 
Old 07-06-2004, 09:39 AM   #5
2782d4
Member
 
Registered: Feb 2004
Location: Nashville Tn
Distribution: adsf
Posts: 34

Original Poster
Rep: Reputation: 15
df command

When I type in df command I'm still getting the old drive is this right???


[root@adsl-067-033-041-012 root]# df /dev/hdc
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc 7503116 6856112 265864 97%
[root@adsl-067-033-041-012 root]#
 
  


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
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 01:38 AM
Lost mouse after reboot+lost modem BACTRATE Mandriva 3 04-07-2005 06:45 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 09:01 AM
Lost klfreese Linux - Newbie 13 07-02-2004 10:27 PM
C++ templates + linked lists... lost.. very lost.. exodist Programming 2 05-12-2004 11:04 PM

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

All times are GMT -5. The time now is 05:00 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