LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   adding a HD (https://www.linuxquestions.org/questions/linux-general-1/adding-a-hd-6448/)

vicente 09-11-2001 04:34 PM

adding a HD
 
how do i add a HD in linux i have mandrake 7.0 with a 20 Gbt HD and now i want to 6 Gbt scsi HD i have the crontroler card the HD and the cable after i put in the pc how do i install it ?

Steave 09-12-2001 06:48 AM

After you installed it in your PC, your linux should know the hd as /dev/sdx where x is something between [a..h] I guess it will be /dev/sda since it is your first SCSI-device.

check /proc/scsi/ for information on your SCSI-Devices.

Parition your HD using

# fdisk /dev/sda

format the disk.

# mkfs /dev/sda1

Try to mount the disk:

# mount /dev/sda /mnt -t ext2

If you want to automatically mount the new disk edit your /etc/fstab file:

add a line saying:

/dev/sda1 /my/mountpoint ext2 defaults 1 1

jharris 09-12-2001 09:40 AM

You'll also need to ensure that your Kernel supports the SCSI controller... if this isn't the case then you'll probably need recompile your kernel... If you not sure about how to do this have a read http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html and search the forum for other people experience, comments and questions.

HTH

Jamie...


All times are GMT -5. The time now is 09:21 AM.