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

来源:互联网 发布:java api 中文 在线 编辑:程序博客网 时间:2024/06/05 17:28

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

0 0
原创粉丝点击