Feb
25
2013
Add ArchLinux to your PXE server

a summary - without notes
assuming you are using a http server


cd /var/www/html/
 
mkdir -pv archlinux/x86_64/

cd archlinux/

wget -c http://ftp.otenet.gr/linux/archlinux/iso/latest/arch/aitab
wget -c http://ftp.otenet.gr/linux/archlinux/iso/latest/arch/checksum.x86_64.md5

cd x86_64/
 
wget -c http://ftp.otenet.gr/linux/archlinux/iso/latest/arch/boot/x86_64/vmlinuz
wget -c http://ftp.otenet.gr/linux/archlinux/iso/latest/arch/boot/x86_64/archiso.img
wget -c http://ftp.otenet.gr/linux/archlinux/iso/latest/arch/x86_64/root-image.fs.sfs

add these lines to your pxelinux.cfg/default file


LABEL ArchLinux x86_64
        MENU LABEL ArchLinux x86_64
        KERNEL http://10.10.10.1/archlinux/x86_64/vmlinuz
        INITRD http://10.10.10.1/archlinux/x86_64/archiso.img
        APPEND ip=dhcp archiso_http_srv=http://10.10.10.1 archisobasedir=archlinux/ checksum=y
Tag(s): archlinux, pxe
Feb
22
2013
ebalaskas: RT @dazo #RedHat’s #KVM…
Feb
13
2013
Kobo Glo - prons and cons

an ongoing list for prons & cons

people usually start with prons - but a con maybe a deal breaker.

Cons:

  • You HAVE to sign/create an account on Kobo site or login with your facebook account.
  • There is no file browsing - library of books is just a find on supported format files
  • Havent found a bookmark work around
  • good UX but needs work

Why the above are cons:

I dont have a FB account !
I dont want to “give” my email to kobo site.
If i dont to that - i cant use my hardware (this is wrong in so many ways).

I use my computer to create folders and organize my ebooks. I wanted shelves to be related to folders.
I have 100 books (at this moment) and i need to manually create kobo shelves or search to find an ebook that i have already organized it my folder.

bookmarks - i want to borrow my kobo to a friend to read a book (like i do in real life) when i am at work or on dentist.
He/she can read the book but will mess with my reading stats. I worked around this - using an annotation.
But it could be great to have bookmarks support.

Pros:

  • Fast rendering
  • github account: kobolabs
  • touch screen - only two buttons: backlit and sleep/power off/on
  • you can configure margins and line spacing
  • you can add your own fonts
  • pdf are readable !
  • Can follow url links on epub format (useful)
  • wifi - web browser
  • has a good concept of gamification with awards and facebook (not related with me - but i appreciate the effort)
  • chess/sudoko and sketch pad (extras)
  • you can add notes (annotations - work around for bookmarking)
  • dictionaries & translation dictionaries
  • you can add bookmarks by touching the right upper corner

Annotations are powerful with this kobo.

Tag(s): kobo glo
Feb
09
2013
Kobo Glo - Fonts

Starting a new category!

I’ve recently bought an ebook reader: Kobo Glo

Here are a picture:

koboglo.png

Project Fonts

I wanted to add some opensource fonts.

So i’ve gathered my ttf fonts to a folder and attached my Kobo Glo to my ArchLinux Box

Copied to Kobo Glo

koboglofonts.png

and after that reboot my ebook reader

kobogloliberationmono.jpg

Jan
31
2013
sparse a virtual machine disk

I’ve made a test to find the best “compressed” solution for thin provisioning on virtual machines.

f18.qcow2 is a default minimal Fedora 18 installation.


$ qemu-img info f18.qcow2
image: f18.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 1.1G
cluster_size: 65536

Below is the result, sorted by size


1170252 f18.qcow2
 746188 f18.qcow2.spars
 253552 f18.qcow2.spars.compressed
 236860 f18.qcow2.spars.compressed.lrz
 236076 f18.qcow2.spars.compressed.xz
 151028 f18.qcow2.xz
 146172 f18.qcow2.spars.xz
 141276 f18.qcow2.spars.lrz
 141048 f18.qcow2.lrz

It seems that Con Kolivas has made an extraordinary work with lrzip

And these are the commands i’ve run (sorted by the result of above output):

f18.qcow2 qemu-kvm f18.qcow2 -cdrom Fedora-18-x86_64-netinst.iso -cpu host -usbdevice tablet -m 2048
f18.qcow2.spars virt-sparsify f18.qcow2 f18.qcow2.spars
f18.qcow2.spars.compressed virt-sparsify - -compress f18.qcow2 f18.qcow2.spars.compressed
f18.qcow2.spars.compressed.lrz lrzip f18.qcow2.spars.compressed
f18.qcow2.spars.compressed.xz xz -k f18.qcow2.spars.compressed
f18.qcow2.xz xz -k f18.qcow2
f18.qcow2.spars.xz xz -k f18.qcow2.spars
f18.qcow2.spars.lrz lrzip f18.qcow2.spars
f18.qcow2.lrz lrzip f18.qcow2

My specs are:


$ grep 'model name' /proc/cpuinfo | head -1
model name : Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz

$ grep -c processor /proc/cpuinfo 
4

$ grep MemTotal /proc/meminfo 
MemTotal:        8038060 kB