Friday, November 30, 2012

Kaos Linux

Rencana mau buat kaos Linux, pakai desain yang simpel biar harganya ga mahal. Desain dari bang Jung Seon Cup. Rencananya mau pesan ke In teeshirt, harga Rp. 82.000,00 ukuran logo A3.


Kernel 3.6.8

Belum lama sudah muncul lagi kernel 3.6.8 yang bisa anda download di www.kernel.org. Perbaikan yang ada diantaranya adalah :
  1. ALSA: usb-audio: Fix crash at re-preparing the PCM stream
  2. ALSA: hda - Fix invalid connections in VT1802 codec
  3. ALSA: hda - Fix empty DAC filling in patch_via.c
  4. ALSA: HDA: Fix digital microphone on CS420x
  5. tcp: fix retransmission
Untuk saya, sekiranya belum ada yang perlu untuk update ke versi ini. Saya masih pengguna 3.6.6, kemarin mau update 3.6.7 malah langsung muncul 3.6.8, kayaknya lebih baik menunggu yang 3.7 di release secara resmi :)

Install Hackintosh di ACER 4540

Beberapa hari yang lalu melihat temen yang mau install Hackintosh di komputer miliknya membuat saya kepengen punya hackintosh juga di komputer saya. Hackintosh adalah oprekan Macintosh yang bisa berjalan di platform PC (Intel atau AMD). Mungkin sebelumnya pernah dijelaskan oleh Ucup di post ini http://www.f-comp.com/2012/10/install-os-x-di-pc.html

Saya pun akhirnya diajari oleh Ucup untuk menginstall hackintosh di komputer saya. Komputer saya ACER 4540 dengan spesifikasi 

  • AMD Turion X2
  • ATI HD 4200
  • RAM 3GB
  • HDD 320 GB 
Laptop yang sudah kuno sebenarnya, dan hanya bisa support Mac OS 10.6 atau Snow Leopard. Hasilnya lumayan menggembirakan, namun ada 1 yang belum tuntas solusinya, yaitu masalah VGA. Berikut ini adalah device yang langsung bekerja dengan driver bawaan Hackintosh 
  1. Sound
  2. WiFi (Atheros)
  3. Bluetooth
  4. Touchpad
  5. WebCam
Ga apa apa lah, namanya juga untuk coba - coba. Hasil yang cukup memuaskan, namun masih kurang puas karena VGA nya belum bener sepenuhnya, masih Low Res (1024x768). Tidak enak sekali dipandang mata, standar resolusi komputer saya 1366x768. Masih melakukan banyak percobaan untuk mengubah resolusi menjadi Full Res.





Thursday, November 15, 2012

Chroot : Exec Format Error

Jam 2 malam kaya gini mau buka komputer ternyata burgnya error. Lupa tadi kuapain, karena LiveUSB keformat, jadinya bongkar tempat CD. Asal ngambil CD linux buat restore BURG biar bisa masuk ke Mint lagi.

Setelah masuk dan booting yg lama banget dan berisik suara CD. Waktunya merestore BURG! Setelah selesai mounting, pas mau jalaning perintah chroot ternyata error.

Errornya :
CHROOT : Exec Format Error

Hal ini disebabkan karena perbedaan system arsitektur komputer saya dengan master linux yang saya masukkan tadi. Komputer saya terinstall dengan Linux Mint 64 bit, sehingga jika ingin restore, harus menggunakan arsitektur yang sama.

SOLUSI?
Coba booting dengan master linux yang sesuai dengan linux yang terinstall di komputer anda. Lebih baik menggunakan master yang sama seperti linux yang terinstall.

Tuesday, November 13, 2012

Percepat Kompilasi Kernel

Terkadang kita males melakukan kompilasi kernel sendiri yang sudah kita download dari www.kernel.org. Malesnya begini, source code kernel yang kita download sudah besar (~70MB) ditambah lagi dengan penderitaan menunggu kompilasi kernel selesai (~ 1 jam). Hal tersebut sangat membosankan. Namun nilai positifnya adalah, kita bisa mengkonfigurasi manual sesuai dengan komputer yang kita gunakan. Setiap saya melakukan kompilasi kernel, saya selalu menambahkan parameter -j . Parameter ini berfungsi untuk melakukan beberapa tugas (job) sekaligus dalam 1 waktu. Sehingga proses kompilasi dapat berlangsung lebih cepat. Bisa anda lihat sendiri dalam manual dari make. 
-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the last one is effective. If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.
Untuk penggunaanya, anda bisa menambahkanya setiap anda melakukan perintah make. Seperti contoh make -j2. Berarti program akan melakukan 2 thread sekaligus untuk melakukan kompilasi terhadap kernel.

