subiquity/installer
Adam Stokes b9807ed5b9 Fix timeout and stopping of systemd when chvt is run.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-06-17 16:04:45 -04:00
..
resources Fix timeout and stopping of systemd when chvt is run. 2015-06-17 16:04:45 -04:00
README.md Initial import of installer image building 2015-06-15 14:38:51 -05:00
geninstaller syslinux binaries aren't standalone, so copy all .c32 files into extlinux target dir. 2015-06-17 13:09:21 -05:00
runinstaller Runtime check on which qemu is being used and install the prereq before attempting to use qemu-system-xxxx. 2015-06-17 13:09:52 -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