Adding Swap Memory to Linux

You can add swap memory if you don’t have swap partition, especially low on physical memory. sudo dd if=/dev/zero of=/var/swapfile bs=1M count=2048 && sudo chmod 600 /var/swapfile && sudo mkswap /var/swapfile && echo /var/swapfile none swap defaults 0 0 | sudo tee -a /etc/fstab && sudo swapon -a

Getting UUID of your disk

For ubuntu or debian sudo vol_id /dev/hda1 For generic GNU Linux ls -l /dev/disk/by-uuid The easiest I’ve done is blkid

r8102e in Ubuntu Linux

I’ve been installing 64 bit Intrepid Ibex on a desktop. The NIC detected but it was detected as r8169 instead of r8102e. It’s working but not stable, hiccup along the way. Been trying to find about it, I found out that it was purely luck that r8102E detected as r8169 and working. Then I get [...]