[all variants] setting nomodeset with Grub

view story

http://ubuntuforums.org – Hi, I have a machine that has a dual boot configuration with Ubuntu and Slackware and I need nomodeset for both. For Ubuntu, I can specify nomodeset in /etc/default/grub, but how can I set it for slackware ? Per my undestanding, modifying /boot/grub/grub.cfg isn't a good idea as it gets overridden everytime Grub gets updated, and one option I can think of is modifying 30_os_prober in a way that automatically includes nomodeset for other Linux in grub.cfg. or is there any other way to set nomodeset for other OS' in different partitions ? (Hardware)