Send CentOS-announce mailing list submissions to centos-announce@centos.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request@centos.org
You can reach the person managing the list at centos-announce-owner@centos.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-announce digest..."
Today's Topics:
1. CentOS-7 disk images for AArch64 Platforms (Jim Perrin)
----------------------------------------------------------------------
Message: 1 Date: Thu, 14 May 2015 14:25:01 -0500 From: Jim Perrin jperrin@centos.org To: centos-announce@centos.org Subject: [CentOS-announce] CentOS-7 disk images for AArch64 Platforms Message-ID: 5554F68D.6010105@centos.org Content-Type: text/plain; charset=utf-8
We've produced a disk image intended to help hardware vendors and enthusiasts who are interested in bringing CentOS to their AArch64 based platform. This allows a vendor to bypass the installer or to edit the disk image before booting in order to test kernel modules or options. It is intended for development purposes only, and will only continue through the alpha and beta test phases.
## Download
http://buildlogs.centos.org/centos/7/isos/aarch64/
## Considerations
* This image is 12GB when uncompressed. Please ensure you have enough free space
* The default root password is 'centos'. Please see the readme in the above directory for the kickstart used to create the image.
* You will need to add the appropriate boot information in a UEFI entry after using this image, since the installer traditionally handles this.
## Burning the image to disk
You may simply dd this image to disk, however for the sake of ensuring that it is written correctly, we recommend the following command. Please replace the image-name and target device with the appropriate values for your environment.
``` dd if=<image-name.img> of=/dev/sdX bs=2m conv=fsync && sync; ```
## Growing the disk image.
The root partition of this image was intentionally placed at the end of the image so that it could be easily grown. A simple command for growing the image is listed below
``` sudo sgdisk -e -d4 -n4:0:0 /dev/<your-device> ```
## Examining and editing the image
The kpartx tool is very handy for manipulating disk images. Some example commands are below. Please read the documentation for kpartx before you modify the disk image.
* kpartx -l CentOS-7-1503-aarch64.img # List partitions in the image * kpartx -a -v CentOS-7-1503-aarch64.img # Add partition mappings * mount /dev/mapper/loop1p1 /mnt # mount the first partition to /mnt * umount /mnt # unmount /mnt, obviously. * kpartx -d -v CentOS-7-1503-aarch64.img # remove partition mappings