|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] xen livecd. make my own?
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.htmlThe 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
|
|
|
|
|