We're no longer updating This wiki!!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:xu4_upgrade_from_3.10_to_4.9 [2017/06/07 00:21]
mdrjr
en:xu4_upgrade_from_3.10_to_4.9 [2017/07/14 12:57] (current)
neal
Line 1: Line 1:
 === Quick Guide to update 3.10 to 4.9 Kernel === === Quick Guide to update 3.10 to 4.9 Kernel ===
 <WRAP center round important>​ <WRAP center round important>​
-After you perform those steps is very unlikely that you will be able to roll back +After you perform those steps is very unlikely that you will be able to roll back.\\ 
-Its advised to test 4.9 kernel on a separated microsd/​eMMC before upgrading.</​WRAP>​+It'​s ​advised to test 4.9 kernel on a separated microsd/​eMMC before upgrading.</​WRAP>​
  
-<WRAP center round important>​Make sure you have a backup of your data</​WRAP>​+<WRAP center round important>​Make sure you have a backup of your data. \\ 
 +Update process might corrupt your file system even the possibility is quite low.</​WRAP>​
  
   - Gain root access, everything from now on requires root access: <​code>​sudo -s</​code>​   - Gain root access, everything from now on requires root access: <​code>​sudo -s</​code>​
-  - Make sure your system is up-to-date: <​code>​apt-get update && apt-fast dist-upgrade</​code>​ +  - Make sure your system is up-to-date: <​code>​apt update && apt upgrade && apt dist-upgrade</​code>​ 
-  - Modifying the repo: <​code>​sed -i s/"​5422"/"​5422-s"/​g /​etc/​apt/​sources.list.d/​odroid.list</​code>​ +  - Modifying the repo: <​code>​if [ -z "​$(grep "​5422-s"​ /​etc/​apt/​sources.list.d/​odroid.list)"​ ]; then sed -i s/"​5422"/"​5422-s"/​g /​etc/​apt/​sources.list.d/​odroid.list; fi</​code>​ 
-  - Update your package information:​ <​code>​apt-get update</​code>​ +  - Update your package information:​ <​code>​apt update ​&& apt upgrade && apt dist-upgrade</​code>​ 
-  - Update your kernel: <​code>​apt-get download linux-image-4.9.30-41</​code><​code>​dpkg -i --force-all linux-image-4.9.30-41_20170531_armhf.deb</​code>​ +  - Update your kernel: <​code>​apt download linux-image-4.9.30-41</​code><​code>​dpkg -i --force-all linux-image-4.9.30-41_20170531_armhf.deb</​code>​ 
-  - Update your system again. New packages that matches kernel 4.9 configuration will be replaced/​installed. \\ This includes a new boot.ini that _MUST BE_ installed: <​code>​apt-get dist-upgrade</​code>​ +  - Update your system again. New packages that matches kernel 4.9 configuration will be replaced/​installed. \\ This includes a new boot.ini that _MUST BE_ installed: <​code>​apt dist-upgrade</​code>​ 
-  - Install ​a new kernel: <​code>​apt-get install linux-image-xu3=41-1</​code>​ +  - Install ​the latest Kernel package from our server. http://​deb.odroid.in/​5422-s/​pool/​main/​l/​linux-image-xu3/​ \\ <color #​ed1c24>​XX-Y</​color>​ is the version number of the kernel package.<​code>​apt install linux-image-xu3=XX-Y</​code> ​{{:​en:​download_ker2.png?​nolink|}} 
-  - Sync and reboot: <​code>​sync && ​reboot</​code>​+  - Sync and turn off: <​code>​sync && ​poweroff</​code>​ 
 +  - Turn your board on again and enjoy.
en/xu4_upgrade_from_3.10_to_4.9.1496764292.txt.gz · Last modified: 2017/06/07 00:21 by mdrjr
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0