Difference between revisions of "Pidora 2014 compose"

From CDOT Wiki
Jump to: navigation, search
(Created page with '{{Pidora}}Category:Pidora 18 (Raspberry Pi Fedora Remix)Category:PidoraCategory:Raspberry Pi {{Admon/important| Warning! | This page is a work in progress and is no…')
 
Line 21: Line 21:
 
* kernel: /directory_to_extracted_files/boot/vmlinuz-3.11.10-301.fc20.armv7hl
 
* kernel: /directory_to_extracted_files/boot/vmlinuz-3.11.10-301.fc20.armv7hl
 
* Initrd: /directory_to_extracted_files/boot/uInitrd-3.11.10-301.fc20.armv7hl
 
* Initrd: /directory_to_extracted_files/boot/uInitrd-3.11.10-301.fc20.armv7hl
 
 
 
* DTB: /directory_to_extracted_files/boot/dtb-3.11.10-301.fc20.armv7hl/vexpress-v2p-ca15-tc1.dtb
 
* DTB: /directory_to_extracted_files/boot/dtb-3.11.10-301.fc20.armv7hl/vexpress-v2p-ca15-tc1.dtb
 
 
* Kernel args: console=ttyAMA0 rw root=/dev/vda3 rootwait
 
* Kernel args: console=ttyAMA0 rw root=/dev/vda3 rootwait
 
* ram should be at least than 1.2GB(I tested with 2GB)
 
* ram should be at least than 1.2GB(I tested with 2GB)

Revision as of 13:28, 9 June 2014

Pidora-horizontal.png


Important.png
Warning!
This page is a work in progress and is not yet finished. There may also be better ways of doing this, I may mention that along the way, though I have not had time to try all things.

Pidora Compose on x86_64

Notes

  • Create a fedora arm virtual machine
  • Create a custom pidora image based on the pidora 2014 build packages
  • Custom kickstart file
  • Requires old packages of anaconda(anaconda-17.29-1.fc17) and lorax(lorax-17.17-1.fc17)
  • Let us know if you get this working with newest packages ^

Process

  1. Install a virtual machine setup on fedora including virt-manager
  2. Download a fedora arm image: http://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/armhfp/
  3. Copy out the boot files from the image: http://download.fedoraproject.org/pub/fedora/linux/releases/20/Images/armhfp/
  4. Create a new virtual machine with virt-manager
  • Choose the arm architecture
  • Use the vexpress-a15
  • kernel: /directory_to_extracted_files/boot/vmlinuz-3.11.10-301.fc20.armv7hl
  • Initrd: /directory_to_extracted_files/boot/uInitrd-3.11.10-301.fc20.armv7hl
  • DTB: /directory_to_extracted_files/boot/dtb-3.11.10-301.fc20.armv7hl/vexpress-v2p-ca15-tc1.dtb
  • Kernel args: console=ttyAMA0 rw root=/dev/vda3 rootwait
  • ram should be at least than 1.2GB(I tested with 2GB)
  • Only use 1 cpu or it crashes(I don't know why...)
  1. Expand image or add extra space. You will need disk space equal to (pidora composed image size * 2) + pidora chroot size. I used about 20 GB, was enough for multiple composes.