I''ve now given up trying to get grub working with my particular e1000 adapter, I''ve tried all the patches and all I can get is something that works a little bit but never past the grub menu. I''m sure I read something somewhere about a tool which would combine a multiboot image + modules into a single bootable item which could be loaded by lilo, and am hoping that the same thing might be able to make me something which will work with xen + etherboot. The other thing I''m sure I read somewhere (or maybe it''s the same thing and I''m just confused) is some way of combining grub + images together so that grub doesn''t need to know about the network, it''s all just in ram by the time grub is started. Does anyone know what I''m talking about? Now that I want it, I can''t find anything about either of the above anywhere... maybe I dreamt it... Thanks James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I''ve put together a combination of pxelinux+memdisk (from syslinux) to boot a virtual disk with grub on it, and it boots up as far as grub, but when it goes to load the xen image the screen goes grey within half a second and stops dead. memdisk works by creating a ramdisk in ''high memory'', with a tiny low memory driver which hooks into int13h to simulate a harddisk. My best guess is that either grub or xen is treading on that space either in low memory, killing the driver, or in high memory, corrupting the image. I have tried syslinux 2.11 and 3.07. Any suggestions? Any flags I could pass to xen to get it to be a bit more careful? Thanks James> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > bounces@lists.xensource.com] On Behalf Of James Harper > Sent: Monday, 16 May 2005 13:47 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] etherboot & multiboot > > I''ve now given up trying to get grub working with my particular e1000 > adapter, I''ve tried all the patches and all I can get is somethingthat> works a little bit but never past the grub menu. > > I''m sure I read something somewhere about a tool which would combine a > multiboot image + modules into a single bootable item which could be > loaded by lilo, and am hoping that the same thing might be able tomake> me something which will work with xen + etherboot. > > The other thing I''m sure I read somewhere (or maybe it''s the samething> and I''m just confused) is some way of combining grub + images together > so that grub doesn''t need to know about the network, it''s all just in > ram by the time grub is started. > > Does anyone know what I''m talking about? Now that I want it, I can''t > find anything about either of the above anywhere... maybe I dreamtit...> > Thanks > > James > > _______________________________________________ > 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
On 16 May 2005, at 07:33, James Harper wrote:> memdisk works by creating a ramdisk in ''high memory'', with a tiny low > memory driver which hooks into int13h to simulate a harddisk. My best > guess is that either grub or xen is treading on that space either in > low > memory, killing the driver, or in high memory, corrupting the image. > > I have tried syslinux 2.11 and 3.07. > > Any suggestions? Any flags I could pass to xen to get it to be a bit > more careful?The hook will disappear pretty much immediately Xen boots, but Xen doesn''t use any bios services so that shouldn''t be a problem. It sounds quite likely that the int13h hook is conflicting with the grub bootloader for a piece of low memory. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> I''m sure I read something somewhere about a tool which would > combine a multiboot image + modules into a single bootable > item which could be loaded by lilo, and am hoping that the > same thing might be able to make me something which will work > with xen + etherboot.See tools/misc/mbootpack> The other thing I''m sure I read somewhere (or maybe it''s the > same thing and I''m just confused) is some way of combining > grub + images together so that grub doesn''t need to know > about the network, it''s all just in ram by the time grub is started.Alternatively see Tim Deegan''s post regarding multiboot support for pxelinux. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > I''m sure I read something somewhere about a tool which would > > combine a multiboot image + modules into a single bootable > > item which could be loaded by lilo, and am hoping that the > > same thing might be able to make me something which will work > > with xen + etherboot. > > See tools/misc/mbootpackIn unstable? It doesn''t appear to be in testing... James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Mon, May 16, 2005 at 01:46:41PM +1000, James Harper wrote:> I''m sure I read something somewhere about a tool which would combine a > multiboot image + modules into a single bootable item which could be > loaded by lilo, and am hoping that the same thing might be able to make > me something which will work with xen + etherboot.That''s mbootpack, which is in the unstable tree tools.misc directory, or at http://www.tjd.phlegethon.org/software/#mbootpack Probably easier to use (and not requiring preprocessing the images) is my multiboot module for PXELINUX. It''s in the latest prerelease of SYSLINUX, 3.08-pre11; see com32/modules/mboot.doc in the source tree. http://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/syslinux-3.08-pre11.tar.bz2 Tim. -- Tim Deegan (My opinions, not the University''s) Systems Research Group University of Cambridge Computer Laboratory _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> Probably easier to use (and not requiring preprocessing the images) is > my multiboot module for PXELINUX. It''s in the latest prerelease of > SYSLINUX, 3.08-pre11; see com32/modules/mboot.doc in the source tree. >http://www.kernel.org/pub/linux/utils/boot/syslinux/Testing/syslinux-3.0 8-> pre11.tar.bz2Very nice. Works perfectly. Thanks. My only comment is that the first time I tried it I had the path to xen.gz wrong, and it just seemed to hang there. Maybe it would have timed out and given an error eventually but in the time I was watching and waiting, nothing happened. This might be more a function of how tftp works though, rather than of your code. James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel