Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame^] | 1 | `DevStack </>`__ |
| 2 | |
| 3 | - `Overview <../overview.html>`__ |
| 4 | - `Changes <../changes.html>`__ |
| 5 | - `FAQ <../faq.html>`__ |
| 6 | - `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__ |
| 7 | - `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__ |
| 8 | |
| 9 | USB Boot: Undoable Stack Boot |
| 10 | ============================= |
| 11 | |
| 12 | Boot DevStack from a USB disk into a RAM disk. |
| 13 | |
| 14 | Prerequisites |
| 15 | ------------- |
| 16 | |
| 17 | Hardware |
| 18 | ~~~~~~~~ |
| 19 | |
| 20 | This guide covers the creation of a bootable USB drive. Your computer |
| 21 | BIOS must support booting from USB and You will want at least 3GB of |
| 22 | RAM. You also will need a USB drive of at least 2GB. |
| 23 | |
| 24 | Software |
| 25 | ~~~~~~~~ |
| 26 | |
| 27 | Ubuntu 11.10 (Oneiric Ocelot) is required on host to create images. |
| 28 | |
| 29 | Installation bit blasting |
| 30 | ------------------------- |
| 31 | |
| 32 | Set Up USB Drive |
| 33 | ~~~~~~~~~~~~~~~~ |
| 34 | |
| 35 | - Insert the USB drive into the computer. Make a note of the device |
| 36 | name, such as ``sdb``. Do not mount the device. |
| 37 | - Install the boot system: |
| 38 | |
| 39 | :: |
| 40 | |
| 41 | tools/build_usb_boot.sh /dev/sdb1 |
| 42 | |
| 43 | This calls tools/build\_ramdisk.sh to create a 2GB ramdisk containing |
| 44 | a complete development Oneiric OS plus the OpenStack code checkouts. |
| 45 | It then writes a syslinux boot sector to the specified device and |
| 46 | creates ``/syslinux``. |
| 47 | |
| 48 | - If desired, you may now mount the device: |
| 49 | |
| 50 | :: |
| 51 | |
| 52 | mount /dev/sdb1 /mnt/tmp |
| 53 | # foo |
| 54 | umount /mnt/tmp |
| 55 | |
| 56 | Now `return <ramdisk.html>`__ to the RAM disk Guide to kick off your |
| 57 | DevStack experience. |
| 58 | |
| 59 | © Openstack Foundation 2011-2013 — this is not an official OpenStack |
| 60 | project... |