Help to boot domU with customized kernel
Hi All,
I have installed Dom0 and domU following instructions given on Ubuntu Wiki I want to boot domU with customized kernel.
My machine don't have hardware support I tried different things but it's not working.
Method 1:
In guest, I have compiled Para-Virtualized kernel that have created boot images in /boot of domU. After reboot I am not able to boot and I am getting error as
Error: Boot loader didn't return any data
Method II:
In dom0, I have compiled Para-Virtualized kernel and I have used domU.cfg file where kernel= [New compiled vmlinuz]
ramdisk = [New compiled initrd image]
then I tried to create new VM using 'xm create' command. Here I am getting following error
"mount: mounting /sys on /root/sys failed: No such file or directorymount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg. "
Please let me know to boot domU with new customized kernel?
Thanks,
Anand
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 1 line · Anand Mundada
Hi All,
This appears to be a user and not development question, xen-users@ is the appropriate list for such queries. Redirecting (-devel to bcc).
Quoted 3 lines
I have installed Dom0 and domU following instructions given on Ubuntu Wiki
I want to boot domU with customized kernel.
Please give details, version, .config etc. Guest cfg would be useful also. What version of Xen are you running?
http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a checklist of information which may be useful to include in a bug report.
Quoted 9 lines
My machine don't have hardware support I tried different things but it's not working.
Method 1:
In guest, I have compiled Para-Virtualized kernel that have created boot images in /boot of domU.
After reboot I am not able to boot and I am getting error as
Error: Boot loader didn't return any data
Did you update your bootloader configuration within the guest?
Quoted 7 lines
Method II:
In dom0, I have compiled Para-Virtualized kernel and I have used domU.cfg file where
kernel= [New compiled vmlinuz]
ramdisk = [New compiled initrd image]
How did you create this ramdisk?
Quoted 8 lines
then I tried to create new VM using 'xm create' command. Here I am getting following error
"mount: mounting /sys on
/root/sysfailed: No such file or directory
mount: mounting /proc on/root/procfailed: No such file or directory Target filesystem doesn't have/sbin/init.
No init found. Try passing init= bootarg. "
This indicates that your initrd is not finding the root filesystem. DO you build in the Xen modules or does your initrd contain the appropriate modules?
Quoted 7 lines
Please let me know to boot domU with new customized kernel?
Thanks,
Anand