On Sat, 2008-07-19 at 19:57 +0200, Thomas wrote:
> Hi Tom,
hi,
> I created 2 lvm volumes, one ext3 and the other one swap of course.
> Then mounted my volume in a directory /mnt, issued the following
> command:
> debootstrap --arch amd64 etch /mnt http://ftp.debian.org/debian
ic. you initialize your lv with an ext3 filesystems, so you don't have
any partitions there. consequently, there is no /dev/hda1 for xen to
boot from.
tyr this config:
--
# -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.18-6-xen-amd64"
initrd = "/boot/initrd.img-2.6.18-6-xen-amd64"
memory = "256"
maxmem = "1024"
name = "debian64"
vif = [ 'mac=00:16:3e:00:00:05, ip=10.0.0.5' ]
disk = [ 'phy:/dev/mapper/xenvg-debian64,/dev/hda,w',
'phy:/dev/mapper/xenvg-debian64--swap,/dev/hdb,w' ]
root = "/dev/hda"
extra='console=hvc0 xencons=hvc0'
--
> I have correctly set the fstab, and securetty in the domU.
you got to modify your fstab now, because /dev/hda is your /
and /dev/hdb is swap.
> I installed linux-image-2.6.18-6-xen-amd64 in the dom0, I also copied
> the modules to domU just in case. And it fails to mount the root fs.
> Using a custom configuration file for compiling a vanilla kernel, it
> works perfectly,
it does?
i can't image that any domu kernel can boot with your setup. but then
again, i don't know the debootstrap magic ;-)
> How did you install the DomU with netinstall? Do you have a resource
> to point me to? a tutorial?
yes, http://wiki.debian.org/DebianInstaller/Xen
you simply boot the kernel with the netinstaller initrd and install the
domu the same way as any other debian system.
hth,
tom.
--
Thomas "Duke" Hager {duke,hager}@sigsegv.at
GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."
signature.asc
Description: This is a digitally signed message part
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|