Am 03.07.2013 14:11, schrieb Matt Fleming:> On Wed, 03 Jul, at 12:22:52PM, Andreas Heinlein wrote: >> Hello, >> >> I am currently trying to get the gfxboot archive from Ubuntu 12.04 >> working with gfxboot.c32 under BIOS, using ISOLINUX 6. >> >> AFAIK, the Ubuntu patches have been added in 4.03, and in fact it >> works with the official 4.05 release, but not with 5.10 or >> 6.01-pre5. >> >> I can tell that the menu is actually working, you just don't see it. >> If you navigate it "blind", the correct entries start as usual. >> What I get is a blank screen with a little gray rectangle in the >> bottom left corner, whereas a picture from "access.pcx" should be >> displayed instead. If you press "Esc" to get to the actual menu, the >> rectangle disappears and the screen is all blank. If you then press >> "Esc" again to leave gfxboot mode, the usual "You are about to leave >> GUI mode...." dialog appears, except that there is no text, just the >> window frame and the buttons. You can enter text mode from here, and >> then everything works like it should. >> >> Any ideas how to debug this? > Probably the best way to debug this is to try and work out which > features aren't working correctly, and produce the minimal config > necessary to reproduce the bug. > > Which would be as simple as, > > menu background splash.png > > > FYI, I've grabbed the 12.10 Ubuntu install cd and am in the process of > debugging this. >I had to add at least one boot entry to get a working config, so I ended up with this isolinux.cfg: label live menu label ^Try Ubuntu without installing kernel /casper/vmlinuz append file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- menu background splash.png ui vesamenu.c32 This works. Now just substitute 'ui vesamenu.c32' with 'ui gfxboot bootlogo', and I get the described behaviour. I used isolinux-debug.bin this time, but the last line I get is "Initializing gfx code...", and then the screen goes black. Thanks, Andreas
On Wed, 03 Jul, at 03:02:19PM, Andreas Heinlein wrote:> I had to add at least one boot entry to get a working config, so I > ended up with this isolinux.cfg: > > label live > menu label ^Try Ubuntu without installing > kernel /casper/vmlinuz > append file=/cdrom/preseed/ubuntu.seed boot=casper > initrd=/casper/initrd.lz quiet splash -- > menu background splash.png > ui vesamenu.c32 > > This works. Now just substitute 'ui vesamenu.c32' with 'ui gfxboot > bootlogo', and I get the described behaviour. I used > isolinux-debug.bin this time, but the last line I get is > "Initializing gfx code...", and then the screen goes black.Right, unfortunately gfxboot.c32 is making use of the COMBOOT API which was deleted in 5.00 (it's done directly from 16-bit assembly so I didn't catch it when doing the removal). Which means that it's missing large parts of functionality, like being able to open and read/write files. I'll take a look at fixing this. -- Matt Fleming, Intel Open Source Technology Center
Matt Fleming wrote:> On Wed, 03 Jul, at 03:02:19PM, Andreas Heinlein wrote: >> I had to add at least one boot entry to get a working config, so I >> ended up with this isolinux.cfg: >> >> label live >> menu label ^Try Ubuntu without installing >> kernel /casper/vmlinuz >> append file=/cdrom/preseed/ubuntu.seed boot=casper >> initrd=/casper/initrd.lz quiet splash -- >> menu background splash.png >> ui vesamenu.c32 >> >> This works. Now just substitute 'ui vesamenu.c32' with 'ui gfxboot >> bootlogo', and I get the described behaviour. I used >> isolinux-debug.bin this time, but the last line I get is >> "Initializing gfx code...", and then the screen goes black. > > Right, unfortunately gfxboot.c32 is making use of the COMBOOT API which > was deleted in 5.00 (it's done directly from 16-bit assembly so I didn't > catch it when doing the removal). Which means that it's missing large > parts of functionality, like being able to open and read/write files. > > I'll take a look at fixing this.gfxboot.c32 is supposed to work as expected if you put all required files inside the bootlogo archive. Sebastian