Category Archives: Linux

Ubuntu 10.04 (Lucid) issues with Postgres and boot

So annoying! I had boot errors like mount /dev/shm terminated with status 32 . I temporarily fixed it by creating the directory /dev/shm (mkdir /dev/shm) and rebooting, then logging into my normal ubuntu and editing /etc/fstab to remove a line … Continue reading

Posted in Linux, Postgres | Leave a comment

Postgres 8.4 on Ubuntu 10.04 Lucid not working

This has been a pain in the ass. After upgrading my system from Karmic to Lucid, postgres stopped working. Postgres server wouldn’t start. First I got a locale error, so I installed a UTF-8 US locale. Then Postgres wouldn’t start … Continue reading

Posted in Linux, Postgres | Leave a comment

How to copy or move Ubuntu and Windows dualboot to a bigger hard drive

Alright, this took me a while to figure out, but one source recommended using ddrescue. First get ddrescue on Ubuntu via : sudo apt-get install gddrescue Then, suppose you have two hard drives, one smaller one with Ubuntu and Windows … Continue reading

Posted in Linux | Leave a comment

Oh no, grub2 not working and stuck at grub rescue

I was messing around with partitions in Windows 7 and then restarted my computer, and a grub rescue command line showed up. I restarted my computer with an ubuntu live cd and loaded my ubuntu filesystem (just got to Places and … Continue reading

Posted in Linux | Leave a comment

Connecting to a VPS using an alias instead of IP address

I dislike wasting time looking up the IP for my VPS, so I found a way to quickly do it by editing the “/etc/hosts” file. add in an entry like: 123.45.678.9   myvps and you will be able to access … Continue reading

Posted in Linux | Leave a comment