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

xen-users

[Top] [All Lists]

Re: [Xen-users] Transitioning from multi-boot to Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Transitioning from multi-boot to Xen
From: Chris Jones <cjns1989@xxxxxxxxx>
Date: 2011年2月06日 18:51:30 -0500
Delivery-date: 2011年2月06日 15:52:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110128033145.GA4117@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <20110128033145.GA4117@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008年05月17日)
On Thu, Jan 27, 2011 at 10:31:45PM EST, Chris Jones wrote:
> I am looking into setting up Xen 4.0 on a simple dual-boot
> Windows/ubuntu laptop with the following partitions:
>
> | Device Boot Start End Blocks Id System
> | /dev/sda1 * 1 223 1782784 7 HPFS/NTFS
> | /dev/sda2 223 21713 172624888 7 HPFS/NTFS
> | /dev/sda3 35854 38914 24576344 7 HPFS/NTFS
> | /dev/sda4 21713 28522 54686721 5 Extended
> | /dev/sda5 21713 24145 19530752 83 Linux
> | /dev/sda6 24145 26090 15624192 82 Linux swap
> | /dev/sda7 26090 28522 19529728 83 Linux
>
> I did a minimal ‘server type’ install of debian squeeze in /dev/sda7 and
> downloaded the Xen kernel and other packages per the debian wiki. 
>
> Now, I am a confused as to what to do next. 
>
> The laptop currently boots off of the default grub2 bootloader installed
> in the /dev/sda5 ubuntu 10.10 partition. I understand I need to manually
> add a ‘Xen’ stanza pointing to /dev/sda7 and the Xen kernel to for
> instance /etc/grub.d/40_custom - and run ‘update-grub’ so that I end up
> with the corresponding entry in /boot/grub/grub.cfg, but I can't seem to
> find any sample or description of how I should code this additional
> stanza.
>
> By fiddling with grub interactively, I eventually came up with a stanza
> that looks something like:
>
> | menuentry "Xen ..."
> | insmod ext2
> | set root=(hd0,7)
> | multiboot /boot/xen4.0-686.2.32.5.gz
> | module /boot/vmlinuz-xen-686.2.32.5.gz
> | module /boot/initrd-xen-686.2.32.5.gz
>
> This¹ actually boots ‘something’, presumably my initrd but the boot
> messages go by too quickly for me to tell what is actually going on or
> see if there are any errors. 
>
> Eventually, after displaying messages re: USB initialization, the boot
> process stops and when I hit enter, the following prompt is displayed:
>
> | (initramfs)
>
> This is apparently some form of minimal shell where I can enter basic
> commands, such as ‘mount’, ‘ps’.. ’ping’.. ’route’, etc. and even run
> ‘top’.
>
> But, as far as I can tell, my root partition is not mounted.
>
> Has anyone a working environment based on debian squeeze and Xen 4.0,
> and if so, could they either point me to the documentation that they
> used or even post a sample grub2 stanza?
>
> Thanks,
>
> cj
>
> ¹ Probably not the actual file names in the sample stanza above.
Hmm.. 
If my question is completely [OT] .. maybe s/o could point me to the
proper place to ask .. ?
Or is Xen is unusuitable for what I have in mind, namely running
different systems concurrently on my laptop..?
Thanks,
cj
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] debian squeeze released. , Peter Viskup
Next by Date: [Xen-users] XEN live migration: cannot console or ssh to the migrated guest VM (domU) , Wenda Ni
Previous by Thread: [Xen-users] debian squeeze released. , Mauro
Next by Thread: Re: [Xen-users] Transitioning from multi-boot to Xen , Todd Deshane
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /