WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xen livecd. make my own?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=xWoWDLF1g7xXu+yI6uV6L0gfSJ4vdrMEYDlehg/Y4Fw=; b=jsxqXG4kwlEN5YH/kZA2W2SmxPaYEhCajBQwVK5SSJFxj+RsOAVK0mFn5j++vRaDSx pLQ5aKHk++2MB+uZtxvgMTvHNNjGn2RWUITH2gkESl+AkVN1UN27aCcvNsmqKQEkxzSE ZjZ/q+CC8i8k98JKRvpgdrOWoL7TqjRP0SRno=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>