My Profile

Keep Up to Date:
Blog RSS
Blog
Forum RSS
Forum
Post New Topic Post Reply
Posted 2 Weeks, 1 Day ago
124C41
Senior Boarder
Posts: 64
graphgraph
User Offline
 
Hello,

A simple question: I need to add a second hard drive to my linux box and i can't find out how to mount it and format as ext3fs.

Do i mount first ( as raw ? ) and then format? How do i format the disk?

Thank you,
The administrator has disabled public write access.
Posted 2 Weeks, 1 Day ago
johngnova
Senior Boarder
Posts: 70
graphgraph
User Offline
 
First you partition it using fdisk, then format it with mke2fs (for EXT3 use the -j switch on mke2fs), then you can add it to your /etc/fstab and mount it.

If you want a nice graphical interface you can use Webmin's partition manager and disk and network file systems modules. You can get Webmin from
http://www.webmin.com

Webmin's partition manager is under hardware/partition manager

The file system module is System/Disk and Network Filesystems
The administrator has disabled public write access.
Posted 2 Weeks, 1 Day ago
arly2380
Senior Boarder
Posts: 69
graphgraph
User Offline
 
Its a good idea to use Wbmin - i actually already use it for different purposes. How does Linux see second hard drive? /dev/hdb?

'B. Joshua Rosen' < This e-mail address is being protected from spam bots, you need JavaScript enabled to view it > wrote in message
The administrator has disabled public write access.
Posted 2 Weeks, 1 Day ago
Steven_Osteon
Senior Boarder
Posts: 62
graphgraph
User Offline
 
I think the drives are assigned device numbers based on the order in which the BIOS finds them which is dependent on the IDE bus, which PCI slot and which PCI bus the controller is plugged into and the master/slave status of the drive. If you only have the two onboard IDE buses then your drives will be /dev/hda and /dev/hdb on IDE0 and /dev/hdc and /dev/hdd on IDE1. An easy way to find the drive names is to use hdparm. Just do an hdparm /dev/hdb, hdparm /dev/hdc ... until you find the drive number.
The administrator has disabled public write access.
Posted 2 Weeks, 1 Day ago
johngnova
Senior Boarder
Posts: 70
graphgraph
User Offline
 
Look into /proc/ide/
The administrator has disabled public write access.
 
Copyright © 2006 - Dec 2008 My Linux Gang