On Thu, Dec 4, 2014 at 3:39 PM, lee <l...@yagibdah.de> wrote:
> Rich Freeman <ri...@gentoo.org> writes:
>
>> On Thu, Dec 4, 2014 at 1:11 PM, lee <l...@yagibdah.de> wrote:
>>> Tomas Mozes <tomas.mo...@shmu.sk> writes:
>>>>
>>>> The kernel is not in stage3, you have to compile it yourself (or
>>>> download from somewhere). When you have the kernel image binary, the
>>>> xen configuration for the host can be simple as:
>>>
>>> Compile it with what?  Are the sources in stage3, or downloaded so that
>>> I can compile a suitable Gentoo kernel within the chroot?
>>
>> If you've never installed Gentoo anywhere I wouldn't suggest doing it
>> for the first time under Xen.
>>
>> Gentoo stage3s include neither a binary kernel nor the sources.  See:
>> https://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7
>
> That's confusing ...  I would think that I can create the file system on
> the LV and extract the stage3 archive, then chroot into it.  From there,
> I'd have to 'emerge gentoo-sources' and to compile a kernel.
>
> Isn't that easier or the same as booting on bare metal into some life
> system and doing these things from there?
>

When you boot a CD on bare metal all you're doing is creating the file
system, extracting the archive, and chrooting into it.  So the outcome
is the same either way.

If your xen guest is going to run on a regular LV you certainly can
just mount it on the host and chroot into it.  That is exactly how I'd
go about it.

Once you're in the chroot then you should install the kernel/etc per
the handbook.  Of course, you have to make sure that the config for
the kernel supports running as a guest under xen.

--
Rich

Reply via email to