6/28/2009

Install ubuntu 9.04 on Asus eeepc 901

======Ubuntu netbook remix 9.04======
=====Install on netbook suing UNR=====
   - Download the desired .img file
   - Open a terminal and insert your flash media
   - Look at the output of dmesg | tail -20 to determine the device node assigned to your flash media (ignore the device number; e.g. /dev/sdb, not sdb1)
   - Run sudo umount /dev/device/node
   - Run sudo dd if=/path/to/downloaded.img of=/dev/device/node bs=1M
   - Remove your flash media when the command completes (you may need to wait a few extra seconds for it to finish).
   - Bootup netbook
   - Press F2 to go to bios and set using usb to as a first boot device
   - Normal install

=====Partition for install======
Partition
/ SSD 4G
/home SSD 16G

=====Post Installation=====
   - Update Kernel only (Orginal kernel has a problem on wifi)

====Fine tune====

===Fine tune SSD using different I/O scheduler====

An I/O scheduler decides which applications get to write to the disk. Because SSDs are so different than a spinning hard drive, not all I/O schedulers work well with SSDs.

The default I/O scheduler in Linux is cfq, completely fair queuing. cfq is works well on hard disks, but I’ve found it to cause problems on my Eee PC’s SSD. While writing a large file to disk, any other application which tries to write hang until the other write finishes.

The I/O scheduler can be changed on a per-drive basis without rebooting. Run this command to get the current scheduler for a disk and the alternative options:


cat /sys/block/sda/queue/scheduler

You’ll probably have four options, the one in brackets is currently being used by the disk specified in the previous command:

noop anticipatory deadline [cfq]


Two of these are better suited to SSD drives: noop and deadline. Using one of these in the same situation, the application will still hang but only for a few seconds instead of until the disk is free again. Not great, but much better than cfq.

  
   sudo vi /etc/rc.local

   for dev in sda sdb
   do
    echo deadline > "/sys/block/$dev/queue/scheduler"
    echo 1 > "/sys/block/$dev/queue/iosched/fifo_batch"
   done
  


Or


sudo vi /boot/grub/menu.lst
# kopt=root=UUID=6722605f-677c-4d22-b9ea-e1fb0c7470ee ro
to
# kopt=root=UUID=6722605f-677c-4d22-b9ea-e1fb0c7470ee ro elevator=deadline

sudo update-grub


====Fine tune SSD by using ramdisk====

Using a ramdisk instead of the SSD to store temporary files will speed things up, but will cost you a few megabytes of RAM.

Open your fstab file:

sudo vi /etc/fstab


Add this line to fstab to mount /tmp (temporary files) as tmpfs (temporary file system):


tmpfs    /tmp       tmpfs    noatime 0    0
tmpfs    /var/tmp   tmpfs    noatime    0    0


====Fine tune firefox====

Firefox puts its cache in your home partition. By moving this cache in RAM you can speed up Firefox and reduce disk writes. Complete the previous tweak to mount /tmp in RAM, and you can put the cache there as well.

Open about:config in Firefox. Right click in an open area and create a new string value called browser.cache.disk.parent_directory. Set the value to /tmp.

====Install eee-control====

reference: http://greg.geekmind.org/eee-control

   - sudo dpkg -i eee-control_0.9.3_all-jaunty.deb

====Install Skype====

   - Install qt4
   - sudo dkpg -i skype-debian_2.0.0.72-1.i386.deb

沒有留言: