Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: ezee on June 30, 2010, 04:48:53 PM
-
im using microcore, w/ grub-0.97-splash installed using tce-load, no probs.
I'd like to modify the grub source code and then re-install it. Can I do that easily with tce?
I can always download the original grub 0.97 source, modify it, and ./configure /make install, but I'd like to stay within tce if I can, it works really great.
Can I like use tce to get the source, modify it, and then have tce point to that source on my local box?
-
There's no automatic facility for source -> binaries -> tcz extension. The source for the grub extension is at
ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/2.x/tcz/src/grub-0.97-patched.tbz2 (ftp://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/2.x/tcz/src/grub-0.97-patched.tbz2)
-
any idea how to change the size of the box on the grub screen? pretty sure its in grub-0.97-fixes-1.patch, but no idea what params to change. I'm going to try to change box_size = 12 to something smaller and see what that does.
Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
Date: 2006-07-04
Initial Package Version: 0.97
<SNIP>
+ col_start = 0;
+ col_end = 80;
+ row_start = 0;
+ box_size = 12;
+ /* if we're using viewport we need to make sure to setup
+ coordinates correctly. */
+#ifdef SUPPORT_GRAPHICS
+ if (grub_memcmp (current_term->name, "graphics", sizeof ("graphics") - 1) == 0)
+ {
+ col_start = view_x0;
+ col_end = view_x1;
+ row_start = view_y0;
+ box_size = (view_y1 - view_y0) - 13;
+ }
+#endif
+