Bhaskar Jayaraman
2007-Nov-20 11:35 UTC
Dunno what or which kernel binaries that I compiled I should use
Hi I just compiled the ON kernel phew!! Being new to the whole thing I would like to know what files should I be replacing in the /platform/i86pc folder. I have so far copied the new unix binary file to the /platform/i86pc/kernel folder and updated GRUB as well but when I make this kernel selection on boot then I get a message to load multiboot first. The funny thing is that when I make changes in GRUB to run /platform/i86pc/multiboot GRUB says multiboot is no longer supported. Please let me know what other binaries, files or changes I am supposed to be modifying. Thanks in advance. Bhaskar. This message posted from opensolaris.org
michael schuster
2007-Nov-20 11:51 UTC
Re: Dunno what or which kernel binaries that I compiled I should use
Bhaskar Jayaraman wrote:> Hi I just compiled the ON kernel phew!! Being new to the whole thing I > would like to know what files should I be replacing in the > /platform/i86pc folder. I have so far copied the new unix binary file to > the /platform/i86pc/kernel folder and updated GRUB as well but when I > make this kernel selection on boot then I get a message to load > multiboot first. The funny thing is that when I make changes in GRUB to > run /platform/i86pc/multiboot GRUB says multiboot is no longer > supported.you shouldn''t do anything by hand! I''m assuming you ran ''make all'' in usr/src/uts; you should follow that by a call to "Install -n <other options>", you can then un-tar the resulting tarball either on the same machine or on your test machine. Follow that by "bootadm update-archive" and reboot. if you really want to use xVM, as sending email to xen-discuss indicates, everything you need will go into /platform/i86xpv. HTH Michael -- Michael Schuster Sun Microsystems, Inc. recursion, n: see ''recursion''
Thanks Michael, yes I compiled the kernel in the usr/src/uts directory and I was instead using /usr/sbin/install and it just wouldn’t work so I thought of making the changes manually. As of now when I'm trying to use /opt/onbld/bin/Install, I am being asked to set $SRC for the kernel sources and I'm not sure what value must go there?? Also once I get the tar ball on which folder am I supposed to untar it before proceeding with bootadm? Regards, Bhaskar. This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
On Tue 11/20/07 at 04:30 AM, bhaskar.jayaraman@lsi.com wrote:> Thanks Michael, yes I compiled the kernel in the usr/src/uts directory > and I was instead using /usr/sbin/install and it just wouldn?t work so I > thought of making the changes manually. As of now when I''m trying to use > /opt/onbld/bin/Install, I am being asked to set $SRC for the kernel > sources and I''m not sure what value must go there?? > > Also once I get the tar ball on which folder am I supposed to untar it > before proceeding with bootadm?You should really read the OpenSolaris developer''s docs: http://opensolaris.org/os/community/on/devref_toc/ It will make your life much easier. The section that addresses this specific question is: http://opensolaris.org/os/community/on/devref_toc/devref_5/