Wednesday, January 22, 2014

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

If you get the error "The disk drive for /tmp is not ready yet or not present" during boot process then run the following command in ubuntu:

sudo mv /tmp /tmp_old
sudo mkdir /tmp
sudo chmod -R 777 /tmp

Reboot your system and if you want you can delete the /tmp_old folder.


4 comments:

  1. After typing
    sudo mv /tmp /tmp_old
    I receive the message
    sudo:unable to open /var/lib/sudo/user/tty1: Read-only file system
    mv: cannot move '/tmp' to '/tmp_old': Read-only file system

    Any thoughts on what to do from here?

    ReplyDelete
    Replies
    1. Run the following command :
      $ mount -o remount /

      And then try to run move command

      Delete
    2. I received the message
      mount: cannot remount block device /dev/sda1 read-write, is write-protected

      Delete
  2. Ok. I am not sure about this prob but you can try thru recovery mode option during startup of ubuntu.
    From the recovery menu select the root option and then try to run the mount command. I think it should work.
    And from there only move the tmp folder and create a new one.

    ReplyDelete