[xen-tools] Gentoo is now supported!
Steve Kemp
steve at steve.org.uk
Tue Jun 20 23:18:52 CEST 2006
I've now successfully setup a fully networked installation of Gentoo
using an image which was downloaded from jailtime.org. This mail
contains a brief howto on doing it.
1. Install CVS version of Xen-Tools - to get '--dist=gentoo' support.
2. Download the gentoo image:
http://jailtime.org/download:gentoo:v2006.0
3. Uncompress the tarball and rename the disk image to 'gentoo.img'.
The xen configuration file and swap image can be deleted.
4. Now mount the image using a loopback device - so we can copy
the files from it to "install" the new system:
modprobe loop max_loop=255
mkdir /mnt/gentoo
mount -o loop,ro gentoo.img /mnt/gentoo
5. Create a new Xen instance using that mounted image as a template
to copy from:
xen-create-image --hostname=g.my.flat --ip=192.168.1.234 \
--dist=gentoo --copy=/mnt/gentoo
(Note: Make sure "debootstrap=1" is *commented out* in the
xen-tools.conf file).
6. Wait.
7. Enjoy.
8. Note: Username='root', password: 'password', if you didn't set
it up explicitly with --passwd.
I've tested static addresses and DHCP addresses. Note that this
setup currently relies upon having SSH installed in the base image
which is copied; thankfully this is the case in the Jailtime.org
image.
If anybody else is interested in this kind of mail let me know,
ditto if you have another system-type which you'd like me to support.
Steve
--
http://www.steve.org.uk/
More information about the xen-tools-discuss
mailing list