I have an old PC with dual boot to Windows Vista (Windows fails to boot though because of an unrepaired avgidshx.sys issue, another story), and on this PC I attempted an upgrade from Ubuntu 13.10 to 14.04 using the Software Updater. But the upgrade process froze midway. I had to restart the PC, and an error screen then showed The disk drive for /tmp is not ready yet or not present
. Leaving it from here resulted in an unresponsive black screen, whereas SHIFT + m started a bash shell. From the bash shell:
$ ls -ld /tmp
showed these permissions:drwxrwxrwt
/tmp listed in a green colour (because of its executable perms?) and it contained some data.
I couldn't move or re-create /tmp and:
$ rm -rf /tmp Cannot remove '...': Read-only file system
I couldn't remount /tmp either:
$ mount -o remount,rw /tmp /tmp not mounted or bad option
I couldn't check for matching blkid's because
cat /etc/fstab
contained no UUIDS.I tried running
fsck /tmp
but that didn't work either (I don't remember the error message, but it might have recommended trying e2fsck)
My question to the community: is this PC beyond repair, or, how can it be salvaged?
I have a Boot Repair Disc obtained from http://sourceforge.net/p/boot-repair/home/Home/
which, when run, reports the problem is repaired & that I may reboot. But on rebooting I return to the /tmp is not ready yet
screen.
mv /tmp /tmp_bac
which failed. That's what I meant by saying I couldn't move or re-create /tmpwhoami
showed I was already running as root - didn't usesudo
– hal May 07 '14 at 13:51