{"id":2378,"date":"2025-07-13T20:20:42","date_gmt":"2025-07-13T18:20:42","guid":{"rendered":"https:\/\/artheodoc.fr\/?p=2378"},"modified":"2025-07-14T09:46:05","modified_gmt":"2025-07-14T07:46:05","slug":"modifier-le-fichier-de-configuration-de-grub","status":"publish","type":"post","link":"https:\/\/artheodoc.fr\/index.php\/2025\/07\/13\/modifier-le-fichier-de-configuration-de-grub\/","title":{"rendered":"Modifier le fichier de configuration de GRUB"},"content":{"rendered":"\n<p><em>Exemple avec un dual boot Windows 10&nbsp;\/ Linux mint 22.1<\/em><\/p>\n\n\n\n<p>\u00c9ditez le fichier de configuration de GRUB avec les droits superutilisateur\u00a0(<a href=\"https:\/\/artheodoc.fr\/index.php\/lediteur-de-texte-nano\/\" data-type=\"page\" data-id=\"972\" target=\"_blank\" rel=\"noreferrer noopener\">nano<\/a>) :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>sudo nano \/etc\/default\/grub<\/strong><\/pre>\n\n\n\n<p>Une fois le fichier modifi\u00e9 mettez \u00e0 jour GRUB pour appliquer les changements :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>sudo update-grub<\/strong><\/pre>\n\n\n\n<p>R\u00e9d\u00e9marrez votre ordinateur&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>sudo reboot<\/strong><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Exemples de valeurs que l\u2019on peut modifier<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Pour modifier le temps d&rsquo;attente<\/strong><\/p>\n\n\n\n<p>On peut changer la valeur de GRUB_TIMEOUT \u00e0 un nombre inf\u00e9rieur pour r\u00e9duire le temps d&rsquo;attente au d\u00e9marrage&nbsp;:<\/p>\n\n\n\n<p><strong>GRUB_TIMEOUT=10<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Pour que le menu de GRUB soit visible au d\u00e9marrage<\/strong><\/p>\n\n\n\n<p>On peut remplacer <code><strong>GRUB_TIMEOUT_STYLE=hidden<\/strong> (le menu de GRUB est masqu\u00e9 on doit appuyer sur la touche <strong>[Shift]<\/strong>) par <strong>GRUB_TIMEOUT_STYLE=menu<\/strong> (le menu GRUB est toujours affich\u00e9 au d\u00e9marrage, et le compte \u00e0 rebours est \u00e9galement visible).<\/code><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><code><strong>Pour avoir l\u2019affichage des informations lors du d\u00e9marrage<\/strong><\/code><\/p>\n\n\n\n<p><code>On peut remplacer <\/code><code><strong>GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash\"<\/strong><\/code><code> par <\/code><code><strong>GRUB_CMDLINE_LINUX_DEFAULT=\"text\"<\/strong><\/code><code> pour que les informations s\u2019affichent lors du d\u00e9marrage de Linux.<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exemple avec un dual boot Windows 10&nbsp;\/ Linux mint 22.1 \u00c9ditez le fichier de configuration de GRUB avec les droits superutilisateur\u00a0(nano) : sudo nano \/etc\/default\/grub Une fois le fichier modifi\u00e9 mettez \u00e0 jour GRUB pour appliquer les changements : sudo update-grub R\u00e9d\u00e9marrez votre ordinateur&nbsp;: sudo reboot Exemples de valeurs que l\u2019on peut modifier Pour modifier [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[77,96],"tags":[104,78,40],"class_list":["post-2378","post","type-post","status-publish","format-standard","hentry","category-linux","category-linux-mint","tag-grub","tag-linux","tag-linux-mint"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=2378"}],"version-history":[{"count":4,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2378\/revisions"}],"predecessor-version":[{"id":2384,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/2378\/revisions\/2384"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/categories?post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/tags?post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}