VbE and eltorito questions
Hi, I'm in the process of porting some old "OS" I made to take advantage of GRUB's features. There are 2 things I currently need, for which I have partial solutions. But your master advice would be really wellcome! I need to load a big module (20Megs). This is no problem for GRUB, I can do it currently, but to test everything I'm using vmware and (now) an ISO image with eltorito (using stage2_eltorito from ubuntu's GRUB 0.95). I can also do it with and 0.97 I compiled. I also need to set the video mode before jumping to my kernel. Here's where the main problem comes in. I know I could do it if the multiboot part for this was finished in grub, and I'm willing to implement this support for grub (at least some partial support). This shouldn't be complicated after all the code GRUB already has for VBE support (both in Legacy and grub2). Now, I have two different problems: I can use vbeprobe and testvbe from ubuntu's 0.95. However, if I compile my own grub (either 0.95 with ubuntu's patches or stock 0.97) vbe doesn't really work. I get an empty list of available modes with vbeprobe, and an error message saying that 0xff00 is not a valid video mode. I don't know what's causing this. Ignoring this fact, I hacked a new command: setvbe that does what testvbe does, but doesn't exit the video mode nor waits a keypress. This is my first attempt at coding multiboot support for video mode selection. I also tried using GRUB2 for this, and found that I can set the video mode using "terminal vesafb" after doing "set vbe_mode=0x141" for example. This will change the video mode, and then continue with GRUB, letting me boot my "OS" without switching back to the original video mode (exactly what I need). However, I didn't find how to make an ISO image with GRUB2 (allowing me to load a 20MB module, which evidently doesn't feet in a floppy image :-) I have a few questions, any would solve my problem, but some will not let me implement video mode selection for multiboot. How do I do an ISO image with GRUB2? (a la stage2_eltorito)? How do I compile GRUB Legacy with vbe support? (any configuration trick?) How do I debug GRUB Legacy so I can find what the problem with vbe is? Do you think it's worth implementing the multiboot video mode selection for GRUB? thanks a lot gera PS: I read most GRUB's code looking for multiboot video mode selection code, but I couldn't find it. If it's there, please tell me how to use it! PS: When I say multiboot video mode selection I mean what's specified in http://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Header%20graphics%20fields ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: SOC - SGD based on grub2 - Menu and scripting status
5) I need to define "something" (In my grub legacy fork is a menu.lst) that lets me choose the harddisk-partition which I want to work on. Can I make it easily? I was thinking about an iterator function. Perhaps that might be the easiest to use... Please watch CVS closely. I am actively working on scripting, as much as time permits. An iterator function among the various partitions of a hard disk... that could be interesting. Unfortunately I can't watch CVS closely so I will wait till you announce it in this list. :) The iterator function should increment a variable for knowing the total amount of partitions on a given hard disk. adrian15 ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Changing the default OS
It's very interesting why people ask questions about GRUB Legacy here again and again, although I have written "Do not use this list for GRUB Legacy" in everywhere. Okuji Is it so difficult to rename mailing-lists ? Rename bug-grub to grub Rename grub-devel to grub2 or grubbeta and you will see how there are some changes. adrian15 ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Changing the default OS
adrian15 <[EMAIL PROTECTED]> writes: >> It's very interesting why people ask questions about GRUB Legacy >> here again and again, although I have written "Do not use this list >> for GRUB Legacy" in everywhere. >> Okuji > > Is it so difficult to rename mailing-lists ? It's besides the point. A development list is not appropriate for non-development stuff, I think that is quite obvious. A lot of projects even don't allow non project members to post on the devel list. -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: [patch] rename "grubof" to "grub"
Hollis Blanchard <[EMAIL PROTECTED]> writes: > On Apr 21, 2006, at 4:15 AM, Marco Gerards wrote: > >> Hollis Blanchard <[EMAIL PROTECTED]> writes: >> >>> This patch renames "grubof", the executable name for PPC and Sparc, to >>> "grub". I'm still not sure what the naming convention should be for >>> the executable output by grub-mkimage; I'm thinking maybe >>> "grub.ppc". It isn't an image ("grub.img"); it's still an ELF file... >> >> Personally I would prefer something like `_grub' so people see there >> is something special about it and just don't use it like that. After >> that the output file can just be called grub if people want that. > > What about "grubkernel" and "grub"? Or "grub.raw" and "grub"? I'd like > to try to stay within 8.3 naming for all files, since people will be > deploying the end result on FAT filesystems. _grub works on fat. We use an underscore for the rescue mode chainloader on the PC as well. Personally I prefer something like this or another obscure name that scares people. :-) -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: Problems with GRUB2 on PPC
Hollis Blanchard <[EMAIL PROTECTED]> writes: > On Apr 19, 2006, at 12:53 PM, Jordi Mallach wrote: >> >> Hardware: >> Apple PowerBook G4 15" 750Mhz, purchased on January 2005. > > This can't be right. Anyways, the most important question: what sort > of video card is it? > >> OS: Debian unstable and Ubuntu dapper installed. >> >> 1st problem: when creating grub.cfg, I accidentally leftout the ".img" >> suffix from the initrd line. When grub whined about a file not found, I >> tab-completed it, but the changes wouldn't take effect until I manually >> corrected it in grub.cfg after booting with yaboot. > > Marco, do you know if this would have been something broken recently > with the scripting changes? Not that I know of, but there are surely bugs. If you can reproduce something, please tell me. -- Marco ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel
Re: HELP! CVS problems
I was using a pre-compiled cvs binary 1.12.13. I used an older binary,1.11.17 and that worked ok. Thanks.billOn 5/1/06, Marco Gerards < [EMAIL PROTECTED]> wrote:Bill Ricker < [EMAIL PROTECTED]> writes:> I'm trying to sync up my port of grub2 1.93 from 1.91 with the latest> bits. cvs is hanging trying to update grub2/video/i386/pc/vbe.c. It> hangs in the same place when just trying to check out the entire tree > to an empty directory.> Output of the later is below. Any help would be greatly> appreciated. Note in the grub2/video/i386/pc there is a zero length> file .new.vbeblit.cWeird. I just checked out from CVS and it went ok. It even built. ;-)The file you described can not be found here:http://cvs.savannah.gnu.org/viewcvs/grub2/video/i386/pc/?root=grub I expect some file damaged locally at your place. Perhaps you canmake a new checkout?--Marco___Grub-devel mailing list Grub-devel@gnu.orghttp://lists.gnu.org/mailman/listinfo/grub-devel ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel