不過這樣的方式是針對採用vesa_fb驅動程式環境,並不適用Hyper-V上的CentOS,
主要是CentOS 6.4 6.5 已內建Hyper-v環境下相關的驅動程式,顥示介面用的是hyper_fb,
如果加入vga=xxx會導致開機失敗 ,需改用 video=hyperv_fb:800x600 參數進行切換
編輯 /etc/grup.conf
在 口 rhgb quit後方加入下列設定
video=hyperv_fb:800x600
依照Linux Cross Reference 提供hyper_fb相關資訊 , 預設解析度為 1152x864
http://lxr.free-electrons.com/source/drivers/video/hyperv_fb.c
* Hyper-V Synthetic Video Frame Buffer Driver This is the driver for the Hyper-V Synthetic Video, which supports screen resolution up to Full HD 1920x1080 with 32 bit color on Windows Server 2012, and 1600x1200 with 16 bit color on Windows Server 2008 R2 or earlier. It also solves the double mouse cursor issue of the emulated video mode. The default screen resolution is 1152x864, which may be changed by a kernel parameter: video=hyperv_fb:<width>x<height> For example: video=hyperv_fb:1280x1024 Portrait orientation is also supported: For example: video=hyperv_fb:864x1152
PS : 從CentOS 6.4以後,已不需要再安裝 Linux Integration Services ,請參考下列網址
http://technet.microsoft.com/en-us/library/dn531026.aspx
沒有留言:
張貼留言