Asus 702 Eee PC ubuntu

From wikidb
Jump to: navigation, search

Ubuntu 11.10

  • Name: Rock for Rocky Butte
  • Admin: eepp

Tips

  • Use Alt left click to move the screen around to expose the offscreen buttons.
  • Use Ctl Alt T to open a terminal
    • xterm is under dash home - System
  • Important At login time - select the gear and choose 2D - This will clear up display problems. Otherwixe on 12.04 mouse clicks won't work and it with eventually die with a Compiz closed unexpectedly.

Version

 eepp@Rock:~$ date
 Sun Jan 26 09:14:05 PST 2014
 
 eepp@Rock:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID:	Ubuntu
 Description:	Ubuntu 11.10
 Release:	11.10
 Codename:	oneiric
 
 eepp@Rock:~$ cat /proc/version
 Linux version 3.0.0-12-generic (buildd@vernadsky) (gcc version 4.6.1 
   (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011

Upgrade to 12.04 - precise

From the Ubuntu Dash menu I searched for Update.

 eepp@Rock:~$ date
 Sun Jan 26 14:27:18 PST 2014
 
 eepp@Rock:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID:	Ubuntu
 Description:	Ubuntu 12.04.4 LTS
 Release:	12.04
 Codename:	precise
 
 eepp@Rock:~$ cat /proc/version
 Linux version 3.2.0-58-generic (buildd@akateko) (gcc version 4.6.3 
   (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013

Install from Scratch

Mount /usr

The 702 has only 8GM of SSD. As shown above the ROS Installation Hydro, 3.8G is used in /usr. The result is 86% disk usage. Here, /usr in moved to an SD card and mounted at boot. Warning - mistakes can result in an un-bootable system.

Don't start the display manager (dm) at the login window . Instead <CTL> <ALT> <F1> to initiate a terminal. As a result, there will be a less likelyhood of any dependencies on /usr.

sudo is in /usr/bin. We can't use it when we break ties to /usr. We must log into root to do this setup.

   sudo passwd root
   su -
 

See Linux Maintenance for SD card preparation. (-a is -dpR)

   cp -a /usr/* /media/2ff2af82-3efd-4ce8-a768-a7055c5035a7
 
   cp fstab fstab.org
   cp fstab fstab.new
   nano fstab.new

Add to the end fstab.new

  /dev/sdb1    /usr    ext4      defaults   0         1
 cp fstab.new fstab 
 mv /usr /usrorg

Could do a umount /media/2f..., then mount /dev/sdb1 on /usr just for safety before reboot.

   reboot

Got some errors during reboot. Check the mounts.

  df
  Filesystem     1K-blocks    Used Available Use% Mounted on
   /dev/sda1        6537352 2574324   3607908  42% /
   udev              499508       4    499504   1% /dev
   tmpfs             203328     876    202452   1% /run
   none                5120       0      5120   0% /run/lock
   none              508316     200    508116   1% /run/shm
   /dev/sdb1       15073280 1853092  13203804  13% /usr

All is good. Now I feel safe to remove the original /usr

   rm -rf /usrorg
 
   df
   Filesystem     1K-blocks    Used Available Use% Mounted on
   /dev/sda1        6537352  673724   5508508  11% /
   udev              499508       4    499504   1% /dev
   tmpfs             203328     876    202452   1% /run
   none                5120       0      5120   0% /run/lock
   none              508316     200    508116   1% /run/shm
   /dev/sdb1       15073280 1853092  13203804  13% /usr

My 8G SSD now has some breating room.

gnome

 sudo apt-get install gnome
 df
 Filesystem     1K-blocks    Used Available Use% Mounted on
 /dev/sda1        6537352  910736   5271496  15% /
 udev              499508       4    499504   1% /dev
 tmpfs             203328     888    202440   1% /run
 none                5120       0      5120   0% /run/lock
 none              508316     156    508160   1% /run/shm
 /dev/sdb1       15073280 2468924  12587972  17% /usr

Display Manager DM

gnome display manager

 sudo dpkg-reconfigure gdm

Also of interest before window start up

 <ctl><alt> F1
 sudo stop lightdm
 sudo start gdm


See

Window Manager

From the login dm select gnome classic without effects or Ubuntu 2D. Other choices are not compatible with the HW graphics and will result in program faults.

Links