--- trunk/installer/include/hwdetection.sh 2010/05/30 18:37:54 1035 +++ trunk/installer/include/hwdetection.sh 2010/05/31 22:03:51 1065 @@ -283,8 +283,15 @@ # http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt # EOF - # default config 1024x768 and 60 HZ - echo "options uvesafb mode_option=1024x768-32@60 scroll=ywrap" >> ${uvesafb_config} + # fix a issues with virtualbox and 'ywrap' + if [[ ! -z $(hwinfo --bios | grep -i virtualbox) ]] + then + # use redraw on virtualbox + echo "options uvesafb mode_option=1024x768-32@60 scroll=redraw" >> ${uvesafb_config} + else + # default config 1024x768 and 60 HZ + echo "options uvesafb mode_option=1024x768-32@60 scroll=ywrap" >> ${uvesafb_config} + fi fi # remove all duplicate modules