Fix : The disk drive for /tmp is not ready yet or not present

I newly installed Backbox (http://www.backbox.org/). It is a Linux distribution based on ubuntu. It has been developed for penetration tests and more. It has less number of tools so I can install only required tools. I am having good experience with Backbox but every time getting error message during booting that is “The disk drive for /tmp is not ready yet or not present”.
Reason for error is that files in /tmp folder may have been corrupted .
I searched some blog and came up with solution which worked for me.

Error Message : The disk drive for /tmp is not ready yet or not present

Solution :
Step 1: Move /tmp directory with all files to another directory (tmp_del)
#sudo mv /tmp /tmp_del
Step 2: Make new directory with name “tmp”
#sudo mkdir /tmp
Step 3: Give all the permissions (read, write and execute) to /tmp directory
#sudo chmod -R 777 /tmp
Step 4: Now old /tmp (means tmp_del) is not required, we can remove it
#sudo rm -Rf /tmp_del

    Step 5: Add /tmp to fstab file which is a system configuration file.
                        fstab is  file system table.Path for file is : /etc/fstab
                        Add following line to fstab file:
     tmpfs             /tmp               tmpfs       defaults          0         0

http://jit6ndrakumar.blogspot.hk/2014/09/fix-disk-drive-for-tmp-is-not-ready-yet.html

你可能感兴趣的:(linux,linux)