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

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


  • To: "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
  • Date: Fri, 6 Jun 2008 10:44:11 +0200
  • Delivery-date: Fri, 06 Jun 2008 01:44:41 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=dLhEsZ0ppsQYPrMTMPi4lGn1FNy8CTVFxcZkRN7leGpiOWH0vRmgbhBsy+wXmisPVF hj1KnZb2hkbG6Cw1bV0tgShTK4KeyxVY+YjXnWx+MJyORO4Q6oIrnZmljF0iuVCZ0tVq 9e4R7fp83fzzV/6uv7Shi+uJGvSoha2VA5LHs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

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

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


 


Rackspace

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