RootfsFromScratch
941
Comment:
|
1354
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
== Using the builder script == |
|
Line 14: | Line 16: |
== Building a qemu-only image == In case you want to just create an image for usage with qemu instead of building a rootfs tarball, the build-armel-rootfs script has the --notarball option, just call it like below and you will get a qemu image for usage with qemu-system-arm {{{ sudo ./build-arm-rootfs --fqdn qemu-test --login qemu --password qemupwd --notarball }}} |
This page describe the process to build a root filesystem for an armel target device from scratch.
Using the builder script
A script that automates this process was created by the ubuntu mobile team, it can be downloaded here
The following example will create a tarball of a xubuntu-desktop based image for your target device (i.e. a beagleboard):
sudo ./build-arm-rootfs --fqdn beagleboard --login ogra --password temppwd --imagesize 2G --seed xubuntu-desktop
The options --fqdn (or -f), --login (or -l) and --password (-p) are required for the initial setup. Calling the script with --help shows you all the additional options that can be used to change the setup of the created rootfs.
Recommendation: Don't pick a serious password if you plan to install this rootfs on other systems as well, rather pick something trivial and change your user password after the first login.
Building a qemu-only image
In case you want to just create an image for usage with qemu instead of building a rootfs tarball, the build-armel-rootfs script has the --notarball option, just call it like below and you will get a qemu image for usage with qemu-system-arm
sudo ./build-arm-rootfs --fqdn qemu-test --login qemu --password qemupwd --notarball
ARM/RootfsFromScratch (last edited 2011-01-11 20:51:24 by 63)