{"id":1663,"date":"2015-03-03T20:08:33","date_gmt":"2015-03-04T03:08:33","guid":{"rendered":"https:\/\/www.netometer.com\/blog\/?p=1663"},"modified":"2025-10-21T17:46:00","modified_gmt":"2025-10-22T00:46:00","slug":"hyper-v-how-to-change-screen-resolution-in-centos-red-hat-virtual-machines","status":"publish","type":"post","link":"https:\/\/www.netometer.com\/blog\/?p=1663","title":{"rendered":"Hyper-V: How to Change Screen Resolution in CentOS \/ Red Hat Virtual Machines"},"content":{"rendered":"<p>&nbsp;<\/p>\n<div class=\"gk-legend\" data-style=\"style3\"><strong>Free Video :<\/strong><strong>Hyper-V: Change Resolution in CentOS (Red Hat) VM<br \/>\n<\/strong><\/div>\n<p>One of the common problems that you hit when installing the GUI in a CentOS (Red Hat) Hyper-V guest is changing the default screen resolution &#8211; 1152&#215;864. Most of the published solutions are for Ubuntu Hyper-V guests, and if you&#8217;ve come here, you are probably aware that they are not applicable for CentOS and Red Hat VMs.<\/p>\n<p>In this short video, we demonstrate how to change the screen resolution in CentOS and Red Hat Hyper-V Virtual Machines using the grubby tool. The instructions are valid for both version 6 and version 7 of the OS. For your convenience, we provide the commands that we are using in the video:<br \/>\n# Use &#8220;grubby&#8221; to update all current and future kernels passing the video argument<br \/>\n# for the Microsoft Hyper-V Synthetic Video Frame Buffer driver<br \/>\ngrubby &#8211;update-kernel=ALL &#8211;args=&#8221;video=hyperv_fb:<strong><span style=\"color: #ff9900;\">1024&#215;768<\/span><\/strong>&#8221;<\/p>\n<p># A reboot is required to apply the changes:<br \/>\nreboot<\/p>\n<p><a class=\"twitter-hashtag-button\" title=\"#HyperV #CentOS\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=HyperV CentOS\">Tweet #HyperV #CentOS<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><\/p>\n<div id=\"kgvid_kgvid_0_wrapper\" class=\"kgvid_wrapper\">\n\t\t\t<div id=\"video_kgvid_0_div\" class=\"fitvidsignore kgvid_videodiv\" data-id=\"kgvid_0\" data-kgvid_video_vars=\"{&quot;id&quot;:&quot;kgvid_0&quot;,&quot;attachment_id&quot;:1683,&quot;player_type&quot;:&quot;Video.js v8&quot;,&quot;width&quot;:&quot;800&quot;,&quot;height&quot;:&quot;600&quot;,&quot;fullwidth&quot;:&quot;false&quot;,&quot;fixed_aspect&quot;:&quot;false&quot;,&quot;countable&quot;:true,&quot;count_views&quot;:&quot;quarters&quot;,&quot;start&quot;:&quot;&quot;,&quot;autoplay&quot;:&quot;false&quot;,&quot;pauseothervideos&quot;:&quot;false&quot;,&quot;set_volume&quot;:&quot;1&quot;,&quot;muted&quot;:&quot;false&quot;,&quot;meta&quot;:true,&quot;endofvideooverlay&quot;:&quot;&quot;,&quot;resize&quot;:&quot;true&quot;,&quot;auto_res&quot;:&quot;automatic&quot;,&quot;pixel_ratio&quot;:&quot;true&quot;,&quot;right_click&quot;:&quot;on&quot;,&quot;playback_rate&quot;:&quot;false&quot;,&quot;title&quot;:&quot;Hyper-V: How to Change Resolution in CentOS\\\/Red Hat Virtual Machines&quot;,&quot;skip_buttons&quot;:[],&quot;nativecontrolsfortouch&quot;:&quot;true&quot;,&quot;locale&quot;:&quot;en&quot;,&quot;enable_resolutions_plugin&quot;:false}\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/HyperV-CentOS-Red-Hat-Change-Resolution_thumb20.jpg\"><meta itemprop=\"embedUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/HyperV-CentOS-Red-Hat-Change-Resolution.mp4\"><meta itemprop=\"contentUrl\" content=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/HyperV-CentOS-Red-Hat-Change-Resolution.mp4\"><meta itemprop=\"name\" content=\"Hyper-V: How to Change Resolution in CentOS\/Red Hat Virtual Machines\"><meta itemprop=\"description\" content=\"HyperV CentOS change resolution\"><meta itemprop=\"uploadDate\" content=\"2015-03-03T20:06:06-07:00\">\n\t\t\t\t<video id=\"video_kgvid_0\" playsinline controls preload=\"metadata\" poster=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/HyperV-CentOS-Red-Hat-Change-Resolution_thumb20.jpg\" width=\"800\" height=\"600\" class=\"fitvidsignore video-js kg-video-js-skin\">\n\t\t\t\t\t<source src=\"https:\/\/www.netometer.com\/blog\/wp-content\/uploads\/HyperV-CentOS-Red-Hat-Change-Resolution.mp4?id=0\" type=\"video\/mp4\" data-res=\"600p\">\n\t\t\t\t<\/video>\n\t\t\t<\/div>\n\t\t\t<div style=\"display:none\" id=\"video_kgvid_0_meta\" class=\"kgvid_video_meta kgvid_video_meta_hover \">\n\t\t\t\t<span class='kgvid_meta_icons'><\/span>\n\t\t\t\t<span id='video_kgvid_0_title' class='kgvid_title'>Hyper-V: How to Change Resolution in CentOS\/Red Hat Virtual Machines<\/span>\n<\/div>\n\t\t<\/div>\n<p style=\"text-align: right;\">\n<a class=\"twitter-hashtag-button\" title=\"Linux\" href=\"https:\/\/twitter.com\/intent\/tweet?button_hashtag=Linux\">Tweet #Linux<\/a> <a class=\"twitter-follow-button\" href=\"https:\/\/twitter.com\/netometer\" data-show-count=\"false\">Follow @netometer<\/a><\/p>\n<ul data-style=\"style5\">\n<li><a title=\"Hyper-V: How to Change Screen Resolution in Ubuntu Virtual Machines\" href=\"https:\/\/www.netometer.com\/blog\/?p=1695\" target=\"_blank\" rel=\"noopener\">Hyper-V: How to Change Screen Resolution in Ubuntu Virtual Machines<\/a><\/li>\n<li><a title=\"How to Install Exchange 2013\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/How-to-Install-Exchange-2013\" target=\"_blank\" rel=\"noopener\">How to Install Exchange 2013<\/a><\/li>\n<li><a title=\"Configure Outlook Anywhere in Exchange 2007\" href=\"https:\/\/www.netometer.com\/video\/tutorials\/windows-2008-how-to-configure-outlook-anywhere-exchange-2007\" target=\"_blank\" rel=\"noopener\">How to Configure Outlook Anywhere in Exchange Server 2007<\/a><\/li>\n<li><a title=\"How to Install WordPress on Windows Server 2012\" href=\"https:\/\/www.netometer.com\/blog\/?p=1029\" target=\"_blank\" rel=\"noopener\">How to Install WordPress on Windows Server 2012<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this short video, we demonstrate how to change the screen resolution in CentOS and Red Hat Hyper-V Virtual Machines using the grubby tool.<\/p>\n","protected":false},"author":1,"featured_media":1684,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[343,15],"tags":[464,466,463,465],"_links":{"self":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1663"}],"collection":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1663"}],"version-history":[{"count":0,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1684"}],"wp:attachment":[{"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netometer.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}