Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xen: lvm, genkernel, initramfs...?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
frozenQueue
n00b
n00b


Joined: 22 Jul 2010
Posts: 43

PostPosted: Wed Dec 15, 2010 9:08 pm    Post subject: xen: lvm, genkernel, initramfs...? Reply with quote

I'm trying to use Xen for the first time. I have a computer set aside for it, and so I am installing everything from scratch. The only installation guide I have for Gentoo is this one:

http://www.gentoo.org/doc/en/xen-guide.xml

I'm a little uncertain about the kernel building and installation part (for dom0): my system is LVM based, and I am accustomed to using genkernel to build and install the kernel and the initramfs. However, the example in the Gentoo Xen Guide does not use genkernel and does not use an initramfs. And the grub entry they provide looks strange. (I did not even know there was a "module" entry):

Code:
title Xen 3.0 / Gentoo Linux 2.6.x.y
root (hd0,0)
kernel /boot/xen.gz
module /boot/kernel-2.6.x.y-xen0 root=/dev/hda3


This is the command I was going to use to build the kernel for dom0:

Code:
genkernel --menuconfig --save-config --makeopts=-j2 --lvm --disklabel --bootloader=grub --realroot=UUID=<snip> all


Will that still work, and how will I need to adjust the grub entry?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum