Computing.Net > Forums > Linux > mounting second hard drive

mounting second hard drive

Reply to Message Icon

Original Message
Name: Tim
Date: October 30, 2002 at 21:25:17 Pacific
Subject: mounting second hard drive
OS: 7.1
CPU/Ram: amd 850
Comment:

How do i go about mounting a 2 hard drivewhat do i need to add to fstab? and does it need to be a linux file type i wount be able to use it for extra storage i have a small 3 computer network using win 98 and linux i have try but can not get it to work thanks Tim



Report Offensive Message For Removal


Response Number 1
Name: thomas
Date: October 31, 2002 at 00:49:52 Pacific
Reply: (edit)

important things to know:

/dev/hda = ide 1/master drive
/dev/hdb = ide 1/slave drive
/dev/hdc = ide 2/master drive
/dev/hdd = ide 2/slave drive

you usually can use a supported file system,if you ave compiled it into the kernel or as a kernel module: fat,fat32, ntfs,ext2,minixfs, ext3, reiserfs ... just to name some of them.

/etc/fstab is the conf-file which tells the aouto-mounter what to do.

In case of a new harddisk on the second ide-controller, we have to do (in the simplest case) a mkfs -ext2 /dev/hdc1 (after fdisk or so for creating a partition) to format the first partition on this disk.

then you edit fstab: add a line like the following:

/dev/hdc1 /home/yourdir ext2 defaults 0 2

/home/yourdir stands for any directory, in which you want to mount the device /dev/hdc1.

for use of linux as file server for win-clients, i suggest using samba, hm?

for questions, drop me a line.

thomas


Report Offensive Follow Up For Removal

Response Number 2
Name: Richard
Date: October 31, 2002 at 06:26:52 Pacific
Reply: (edit)

Just to add, it doesn't NEED to be a Linux filesystem, but if you are not dual booting it might as well be: There are big advantages in using a proper linux fs over a windows (or any other OS's) one.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: mounting second hard drive

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 1 Day.
Discuss in The Lounge