[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding another hard drive to an existing system
Alright! First, do you want to set it up for Linux? I hope so...
Here's what you do:
1. Figure out what device it is... (it'll be in the form hdx, where x is
a letter between a and b--assuming it's an IDE drive). If it's primary
master, it'll be hda, primary slave hdb, sec mast hdc, etc...
2. Run fdisk. (As root) type 'fdisk hdx'--once again replacing x with
the appropriate letter.
3. Fdisk is pretty easy to follow. You'll just need to create a new
Linux native partition.
4. Now, format it. The command is: 'mkfs.ext2 /dev/hdx'
5. That's it! You need to edit your /etc/fstab and give it a mount
point (/opt is good, or maybe you want to make it something else... I
dunno). To make a mount point you need to create that directory in your
filesystem somewhere and then tell fstab that that device (/dev/hdx)
will be mounted at that mount point (/opt, for example). You can
basically just copy one of the lines in fstab and change a couple things
to make it mount this drive.
6. To test just try to mount it. For example, type 'mount /opt' It
should say nothing. If you get any kind of error message then it didn't
work. Either keep trying (check out /etc/fstab to make sure it's right)
or send the group the error message. Please be sure to send a copy of
your /etc/fstab if you have problems...
I know it sounds sort of complex but it's really just a progression of
logical steps... create partition, format, mount.
Good luck!
--
Wesley Leonard
marshall@pacdemon.org
http://www.pacdemon.org
"Death by misadventure"
--Official cause of death of former AC/DC lead singer Bon Scott
> John Van Horn wrote:
>
> Hi all,
> I need to add another hard drive to my existing system, I have it
> physicaly installed but how do I partition it and set it up to be used
> by the system, I checked the "How To index" but didnt find and
> destructions??? any suggestions?
>
> John
>