Closed GoogleCodeExporter closed 8 years ago
I suppose you may use
setvbe 1024x768x16
and then the kernel command with its arguments followed by the initrd command.
And the source code needn't change.
Original comment by tinyb...@gmail.com
on 15 Jun 2012 at 4:12
Thanks for the reply, it was spot-on. The issue can be closed, I ended up
adding a fallback entry:
=====
title Image-1024x768x32
setvbe 0x118 || fallback --go 1
kernel /... vga=792
title Image-1024x768x16
setvbe 0x117
kernel /... vga=791
=====
Something like
mode=792
setvbe 0x118 || set mode=791
kernel /... vga=$mode
would have been even easier but as far as I know, assigning custom variables
isn't supported.
Original comment by har...@gmail.com
on 16 Jul 2012 at 10:41
[deleted comment]
Hmm, vga=%mode% actually works. I wish I had tried this.
Original comment by har...@gmail.com
on 16 Jul 2012 at 10:52
Original comment by tinyb...@gmail.com
on 23 Oct 2012 at 6:44
Original issue reported on code.google.com by
har...@gmail.com
on 14 Jun 2012 at 2:55