Author – A.Kishore/Sachin http://appsdba.info This document describe the steps to add new hard drive to linux machine in Vmware environment How to add a new hard drive to VMWARE Navigation: VM -> Settings Click on Add button. 1 Author – A.Kishore/Sachin http://appsdba.info Select Hard Disk & Click on Next. Select “Create New Virtual disk” & Click Next. 2 Author – A.Kishore/Sachin http://appsdba.info Select “SCSI” disk type & Click Next. Select Disk size as per the requirement (Lets take 10 GB) and click next. 3 Author – A.Kishore/Sachin http://appsdba.info Specify a disk file and click finish. Now the hard disk is added in Vmware as shown in below screenshot and click on OK . 4 Author – A.Kishore/Sachin http://appsdba.info Now power on the Vmware Machine. Enter Username and Password. 5 Author – A.Kishore/Sachin http://appsdba.info Linux Screen appears like the below screenshot. Add the new hard drive to Linux Machine. We can check the existing hard drives in Linux Machine by issuing the following command. We can check the existing mount points by issuing the following command. 6 Author – A.Kishore/Sachin http://appsdba.info Now check the partition information by issuing the below command. # fdisk -l Here /dev/sdb drive is the new drive, and this is the drive that we have added in Vmware earlier in previous steps. Issue the below command to create partition. 7 Author – A.Kishore/Sachin http://appsdba.info Enter ‘n’ to create new partition. Please Note : We have entered ‘p’ for Primary Partition and accepted the default vaules. Enter ‘w’ to create the partition table. Now issue the following command to make the file system (ext3). # mkfs.ext3 /dev/sdb1 8 Author – A.Kishore/Sachin http://appsdba.info Issue the following command to check for the partition, just created. # fdisk -l Now mount the newly created partition, for this we have to create a directory (/d02) and mount -t ext3 /dev/sdb1 /root/d02,as shown below We can also check now the existing mount points. Now we have created the mount point for the newly added hard drive. Now it is ready to use in Linux. 9 Author – A.Kishore/Sachin http://appsdba.info If we want to make the mount point permanently, then we need to do the following, # vi /etc/fstab Following screen will appear .We need to edit the fstab file as follows: /dev/sdb1 /root/d02 ext3 defaults 00 and Save the file. 10
© Copyright 2026 Paperzz