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

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

To: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Subject: Re: [Xen-users] xen livecd. make my own?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type:references; bh=a0lma2IF99fNIhmnrl9arfG2m6DrDoZqGxdghjW47qY=; b=Wz/9yF0UlXFI532pPQRGbKyxwPO5rTvdAIEjr7pbzhJXU0JI9h2V3gCDkRctL3ycP8 S+LdMK4KFGNaTdYGhbdWI9S0/SAjJZT/XldbV0e70jH3fbuReAWcjQKkUA0b+p2Mq6jn OcV2mpOQ3v0ekqK+JK85khNKvzOqlYCsvrlyc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <215ff4410806060144u65aab58di9458ed03dd161d94@xxxxxxxxxxxxxx>
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>
References: <215ff4410806060144u65aab58di9458ed03dd161d94@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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
<Prev in Thread] Current Thread [Next in Thread>