Disk gruntling#
Mon, 16 Jun 2008 12:41:48 +0000
A moment's panic this morning when I sshed into my media box (my old laptop, plugged into stereo and TV) to find that it seemed to be in the middle of deleting all its files
dan@buggles:~$ firefox
X11 connection rejected because of wrong authentication.
dan@buggles:~$ ls -l .Xauthority
-rw------- 1 dan dan 106 2008-06-02 15:47 .Xauthority
dan@buggles:~$ rm .Xauthority
Bus error (core dumped)
dan@buggles:~$ dmesg
/usr/bin/python: can't open file '/usr/lib/command-not-found': [Errno 2] No such file or directory
dan@buggles:~$ cat /proc/kmsg
-bash: /bin/cat: No such file or directory
dan@buggles:~$ cd /
dan@buggles:/$ ls
-bash: /bin/ls: No such file or directory
dan@buggles:/$ echo *
big bin boot cdrom dev etc home initrd initrd.img lib lost+found media mnt opt proc root sbin srv sys tmp usr var vmlinuz
dan@buggles:/$ cd bin
dan@buggles:/bin$ echo *
*
Bruising is calming down again - still looking a bit mustard-coloured but not nearly as garish as it was. Pain-free ROM is I think improving (I'm spending a lot of time with hot packs pressed to my neck), but I haven't really been taking notes.