[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel modesetting - set only at boot, or changeable?



On Sun, 18 Mar 2012 22:40:46 -0400, Dan B. wrote:

> Jörg-Volker Peetz wrote:
>> The resolution can be changed with KMS activated, e.g., with xrandr
>> when X is running.
>> Further reading:
>> http://linux.koolsolutions.com/2009/11/02/howto-enabling-kernel-mode-setting-kms-in-debian-linux-kernel/
>> http://en.gentoo-wiki.com/wiki/Radeon


(...)

> I want to override Linux's auto-detection and just set the video
> resolution to 1920x1080 so that the resolution won't depend on the KVM
> switch state at boot time.
> 
> Although I can set the video mode in Grub's command line for the kernel,
> I'd really prefer to do it somewhere in the booted system (e.g., via
> /etc/init.d/... and /etc/defaults/... or whatever) rather than in Grub
> on my shared /boot partition (which could get clobbered more easily).)

I'd go ahead with editing the "/etc/default/grub" file to setup a static 
resolution for your console. The settings you edit here won't be 
overwritten because it's not under your shared "/boot" partition.

Greetings,

-- 
Camaleón


Reply to: