User Tools

Site Tools


tutorials:ct1:installation:install_lubuntu_desktop_server_to_sd_card

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:ct1:installation:install_lubuntu_desktop_server_to_sd_card [2013/11/05 17:06]
119.132.97.248 update
tutorials:ct1:installation:install_lubuntu_desktop_server_to_sd_card [2014/04/02 20:05] (current)
benn [Partitioning]
Line 1: Line 1:
-====== ​CT Lubuntu Desktop/​Server SD Card Installation ======+====== Lubuntu Desktop/​Server SD Card Installation ​for Cubietruck ​======
  
 <WRAP noprint><​WRAP left box 60%> <WRAP noprint><​WRAP left box 60%>
Line 29: Line 29:
  
  
-==== Cleaning ====+==== Cleaning ​SD Card ====
   $card=/​dev/​sdd   $card=/​dev/​sdd
   $sudo dd if=/​dev/​zero of=${card} bs=1024 seek=544 count=128   $sudo dd if=/​dev/​zero of=${card} bs=1024 seek=544 count=128
Line 39: Line 39:
 ==== Partitioning ==== ==== Partitioning ====
  
-  $ sudo fdisk /dev/sdd+  $ sudo fdisk $card
   ​   ​
  
Line 71: Line 71:
  
  
-===== Customizing ====+===== Customizing ​( optional )====
  
 ==== Change your own kernel ==== ==== Change your own kernel ====
Line 90: Line 90:
   #(cd /tmp/1; tar --backup -c *) |tar -C /tmp/target -xv   #(cd /tmp/1; tar --backup -c *) |tar -C /tmp/target -xv
  
 +  * Changing Kernel Parameters
 +
 +  #mount /​dev/​mmcblk0p1 /mnt/
 +  #vi /​mnt/​uEnv.txt
 +  (Change root=/​dev/​sda1)
 +
 +So the file's content would like bellow ​
 +
 +  cat /​mnt/​uEnv.txt
 +  root=/​dev/​sda1
 +  extraargs=console=tty0 hdmi.audio=EDID:​0 disp.screen0_output_mode=EDID:​1280x720p50 rootwait panic=10 rootfstype=ext4 rootflags=discard
 +
 +  * Sync to disk, and reboot to your hard drive
 +
 +  #sync
 +  #umount /mnt
 +  #reboot
 +
 +After installing rootfs to SSD, we will get much more better experience. ​
 +
 +  * Performance (R:106MB/s, W: 148MB/s)
 +
 +  root@cubietruck:​~#​ cat /​sys/​block/​sda/​device/​model ​
 +  SAMSUNG SSD 830
 +
 +  root@cubietruck:​~#​ dd if=/​dev/​sda2 of=/​dev/​null bs=1M count=10000
 +  10000+0 records in
 +  10000+0 records out
 +  10485760000 bytes (10 GB) copied, 98.9637 s, 106 MB/s
 +
 +  root@cubietruck:​~#​ dd if=/​dev/​zero of=/​dev/​sdb2 bs=1M count=5000
 +  dd: writing `/​dev/​sdb2':​ No space left on device
 +  913+0 records in
 +  912+0 records out
 +  956919808 bytes (957 MB) copied, 6.45456 s, 148 MB/s
  
 ===== Tips ===== ===== Tips =====
Line 113: Line 148:
 ====Default User/​Password==== ====Default User/​Password====
   linaro/​linaro   linaro/​linaro
- 
- 
  
  
  
  
tutorials/ct1/installation/install_lubuntu_desktop_server_to_sd_card.1383642417.txt.gz · Last modified: 2013/12/23 14:50 (external edit)