Untuk Diingat! 
Sebaiknya anda menyesuaikan jumlah job dengan jumlah core pada prosesor komputer anda. Jika anda mempunyai 2 core pada prosesor, silahkan set menjadi j2. Jika 4 core, maka j4. Hal ini sudah cukup membebani prosesor anda, dapat dilihat dari CPU Usage yang tinggi.

Monday, November 12, 2012

Bahasa Indonesia

After this post, I will use Bahasa Indonesia as primary language for this blog. I will use Indonesian formal language for you, so you can translate the language into others language perfectly. Why ? Because if I write some tutorials in English, I can't explain the steps more clearly because English is not my primary language. 

Sorry. 

Friday, November 9, 2012

Fix Internal Error -- Ubuntu Software Center

Last night my friend told me that the Ubuntu software center on his computer can't download a Chrome browser. It said that "Internal Error and chrome couldn't installed". I think that error because of the dependencies. The dependencies seems to be error because of the last installation is not complete. So I did below command and it will repaired the system dependencies.
 sudo apt-get install -f  


Wednesday, November 7, 2012

How to Compile Kernel ?

How to compile kernel ? Change the kernel is the one that not important for you if you have stable kernel with your hardware. Because upgrading a kernel may harm your hardware if you don't know how to configure the kernel configuration. You can see any update of available kernel from www.kernel.org. Every time Linus Torvalds release the kernel source code, you can download from there. The question is, how to compile the kernel and install to my computer ?
  1. First you must download the kernel source code from www.kernel.org
  2. After downloaded, extract with your favorite package manager, or you can do that from terminal and type this command tar -xjvf linux-x.y.z.tar.bz2 -C /usr/src
  3. The source code will be unpack to folder /usr/src
  4. Go to the directory by typing cd /usr/src
  5. Type make menuconfig to configure the kernel before you compile it. 
  6. BE CAREFUL ! There are plenty of configuration that if you didn't careful, the kernel may not work perfectly on your computer. If you don't know how to configure, just leave it default.
  7. To compile, type sudo make. It will took a long time to compile the kernel, about 50 - 60 minutes. 
  8. After finished, type sudo make modules_install install. The command will install the driver for your hardware and after it finished, the kernel will be updated into your system. 
  9. After that, reboot the computer, and the kernel should be in the GRUB list. If didn't, boot with old kernel, go to terminal and type update-grub (GRUB user) [OPTIONAL]
  10. Simple enough to do this, the bad things is that you must wait for a while to compile the kernel. If you have any question, please post here. 
Correct Me If I Wrong :)

Tuesday, November 6, 2012

NUTZ! 5.0 -- Quantal Release Party Yogyakarta

This year, my campus organized an events to celebrate the Ubuntu 12.10 release. The events called NUTZ, after NUTZ 4.0 that celebrated the release of Ubuntu 11.10, so this year we call it NUTZ 5.0. We're going to talk about Cloud Computing in this event,  so we edited the Ubuntu's slogan "Ubuntu for Human Being" to "Cloud for Human Being". Why ? Because in this new release of Ubuntu, Canonical make some features to support cloud computing. Just like an integrated Amazon.com inside the Unity menu. We work together with Mr. Dani Adhipta as Lecturer from Gajah Mada University, Biz Network, and Ubuntu Jogja Community as the talker of this event. Thanks to BizNet and Toko Baliwae. More information ? Check the poster below :D



You're in Jogja or near Jogja ? Please come and join us ! Celebrate the Release Party !

Monday, November 5, 2012

Kernel 3.6.6 -- Not working well

After upgrading to kernel 3.6.6 from www.kernel.org. It seems not compatible with my computer hardware. My touchpad isn't working, but on 3.6.5 it works well. I don't know why, I'm back to 3.6.5 for a while.

Saturday, November 3, 2012

Expanding my Linux's Partition

My Linux partition was so small (40GB) and I need to resize it and delete my Windows's partition. So I must backup my Linux partition and restore to the big one. I use dd to do this, very simple software.
Backup : dd if=/dev/sdax of=file.img 
Restore : dd if=file.img of=/dev/sdax 
Restore with proggress bar :dd if=FILE.IMG | pv -s $(stat file.img | egrep -o "Size : [[:digit::]]*" | egrep -o "[[:digit:]]*") | dd of=/dev/sdax




After waiting restoration progress, finally I got 92.7 GB for my Linux space ! Woohoo !


Share