Intall harddrive in Redhat
- Physically install your hard drive.
- Prepare the drive according to the manufacturer's guidelines.
- Create the hard drive's partition table using the
fdisk
or cfdisk programs
.
- Initialize the new ext2 partitions with the
mke2fs
command.
- Initialize the new
swap
partitions with the mkswap
command.
- Edit
/etc/fstab
, adding new entries for the partitions.
- Make the directories for each of the mount points you specified in
/etc/fstab
.
- To gain immediate access to your new filesystems, mount them with the
mount
command.
- Enable the new
swap
partitions using swapon -a
.