[[advanced:target]]

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
advanced:target [2018/10/06 12:03] – [Rebuild the kernel] danadvanced:target [2018/10/06 12:20] dan
Line 6: Line 6:
  
 Unfortunately, the Ubuntu 18.04 image uses a 32-bit kernel, and the available ZFS packages aren't compatible with a 32-bit kernel.  This means I'll need to compile the ZFS pieces myself, and they're not known to be stable with a 32-bit kernel in any event.  Updates to come. Unfortunately, the Ubuntu 18.04 image uses a 32-bit kernel, and the available ZFS packages aren't compatible with a 32-bit kernel.  This means I'll need to compile the ZFS pieces myself, and they're not known to be stable with a 32-bit kernel in any event.  Updates to come.
 +===== Create a non-privileged user with sudo capability ===== 
 +<code> 
 +adduser fred 
 +usermod -aG sudo fred 
 +</code>
 ===== Rebuild the kernel ===== ===== Rebuild the kernel =====
 In order to build ZFS, you must have the headers for the running kernel installed on the system.  Since there does not appear to be a linux-headers package available matching the kernel version installed on the Odroid, this means you'll need to rebuild the kernel.  To do this, run the following commands (taken from the [[https://wiki.odroid.com/odroid-xu4/software/building_kernel#y|Hardkernel wiki]]): In order to build ZFS, you must have the headers for the running kernel installed on the system.  Since there does not appear to be a linux-headers package available matching the kernel version installed on the Odroid, this means you'll need to rebuild the kernel.  To do this, run the following commands (taken from the [[https://wiki.odroid.com/odroid-xu4/software/building_kernel#y|Hardkernel wiki]]):
 <code> <code>
 sudo apt update && sudo apt upgrade && apt dist-upgrade && apt autoremove sudo apt update && sudo apt upgrade && apt dist-upgrade && apt autoremove
-sudo apt install git gcc g++ build-essential bc+sudo apt install git gcc g++ build-essential bc libssl-dev
 git clone --depth 1 https://github.com/hardkernel/linux -b odroidxu4-4.14.y git clone --depth 1 https://github.com/hardkernel/linux -b odroidxu4-4.14.y
 cd linux cd linux
  • advanced/target.txt
  • Last modified: 2018/10/10 00:02
  • by dan