Snake wrote:
Can't we just use the grub supplied with various distributions to make another floppy drive grub bootable by using grub-install command?
Many distributions enable splashimage, but I haven't seen any use the vbeset patch for Multiboot kernels. Why should they? They only have to load the Linux kernel
I have seen some distributions (openSUSE) that just pass a VBE mode number as a kernel argument and then it is up to the kernel to set the VBE mode.
whiteOS wrote:
try setting this line at the end of your menu.lst:
vbeset 0x117
that should be 1024X768X16 mode, and it works for me.
Does it work for you in Bochs/QEMU too? I have to try on a real machine, but I just had the time yet. The only pc I have (IBM X41 laptop) does not have a cd-drive, so I have to install the patched GRUB in order to test it. I will eventually.
whiteOS wrote:
I of course see nothing sense i no have vbe address mapped, still trying to find a way to get address from grub.
Hmm... it seems the vbeset patch isn't "finished". It does not transfer the VBE info to the kernel. Look in the patch file. There's a comment saying "give it to the kernel", but no code:
Code:
--- grub-0.97/stage2/boot.c Tue Mar 30 11:44:08 2004
+++ grub-0.97/stage2/boot.c Thu Nov 23 20:26:17 2006
@@ -87,6 +87,13 @@
}
type = KERNEL_TYPE_MULTIBOOT;
str2 = "Multiboot";
+
+ /* Check to see if the kernel wants a video mode */
+ if ( (flags & MULTIBOOT_VIDEO_MODE) != 0 )
+ {
+ // ... give it to the kernel
+ }
+
break;
}
}