2015-06-15 19:12:26 +00:00
|
|
|
Getting Started
|
|
|
|
---------------
|
|
|
|
|
2016-12-21 23:58:51 +00:00
|
|
|
Grab a copy of curtin (for some conversion tools):
|
|
|
|
|
2017-01-25 22:37:34 +00:00
|
|
|
sudo apt-get install bzr
|
2016-12-21 23:58:51 +00:00
|
|
|
mkdir -p ~/download
|
|
|
|
cd ~/download
|
|
|
|
bzr branch lp:curtin
|
|
|
|
|
2017-01-25 22:37:34 +00:00
|
|
|
Create the image
|
|
|
|
----------------
|
|
|
|
|
2016-12-20 16:55:10 +00:00
|
|
|
Generate the install image from subiquity's root directory:
|
2015-06-15 19:12:26 +00:00
|
|
|
|
2017-01-25 23:14:23 +00:00
|
|
|
installer/geninstaller -a amd64 -b grub2 -r zesty -l
|
|
|
|
|
|
|
|
(-l means build the current working tree into a deb and install that,
|
|
|
|
leaving it out will install subiquity from the archive).
|
2015-06-15 19:12:26 +00:00
|
|
|
|
|
|
|
Run the installer
|
2017-01-25 22:37:34 +00:00
|
|
|
-----------------
|
2015-06-15 19:12:26 +00:00
|
|
|
|
|
|
|
# generate target device
|
|
|
|
qemu-img create -f raw target.img 10G
|
|
|
|
|
|
|
|
# run installer
|
|
|
|
sudo qemu-system-x86_64 -m 1024 -enable-kvm \
|
2016-12-22 13:48:51 +00:00
|
|
|
-hda installer.img -hdb target.img \
|
2015-06-15 19:12:26 +00:00
|
|
|
-serial telnet:127.0.0.1:2445,server,nowait \
|
|
|
|
-monitor stdio
|
|
|
|
|
|
|
|
Boot the installed image
|
2017-01-25 22:37:34 +00:00
|
|
|
------------------------
|
2015-06-15 19:12:26 +00:00
|
|
|
|
|
|
|
sudo qemu-system-x86_64 -m 1024 -enable-kvm \
|
2017-01-04 03:35:40 +00:00
|
|
|
-hda target.img \
|
2015-06-15 19:12:26 +00:00
|
|
|
-serial telnet:127.0.0.1:2445,server,nowait
|
|
|
|
|