Administering Filesystems  «Prev  Next»

Intall harddrive in Redhat

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