[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Install Ubuntu Server 10 as PV Guest
- To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
- From: KC LO <kclo2000@xxxxxxxxx>
- Date: Mon, 21 Jun 2010 11:19:30 +0800
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Sun, 20 Jun 2010 20:21:05 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=a58rERDFA/Qj20unTtQoyoSDUw+agU0kgT94wnO+V769PqnKDUGpPr4aJw0wceqGVp SOh3DU5YaEL36nZQtuYbwYlE7GSX0xx3mQ7o2CfQPprD4TOIZBNqBbKYb8VUc4Vzj0AV TDdhB8kKpeMja8pb28XC4mOgNZjhV4ejhzqOw=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
Hi all,
Thanks all!
I have copied kernel and ramdisk to the DOMU and it worked fine even the /boot is under partition of ext4.
However, the pygrub still fails for partition of ext3 with same error.
Below is my DOMU config
name = "test" memory = "2048" bootloader="/usr/bin/pygrub" extra = "(hd0,0)/grub/menu.lst" vif = [ 'bridge=eth0' ] vcpus=2 disk= [ 'file:/root/iso/ubuntu.img,xvda,w' ]
root="/dev/xvda1 ro" >>
When I replace with kernel and ramdisk, ubuntu can boot successfully. Any ideas?
On 21 June 2010 09:47, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sun, Jun 20, 2010 at 2:59 PM, KC LO < kclo2000@xxxxxxxxx> wrote: > RuntimeError: couldn't find bootloader config file in the image provided.
Quick check: did you happen to use ext4 for /boot? AFAIK pygrub (on Xen 3.4 anyway) does not support ext4. ext3 works just fine.
> > I have used kpartx -av /root/iso/ubuntu.img to mount the boot directory of
/root/iso is a strange place to put domU image :P
> It seems that it don't has the linux-xen kernel for PV client. Is it the > reason for it fail to boot?
It shouldn't matter. Ubuntu's has pv_ops enabled kernel. Also, if it
were a problem with kernel, you'd get a different error message.
As a temporary work around, you can try copying domU's kernel and initrd to dom0, and load it on domU Xen config file using "kernel",
"ramdisk", and "extra" directive.
-- Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|