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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mounting second hard drive

Reply to Message Icon

Name: Tim
Date: October 30, 2002 at 21:25:17 Pacific
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




Sponsored Link
Ads by Google

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

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


0

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

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: mounting second hard drive

Installing second hard drive - lfs www.computing.net/answers/linux/installing-second-hard-drive-lfs/19148.html

Installing Linux on Second Hard drive www.computing.net/answers/linux/installing-linux-on-second-hard-drive/1191.html

Mounting Second Hard Drive Help www.computing.net/answers/linux/mounting-second-hard-drive-help/15694.html