Sep 5, 2012, 12:11:51 AM (10 years ago)
Updated XVM instructions plus kickstarter.
1 edited


  • trunk/server/doc/install-xvm

    r1693 r2315  
    2424[XXX: there should be a way to do this with remctl too]
    26 2. Spin up
    27 ----------
     262. Configure
    29 These instructions are mostly the same as the latter part of
    30 install-fedora, with the following changes:
     29Lest you be tempted to skimp on RAM:  you must have more than 700MBish
     30to install Fedora; 1024MB is a good amount is a good amount to give to
     31the server.  Disk space on order of 40G is probably good enough.
    32 VNC
    33 ---
     33While it is best to use the install CD from the most recent version
     34of Fedora, any kernel which supports Kickstarting can be used.  A good
     35bet is to use the Netboot CD from the latest version of Fedora that
     36XVM has (since XVM is sort of bad about keeping their boot CDs up to
    35 You will not need to sketchily forward VNC, because XVM has a built
    36 in VNC console.
     39You will need VNC access to perform the installation process.  If you have
     40Java, just go to the Console page for the VM; if you do not, you can use
     41the following set of incants to setup a local VNC server which can talk
     42to the console:
    38 Password
    39 --------
     44    athrun xvm invirt-vnc-client -a $AUTHTOKEN
     45    vncviewer localhost
    41 Do NOT use the scripts-root password.  Pick something else.
     47where AUTHTOKEN is the contents of the AUTHTOKEN param on the console page
     48(which would have had the Java applet.)
    43 Disks
    44 -----
     50On the bootloader screen (usually it gives you a bunch of options
     51such as "Install" or "Advanced"), press TAB and edit the kernel boot
     52line to append the text:
    46 The standard Scripts setup has separate LVM partitions for root and
    47 swap, as well as a non-LVM partition for boot.  You will not have this
    48 for XVM, so the Fedora defaults mostly work.  Don't use ext4 though.
     54    ks=http://ezyang.scripts.mit.edu/kickstart/scripts.php?type=xvm&release=$RELEASE_NO&hostname=scripts-f$RELEASE_NO-test.xvm.mit.edu
     56with $RELEASE_NO interpolated properly.  You should keep around any initrd
     57lines since the kernel image still needs to know how to boot up.
     59    XXX the kickstart file needs to live in a less sketchy place
     61The install process will ask you for a password.  Do NOT use the
     62scripts-root password.  We have a password in
     63/mit/scripts/Private/scripts-f9-test-passwd which we tend to use.
Note: See TracChangeset for help on using the changeset viewer.