{"id":7816,"date":"2023-01-11T19:52:12","date_gmt":"2023-01-11T10:52:12","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=7816"},"modified":"2023-08-28T00:41:53","modified_gmt":"2023-08-27T15:41:53","slug":"linux%e3%81%aeuefi%e3%81%a7%e3%81%ae%e8%b5%b7%e5%8b%95%e3%81%ae%e6%b5%81%e3%82%8c%e3%82%92%e6%95%b4%e7%90%86%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/7816","title":{"rendered":"Linux\u306e\u8d77\u52d5\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\uff01\uff08UEFI\uff09"},"content":{"rendered":"<p>Linux\u306eUEFI\u3067\u306e\u8d77\u52d5\u306e\u6d41\u308c\u3092\u6574\u7406\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u96fb\u6e90ON\u306b\u3088\u308a\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\uff08UEFI\uff09\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>\u96fb\u6e90\u3092ON\u306b\u3059\u308b\u3068\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\uff08UEFI\uff09\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u3001\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\uff08GRUB\uff09\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306f\u3001\/boot\/efi\/EFI\/BOOT\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u901a\u5e38\u306f\u3001\u300cBOOTX64.EFI\u300d\u304c\u8d77\u52d5\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# ls -l \/boot\/efi\/EFI\/BOOT\r\ntotal 1860\r\n-rwx------ 1 root root 955656 12\u6708 27 21:07 BOOTX64.EFI\r\n-rwx------ 1 root root  85672 12\u6708 27 21:07 fbx64.efi\r\n-rwx------ 1 root root 856232 12\u6708 27 21:07 mmx64.efi\r\n<\/pre>\n<p>GRUB\u306e\u8a2d\u5b9a\u306f\u300c\/etc\/default\/grub\u300d\u3067\u884c\u3044\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u300cupdate-grub\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u5b9f\u969b\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u300c\/boot\/grub\/grub.cfg\u300d\u3092\u751f\u6210\u3059\u308b\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\uff08UEFI\uff09\u304c\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\uff08GRUB\uff09\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306f\u3001GPT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u4e0a\u306e\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\uff08GRUB\uff09\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\uff08GRUB\uff09\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u306e\u5834\u6240\u3092\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30b9\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u8d77\u52d5\u3059\u308b\u30ab\u30fc\u30cd\u30eb\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ab\u30fc\u30cd\u30eb\u306f\u3001\/boot\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002vmlinuz\u3067\u59cb\u307e\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u30ab\u30fc\u30cd\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# ls -l \/boot\r\ntotal 428736\r\n-rw-r--r--. 1 root root    212835 Nov 29 03:56 config-5.14.0-162.6.1.el9_1.0.1.x86_64\r\n-rw-r--r--. 1 root root    207684 Jul 14 03:35 config-5.14.0-70.17.1.el9_0.x86_64\r\n-rw-r--r--. 1 root root    207885 Sep 21 03:05 config-5.14.0-70.26.1.el9_0.x86_64\r\ndrwxr-xr-x. 3 root root        17 Nov  3 07:20 efi\r\ndrwx------. 5 root root        97 Jan 10 22:02 grub2\r\n-rw-------. 1 root root 110141054 Nov  3 07:26 initramfs-0-rescue-d7818b80129a422a853325243ce5eef3.img\r\n-rw-------. 1 root root  56135677 Jan  5 19:12 initramfs-5.14.0-162.6.1.el9_1.0.1.x86_64.img\r\n-rw-------. 1 root root  34781184 Dec 14 06:12 initramfs-5.14.0-162.6.1.el9_1.0.1.x86_64kdump.img\r\n-rw-------. 1 root root  55020479 Dec 10 12:03 initramfs-5.14.0-70.17.1.el9_0.x86_64.img\r\n-rw-------. 1 root root  31867392 Nov  3 07:40 initramfs-5.14.0-70.17.1.el9_0.x86_64kdump.img\r\n-rw-------. 1 root root  55021879 Dec 10 12:06 initramfs-5.14.0-70.26.1.el9_0.x86_64.img\r\n-rw-------. 1 root root  34404352 Dec 10 12:07 initramfs-5.14.0-70.26.1.el9_0.x86_64kdump.img\r\ndrwxr-xr-x. 3 root root        21 Nov  3 07:23 loader\r\nlrwxrwxrwx. 1 root root        55 Dec 10 12:03 symvers-5.14.0-162.6.1.el9_1.0.1.x86_64.gz -&gt; \/lib\/modules\/5.14.0-162.6.1.el9_1.0.1.x86_64\/symvers.gz\r\nlrwxrwxrwx. 1 root root        51 Nov  3 07:25 symvers-5.14.0-70.17.1.el9_0.x86_64.gz -&gt; \/lib\/modules\/5.14.0-70.17.1.el9_0.x86_64\/symvers.gz\r\nlrwxrwxrwx. 1 root root        51 Nov  3 07:49 symvers-5.14.0-70.26.1.el9_0.x86_64.gz -&gt; \/lib\/modules\/5.14.0-70.26.1.el9_0.x86_64\/symvers.gz\r\n-rw-------. 1 root root   5316561 Nov 29 03:56 System.map-5.14.0-162.6.1.el9_1.0.1.x86_64\r\n-rw-------. 1 root root   5258206 Jul 14 03:35 System.map-5.14.0-70.17.1.el9_0.x86_64\r\n-rw-------. 1 root root   5258266 Sep 21 03:05 System.map-5.14.0-70.26.1.el9_0.x86_64\r\n-rwxr-xr-x. 1 root root  11172256 Nov  3 07:25 vmlinuz-0-rescue-d7818b80129a422a853325243ce5eef3\r\n-rwxr-xr-x. 1 root root  11651584 Nov 29 03:56 vmlinuz-5.14.0-162.6.1.el9_1.0.1.x86_64\r\n-rwxr-xr-x. 1 root root  11172256 Jul 14 03:35 vmlinuz-5.14.0-70.17.1.el9_0.x86_64\r\n-rwxr-xr-x. 1 root root  11170656 Sep 21 03:05 vmlinuz-5.14.0-70.26.1.el9_0.x86_64\r\n<\/pre>\n<h2>\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u304c\u30ab\u30fc\u30cd\u30eb\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u306f\u3001\u9078\u629e\u3055\u308c\u305f\u30ab\u30fc\u30cd\u30eb\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u70b9\u3067\u306f\u3001\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306f\u307e\u3060\u30de\u30a6\u30f3\u30c8\u3055\u308c\u305a\u3001\u30ab\u30fc\u30cd\u30eb\u306fRAM\u30c7\u30a3\u30b9\u30af\u3092\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u4f7f\u7528\u3055\u308c\u308b\u306e\u304c\u3001initramfs\u3067\u59cb\u307e\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<h2>\u30ab\u30fc\u30cd\u30eb\u304c\u5b9f\u969b\u306e\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\uff01<\/h2>\n<p>\u30ab\u30fc\u30cd\u30eb\u304c\u5b9f\u969b\u306e\u30c7\u30a3\u30b9\u30af\u4e0a\u306e\u30eb\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ab\u30fc\u30cd\u30eb\u304cSystemd\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>\u30ab\u30fc\u30cd\u30eb\u304c\u30d7\u30ed\u30bb\u30b9\u756a\u53f7\u300c1\u300d\u306eSystemd\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h2>Systemd\u304cOS\u306e\u7a3c\u50cd\u74b0\u5883\u3092\u6574\u3048bash\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>Systemd\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u76ee\u6307\u3057\u3066\u3001\u8ffd\u52a0\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30de\u30a6\u30f3\u30c8\u3084\u5fc5\u8981\u306a\u30d7\u30ed\u30bb\u30b9\u306e\u8d77\u52d5\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u74b0\u5883\u306a\u3069\u3092\u6574\u3048\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067bash\u3092\u8d77\u52d5\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u5f85\u3061\u306e\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>Linux\u8d77\u52d5\u6642\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>Linux\u8d77\u52d5\u6642\u306e\u30ed\u30b0\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002\u78ba\u8a8d\u3067\u304d\u308b\u306e\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u8d77\u52d5\u5f8c\u306e\u30ed\u30b0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ journalctl --dmesg\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Linux\u306e\u7a3c\u50cd\u74b0\u5883\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u306f\u3001Linux\u306e\u8d77\u52d5\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002Linux\u306e\u8d77\u52d5\u306e\u4ed5\u7d44\u307f\u3092\u6574\u3048\u308b\u3053\u3068\u3067\u3001\u76ee\u7684\u306e\u7a3c\u50cd\u74b0\u5883\u3092\u6574\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14075\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306b\u5171\u901a\u3059\u308b\u5185\u5bb9\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306b\u5171\u901a\u3059\u308b\u5185\u5bb9\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u308b\uff01<\/div><div class=\"substr\">Linux\u306b\u5171\u901a\u3059\u308b\u5185\u5bb9\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u306eUEFI\u3067\u306e\u8d77\u52d5\u306e\u6d41\u308c\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[196],"tags":[282,746,745,557],"class_list":["post-7816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-topics","tag-linux","tag-uefi","tag-745","tag-557"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=7816"}],"version-history":[{"count":5,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7816\/revisions"}],"predecessor-version":[{"id":14483,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7816\/revisions\/14483"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=7816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=7816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=7816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}