I built linux-2.6.18-xen-3.4.0 did the following - make -j2 make modules make modules_install and then mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz /boot/vmlinuz-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom what must be the contents of /boot/grub/menu.lst file ?? title XEN root (hd0,0) kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.30-custom savedefault this is not booting ... Please help me... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann
2009-Jul-15 20:30 UTC
Re: [Xen-users] linux-2.6.18-xen-3.4.0 Not Booting !!
Hi, http://tinyurl.com/lskrx9 or http://wiki.xensource.com/xenwiki/GettingStarted or title Xen 3.3.2-rc4 / Debian GNU/Linux, kernel 2.6.29.4-xen root (hd0,0) kernel /xen-3.3.2-rc4.gz dom0_mem=2048m module /vmlinuz-2.6.29.4-xen root=/dev/mapper/data-red--root ro console=tty0 module /initrd.img-2.6.29.4-xen savedefault Bye _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Don''t you mean: title XEN root (hd0,0) kernel /boot/vmlinuz-2.6.18.8-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.18.8-custom # (or other 2.6.18 compatible initrd for your kernel/machine settings) savedefault -- Daniel Kao - Seattle, WA, U.S.A. Übermind, Inc. * http://ubermind.com/ * "Your Vision, Our Experience" WOlastic * http://wolastic.com/ * "WebObjects in the Cloud" Onkar wrote: I built linux-2.6.18-xen-3.4.0 did the following - make -j2 make modules make modules_install and then mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz /boot/vmlinuz-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom what must be the contents of /boot/grub/menu.lst file ?? title XEN root (hd0,0) kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.30-custom savedefault this is not booting ... Please help me... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think many people can help you if you posting boot error message. -------- Original Message -------- Subject: [Xen-devel] linux-2.6.18-xen-3.4.0 Not Booting !! From: Onkar <onkar.n.m@gmail.com> To: xen-users@lists.xensource.com, xen-users-request@lists.xensource.com, xen-devel@lists.xensource.com Date: Thu Jul 16 2009 05:05:30 GMT+0900> I built linux-2.6.18-xen-3.4.0 > > did the following - > > make -j2 > make modules > make modules_install > > and then > > mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ <http://2.6.18.8/> > cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz > /boot/vmlinuz-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom > > > what must be the contents of /boot/grub/menu.lst file ?? > > title XEN > root (hd0,0) > kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 > initrd /boot/initramfs-2.6.30-custom > savedefault > > this is not booting ... > > Please help me... > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2009-Jul-16 13:05 UTC
Re: [Xen-users] linux-2.6.18-xen-3.4.0 Not Booting !!
On Thu, Jul 16, 2009 at 01:35:30AM +0530, Onkar wrote:> I built linux-2.6.18-xen-3.4.0 > > did the following - > > make -j2 > make modules > make modules_install > > and then > > mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ > cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz > /boot/vmlinuz-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom > > > what must be the contents of /boot/grub/menu.lst file ?? > > title XEN > root (hd0,0) > kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 > initrd /boot/initramfs-2.6.30-custom > savedefault >So you''re trying to boot it as baremetal, not as Xen dom0 kernel? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi All, * root (hda0,0) filesystem type is ext2fs , partition type 0x83 kernel /boot/vmlinuz-2.6.18.8 root=/dev/sda1 ro vga=791 Error 13: Invalid or unsupported executable format Press any key to continue .. * This is all the message it gives !! Regards, Onkar On Thu, Jul 16, 2009 at 1:09 PM, Ji Hoo <jihoo79@gmail.com> wrote:> I think many people can help you if you posting boot error message. > > > -------- Original Message -------- > Subject: [Xen-devel] linux-2.6.18-xen-3.4.0 Not Booting !! > From: Onkar <onkar.n.m@gmail.com> <onkar.n.m@gmail.com> > To: xen-users@lists.xensource.com, xen-users-request@lists.xensource.com, > xen-devel@lists.xensource.com > Date: Thu Jul 16 2009 05:05:30 GMT+0900 > > I built linux-2.6.18-xen-3.4.0 > > did the following - > > make -j2 > make modules > make modules_install > > and then > > mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ > cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz > /boot/vmlinuz-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom > cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom > > > what must be the contents of /boot/grub/menu.lst file ?? > > title XEN > root (hd0,0) > kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 > initrd /boot/initramfs-2.6.30-custom > savedefault > > this is not booting ... > > Please help me... > > > > > > ------------------------------ > > _______________________________________________ > Xen-devel mailing listXen-devel@lists.xensource.comhttp://lists.xensource.com/xen-devel > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Fasiha Ashraf
2009-Jul-18 03:09 UTC
Re: [Xen-users] Re: [Xen-devel] linux-2.6.18-xen-3.4.0 Not Booting !!
I think the problem lies in highlighted line. The kernel name should match to the one you built. title XEN root (hd0,0) kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.30-custom savedefault" It should be kernel /boot/vmlinuz-2.6.18-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.18-custom so that it would be able to find the required files to boot. Try again after changing the contents of menu.lst Regards, Fasiha Ashraf --- On Thu, 16/7/09, Ji Hoo <jihoo79@gmail.com> wrote: From: Ji Hoo <jihoo79@gmail.com> Subject: [Xen-users] Re: [Xen-devel] linux-2.6.18-xen-3.4.0 Not Booting !! To: "Onkar" <onkar.n.m@gmail.com> Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com Date: Thursday, 16 July, 2009, 12:39 PM I think many people can help you if you posting boot error message. -------- Original Message -------- Subject: [Xen-devel] linux-2.6.18-xen-3.4.0 Not Booting !! From: Onkar <onkar.n.m@gmail.com> To: xen-users@lists.xensource.com, xen-users-request@lists.xensource.com, xen-devel@lists.xensource.com Date: Thu Jul 16 2009 05:05:30 GMT+0900 I built linux-2.6.18-xen-3.4.0 did the following - make -j2 make modules make modules_install and then mkinitramfs -o /boot/initramfs /lib/modules/2.6.18.8/ cp linux-2.6.18-xen-3.4.0/arch/x86_64/boot/vmlinuz /boot/vmlinuz-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/System.map /boot/System.map-2.6.18.8-custom cp linux-2.6.18-xen-3.4.0/.config /boot/config-2.6.18.8-custom what must be the contents of /boot/grub/menu.lst file ?? title XEN root (hd0,0) kernel /boot/vmlinuz-2.6.30-custom root=/dev/sda1 ro vga=791 initrd /boot/initramfs-2.6.30-custom savedefault this is not booting ... Please help me... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users