[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen livecd. make my own?


  • To: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Sun, 8 Jun 2008 09:37:41 -0400
  • Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sun, 08 Jun 2008 06:38:16 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:references; b=svqSWJmqwGn6YNF/XlKueJd6j/U8os3WL6B8oqb3OxVojnlKcVtMWHYC8d14f+Jued GnmqLL4VL0JWTaMWp7ZxcIKvcYAXpyxmRyo+lfhgoRs5+blASnt65m5rfUDjxHjxM+Aj IbvXpMYz8Lt5sT8TdjPonbkFvMt76N9f1yjoQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Fri, Jun 6, 2008 at 4:44 AM, Chris Fanning <christopher.fanning@xxxxxxxxx> wrote:
Hi,

I'd like to use a liveCD that boots dom0. What is the status of the xen liveCD?


The latest Xen Live CD (that I know of) released by xen source is:
http://bits.xensource.com/oss-xen/release/3.0.3-0/iso/livecd-xen-3.0.3-0.iso

I would also take a look at VM Knoppix:
http://www.rcis.aist.go.jp/project/knoppix/vmknoppix/index-en.html

The Xen Live CD from source had a nice setup, used cow images to provide different types of guest etc.

I don't know of any efforts to update the xen live CD, but it would be nice to get it to a newer version.

Do you think you could incorporate the neat guest image tricks in your custom live CD?

If you have time, take a look at the VM Knoppix one, I know they are doing some pretty neat tricks
with oscircular and inetboot, which I beleive is scheduled to be presented at this years Linux
Symposium or similar. Maybe re-spinning the VM Knoppix specifically for Xen could be an option?

Cheers,
Todd


Meanwhile I tried to make my own but it freezes at "Xen is
relinquishing VGA Console"
Any ideas?

Thanks.
Chris.

# cd /opt/live-xen/

install lenny in a chroot envorinment with debootstrap

# chroot
# mount /proc
# apt-get install locales
# dpkg-reconfigure locales
# apt-get install udev
# apt-get install iproute bridge-utils vim pciutils
# apt-get install live-initramfs

# vim /etc/initramfs-tools/initramfs.conf
BOOT = live

# vim /etc/initramfs-tools/modules
unionfs
squashfs

# apt-get install linux-image-xen-686
# apt-get install xen-hypervisor-3.2-1-i386
# apt-get install unionfs-modules-KERNELVERSION-xen-686
# apt-get install squashfs-modules-KERNELVERSION-xen-686
# apt-get install grub

# cd /boot
# cp initrd.img-2.6.24-1-xen-686 initrd.img-2.6.24-1-xen-686.orig
# mkinitramfs -o /boot/initrd.img-2.6.24-1-xen-686 2.6.24-1-xen-686
# umount /proc
# exit

# mkdir -p iso/boot/grub
# cp mnt/usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub
# cp -a mnt/boot/* /iso/boot/
# mkdir iso/live
# mksquashfs mnt iso/live/lenny-xen-root.squashfs -all-root
# vim iso/boot/grub/menu.lst

title Xen 3.2 / XenLinux 2.6
root    (cd)
kernel /boot/xen-3.2-1-i386.gz dom0_mem=1024M
module /boot/vmlinuz-2.6.24-1-xen-686 boot=live vga=791 ro
console=tty0 max_loop=32
module /boot/initrd.img-2.6.24-1-xen-686

# mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o live-xen.iso /opt/live-xen/iso

# cdrecord live-xen.iso

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.