Quantcast

"Boot loader didn't return any data!" -- Sisu

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

"Boot loader didn't return any data!" -- Sisu

Sisu Xi
Hi, all:

I am using Ubuntu 12.04, compiled Linux Kernel 3.3.6 from source, Xen 4.1.2 from source.
Downgrade grub2 to grub.

I try to install centOS 6.2, 64bit, para-virtualized as the domU.
When I install it, it goes fine. the configuration file is:
name="centosinstall"
vcpus=2
memory=2048
disk=['file:/home/xisisu/Desktop/VM/vm1.img,xvda,w']
vif=['bridge=xenbr0']
kernel="/home/xisisu/Desktop/vmlinuz"
ramdisk="/home/xisisu/Desktop/initrd.img"
on_reboot='restart'
on_crash='restart'


after installation, when I try to boot it, the configuration file is:
comment out:
kernel="/home/xisisu/Desktop/vmlinuz"
ramdisk="/home/xisisu/Desktop/initrd.img"
add:
bootloader="/usr/bin/pygrub"


when using xl create -c vm.run, it says:
Parsing config file vm1.run
failed to run bootloader: -3
libxl: error: libxl.c:711:libxl_domain_destroy non-existant domain 15
xenconsole: Could not read tty from store: No such file or directory


when using xm create -c vm.run, it says:
Using config file "./vm1.run".
Error: Boot loader didn't return any data!



some googling around says I need to check pygrub,
the command: pygrub /path/to/domu/disk, it says:
Traceback (most recent call last):
  File "/usr/local/bin/pygrub", line 774, in <module>
    raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel





Can anyone help with this?

thanks in advance.

Sisu


_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "Boot loader didn't return any data!" -- Sisu

Sisu Xi
and xl info gives:
host                   : xisisu-desktop
release                : 3.3.6
version                : #1 SMP Sun May 13 18:24:00 CDT 2012
machine                : x86_64
nr_cpus                : 12
nr_nodes               : 1
cores_per_socket       : 6
threads_per_core       : 2
cpu_mhz                : 3378
hw_caps                : bfebfbff:2c000800:00000000:00003f40:029ae3bf:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 12277
free_memory            : 3142
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .2
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : sched=credit
cc_compiler            : gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
cc_compile_by          : xisisu
cc_compile_domain      :
cc_compile_date        : Sun May 13 17:46:53 CDT 2012
xend_config_format     : 4


On Mon, May 14, 2012 at 12:56 PM, Sisu Xi <[hidden email]> wrote:
Hi, all:

I am using Ubuntu 12.04, compiled Linux Kernel 3.3.6 from source, Xen 4.1.2 from source.
Downgrade grub2 to grub.

I try to install centOS 6.2, 64bit, para-virtualized as the domU.
When I install it, it goes fine. the configuration file is:
name="centosinstall"
vcpus=2
memory=2048
disk=['file:/home/xisisu/Desktop/VM/vm1.img,xvda,w']
vif=['bridge=xenbr0']
kernel="/home/xisisu/Desktop/vmlinuz"
ramdisk="/home/xisisu/Desktop/initrd.img"
on_reboot='restart'
on_crash='restart'


after installation, when I try to boot it, the configuration file is:
comment out:
kernel="/home/xisisu/Desktop/vmlinuz"
ramdisk="/home/xisisu/Desktop/initrd.img"
add:
bootloader="/usr/bin/pygrub"


when using xl create -c vm.run, it says:
Parsing config file vm1.run
failed to run bootloader: -3
libxl: error: libxl.c:711:libxl_domain_destroy non-existant domain 15
xenconsole: Could not read tty from store: No such file or directory


when using xm create -c vm.run, it says:
Using config file "./vm1.run".
Error: Boot loader didn't return any data!



some googling around says I need to check pygrub,
the command: pygrub /path/to/domu/disk, it says:
Traceback (most recent call last):
  File "/usr/local/bin/pygrub", line 774, in <module>
    raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel





Can anyone help with this?

thanks in advance.

Sisu



_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "Boot loader didn't return any data!" -- Sisu

Ian Tobin-2
In reply to this post by Sisu Xi
Hi,

Is xenconsoled running?

 
Tidyhosts UK - Server & Web Specialists
 
W: www.tidyhosts.com
E:  [hidden email]
T:  0871 910 6732
 
This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email.  This email is confidential and is intended only for the addressee(s).



 


On 14 May 2012, at 18:58, "Sisu Xi" <[hidden email]> wrote:

