in debian lenny default console resolution is very low, so to change it to the one i want i edited /boot/grub/menu.lst file, added vga=ask. and it looks like this
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro quiet vga=ask
so before linux boot i can choose the resolution. i choose 1024x768 8bit, which code is 305. at this time everything seems ok. so when the os is loaded i change vga=ask to vga=305 and after next restart i have black screen when linux is loading in console. it disapears only when X starts. anyone has an idea why is so?