subiquity/installer
Ryan Harper f5eb8faef4 Switch to 1M alignment for partition calculations
Make sure we continue to use 1M alignment, this helps
parted shift things around properly.  Don't reserve
space for root in installer image since it's read-only.
Add some fudge factor to the root image to allow for
sparse expansion.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-27 15:35:05 -05:00
..
resources Filter out lxcbr0 from network autostart 2015-10-27 10:12:28 -05:00
README.md Initial import of installer image building 2015-06-15 14:38:51 -05:00
geninstaller Switch to 1M alignment for partition calculations 2015-10-27 15:35:05 -05:00
runinstaller Fix install when using raid devices 2015-10-27 10:12:28 -05:00
usquery Initial import of installer image building 2015-06-15 14:38:51 -05:00

README.md

Getting Started

Install package dependencies:

PKGS="
bzr
extlinux
gdisk
kpartx
parted
qemu-system-x86
qemu-utils
syslinux-common
"
apt-get install $PKGS

Generate the install image

./geninstaller.sh

Run the installer

# generate target device
qemu-img create -f raw target.img 10G

# run installer
sudo qemu-system-x86_64 -m 1024 -enable-kvm \
     -hda installer.img -hdb test.img \
     -serial telnet:127.0.0.1:2445,server,nowait \
     -monitor stdio

# login and shutdown, ubuntu/passw0rd

Boot the installed image

sudo qemu-system-x86_64 -m 1024 -enable-kvm \
     -hda test.img \
     -serial telnet:127.0.0.1:2445,server,nowait