> xenconsole


_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "Boot loader didn't return any data!" -- Sisu

Sisu Xi
Hi, 

thanks for your reply.

How do I check weather xenconsoled is running? I run xenconsoled and it returned nothing. It seems a debug tool to log guest OS info.

Thanks.

Sisu

On Mon, May 14, 2012 at 1:46 PM, Ian Tobin <[hidden email]> wrote:
Hi,

Is xenconsoled running?


Tidyhosts UK - Server & Web Specialists

W: www.tidyhosts.com
E:  [hidden email]
T:  0871 910 6732

This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email.  This email is confidential and is intended only for the addressee(s).






On 14 May 2012, at 18:58, "Sisu Xi" <[hidden email]> wrote:

> xenconsole





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "Boot loader didn't return any data!" -- Sisu

Chris Dickson
Pygrub is going to look for a grub config on the domU disk xvda (what you've specified as  file:/home/xisisu/Desktop/VM/vm1.img) in a default location, I know /boot/grub/menu.lst works. Then it's going to load the kernel from on that disk like regular grub, so make sure you have the correct path to your kernel and initrd in the menu item.

I think you need to decide whether you want to load the kernel from the domU disk with pygrub or load the kernel from outside with explicit kernel and initrd arguments in the xen configuration file, right now it looks like xen is using pygrub with your current config.

On Mon, May 14, 2012 at 2:52 PM, Sisu Xi <[hidden email]> wrote:
Hi, 

thanks for your reply.

How do I check weather xenconsoled is running? I run xenconsoled and it returned nothing. It seems a debug tool to log guest OS info.

Thanks.

Sisu


On Mon, May 14, 2012 at 1:46 PM, Ian Tobin <[hidden email]> wrote:
Hi,

Is xenconsoled running?


Tidyhosts UK - Server & Web Specialists

W: www.tidyhosts.com
E:  [hidden email]
T:  0871 910 6732

This email and its attachments are scanned by TidyHosts UK. All emails and attachments should also be scanned by the recipient. TidyHosts UK accept no responsibility for any damage caused by any virus attached to this email.  This email is confidential and is intended only for the addressee(s).






On 14 May 2012, at 18:58, "Sisu Xi" <[hidden email]> wrote:

> xenconsole





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "Boot loader didn't return any data!" -- Sisu

Sisu Xi
Hi, Chirs:

Thanks for your reply.

I reinstalled the system using CentOS. It's giving me same error
initially. However, when I remove all the *virt*, *qemu* packages, it
seems works fine now.

I don't know the reason for that.

Thanks.

Sisu

On Tue, May 15, 2012 at 6:25 PM, Chris Dickson <[hidden email]> wrote:

> Pygrub is going to look for a grub config on the domU disk xvda (what you've
> specified as  file:/home/xisisu/Desktop/VM/vm1.img) in a default location, I
> know /boot/grub/menu.lst works. Then it's going to load the kernel from on
> that disk like regular grub, so make sure you have the correct path to your
> kernel and initrd in the menu item.
>
> I think you need to decide whether you want to load the kernel from the domU
> disk with pygrub or load the kernel from outside with explicit kernel and
> initrd arguments in the xen configuration file, right now it looks like xen
> is using pygrub with your current config.
>
> On Mon, May 14, 2012 at 2:52 PM, Sisu Xi <[hidden email]> wrote:
>>
>> Hi,
>>
>> thanks for your reply.
>>
>> How do I check weather xenconsoled is running? I run xenconsoled and it
>> returned nothing. It seems a debug tool to log guest OS info.
>>
>> Thanks.
>>
>> Sisu
>>
>>
>> On Mon, May 14, 2012 at 1:46 PM, Ian Tobin <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> Is xenconsoled running?
>>>
>>>
>>> Tidyhosts UK - Server & Web Specialists
>>>
>>> W: www.tidyhosts.com
>>> E:  [hidden email]
>>> T:  0871 910 6732
>>>
>>> This email and its attachments are scanned by TidyHosts UK. All emails
>>> and attachments should also be scanned by the recipient. TidyHosts UK accept
>>> no responsibility for any damage caused by any virus attached to this email.
>>>  This email is confidential and is intended only for the addressee(s).
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 14 May 2012, at 18:58, "Sisu Xi" <[hidden email]> wrote:
>>>
>>> > xenconsole
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> [hidden email]
>> http://lists.xen.org/xen-users
>
>

_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users
Loading...