{"id":3019,"date":"2023-08-01T09:24:24","date_gmt":"2023-08-01T00:24:24","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/?page_id=3019"},"modified":"2026-01-27T12:42:09","modified_gmt":"2026-01-27T12:42:09","slug":"debian%e5%ae%9f%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%ae%e5%be%a9%e6%97%a7","status":"publish","type":"page","link":"https:\/\/je1sgh.mydns.jp\/?page_id=3019","title":{"rendered":"Debian\u5b9f\u30de\u30b7\u30f3\u306e\u5fa9\u65e7"},"content":{"rendered":"\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1110\">Tech<\/a> &gt; <a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2320\" data-type=\"page\" data-id=\"2320\">Linux<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e8f<\/h2>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u306f\uff0c<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=21759\">2023\u5e747\u670831\u65e5\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b<\/a>\u3092\u5143\u306b\u307e\u3068\u3081\u307e\u3057\u305f\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u30b3\u30d4\u30fc<\/h2>\n\n\n\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u306a\u3044\u3068\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306a\u308a\u307e\u3059\u306e\u3067\uff0c\u3053\u306e\u8a18\u4e8b\u306e\u524d\u63d0\u3092\u9038\u8131\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=21706\">\u7b46\u8005\u306e2023\u5e747\u6708\u306e\u4e8b\u4f8b<\/a>\u3067\u306f\uff0c\u5b9f\u30de\u30b7\u30f3\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u304b\u3089\u306e\u30b3\u30d4\u30fc\u30d0\u30c3\u30af\u3092\u305d\u308c\u305e\u308c\u8a66\u3057\uff0c\u4eee\u60f3\u30de\u30b7\u30f3\u304b\u3089\u306e\u3082\u306e\u304c\u5148\u306b\u6210\u529f\u3057\u307e\u3057\u305f<sup data-fn=\"109186d5-4888-460b-a573-bb83b0f193e5\" class=\"fn\"><a href=\"#109186d5-4888-460b-a573-bb83b0f193e5\" id=\"109186d5-4888-460b-a573-bb83b0f193e5-link\">1<\/a><\/sup>\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">chroot<\/h2>\n\n\n\n<p>Debian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8<sup data-fn=\"f68001cc-598e-4f7c-b51e-9557ed490b58\" class=\"fn\"><a href=\"#f68001cc-598e-4f7c-b51e-9557ed490b58\" id=\"f68001cc-598e-4f7c-b51e-9557ed490b58-link\">2<\/a><\/sup>\u304b\u3089Rescue\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3059\u308b\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092 <code>\"\/\"<\/code> \u306b<code>chroot<\/code>\u3057\u3066\u304f\u308c\u307e\u3059\u304c\uff0c\u3053\u306e\u72b6\u614b\u304b\u3089<code>efibootmgr<\/code>\u3092\u8d77\u52d5\u3057\u3066\u3082\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u4e8b\u524d\u6e96\u5099\u304c\u4e0d\u5341\u5206\u306e\u3088\u3046\u3067\u3059<sup data-fn=\"e6a2f94c-638e-4ac2-afb1-f064796340d5\" class=\"fn\"><a href=\"#e6a2f94c-638e-4ac2-afb1-f064796340d5\" id=\"e6a2f94c-638e-4ac2-afb1-f064796340d5-link\">3<\/a><\/sup>\uff0e<\/p>\n\n\n\n<p>\u305d\u3053\u3067\uff0c\u4ed6\u306e\u52d5\u304f\u5b9f\u30de\u30b7\u30f3<sup data-fn=\"ee47abb2-14e9-4c0c-9302-60228ac5cee9\" class=\"fn\"><a href=\"#ee47abb2-14e9-4c0c-9302-60228ac5cee9\" id=\"ee47abb2-14e9-4c0c-9302-60228ac5cee9-link\">4<\/a><\/sup>\u306e\u9069\u5f53\u306a\u5834\u6240\uff08\u305f\u3068\u3048\u3070<code>\/mnt\/hd<\/code>\uff09\u306b\u5fa9\u65e7\u3055\u305b\u305f\u3044Debian\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root #mount --types proc \/proc \/mnt\/hd\/proc\nroot #mount --rbind \/sys \/mnt\/hd\/sys\nroot #mount --make-rslave \/mnt\/hd\/sys\nroot #mount --rbind \/dev \/mnt\/hd\/dev\nroot #mount --make-rslave \/mnt\/hd\/dev\nroot #mount --bind \/run \/mnt\/hd\/run\nroot #mount --make-slave \/mnt\/hd\/run <\/pre>\n\n\n\n<p>\u3068\u3044\u3046\u5177\u5408\u306b<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2814\">\u304a\u81b3\u7acb\u3066<\/a>\u3057\u3066\u304b\u3089\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root #chroot \/mnt\/hd \/bin\/bash\nroot #source \/etc\/profile\nroot #export PS1=\"(chroot) ${PS1}\"<\/pre>\n\n\n\n<p>\u3068\u3057\u3066\uff0c\u3055\u3089\u306bDebian\u5b9f\u30de\u30b7\u30f3\u7528\u306eEFI\u306b\u3057\u3066\u3044\u308b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3<sup data-fn=\"a4bed27a-f093-4276-b79c-5b890b12b359\" class=\"fn\"><a href=\"#a4bed27a-f093-4276-b79c-5b890b12b359\" id=\"a4bed27a-f093-4276-b79c-5b890b12b359-link\">5<\/a><\/sup>\u3092<code>\/boot\/efi<\/code>\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u304b\u3089\uff0c<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2591\">UEFI+Grub2<\/a>\u306e\u624b\u9806\u306b\u3057\u305f\u304c\u3063\u3066\uff0cEFI\u3068Grub\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5236\u7d04\u6761\u4ef6<\/h2>\n\n\n\n<p>\u5143\u304c\u4eee\u60f3\u30de\u30b7\u30f3\u304b\u5b9f\u30de\u30b7\u30f3\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3068\u3044\u3046\u306e\u306f\u672c\u8cea\u7684\u306a\u554f\u984c\u3067\u306a\u304f\uff0c\u5236\u7d04\u6761\u4ef6\u3068\u306a\u308b\u306e\u306f\u30d9\u30fc\u30b9\u306e\u30de\u30b7\u30f3\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u306ekernel\u3084firmware\u306b\u5927\u304d\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u9055\u3044\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u306e\u3088\u3046\u3067\u3059\uff0e<\/p>\n\n\n\n<p>\u4e00\u5e74\u524d\u306e\u5b9f\u30de\u30b7\u30f3bullseye\u3092\u5fa9\u5143\u3059\u308b\u969b\uff0c\u6700\u65b0\u306emanjaro\u306e\u3082\u3068\u3067\u306f\uff0c<code>grub-install<\/code>\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e\u89e3\u6c7a\u6cd5\u3068\u3057\u3066\u306f\uff0c\u30bf\u30fc\u30b2\u30c3\u30c8\u306ebullseye\u3092chroot\u3057\u305f\u72b6\u614b\u3067bookworm\u306bupgrade\u3059\u308b\u3053\u3068\u3067\uff0c\u30a8\u30e9\u30fc\u306a\u304f<code>grub-install<\/code>\u304c\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\uff0e<\/p>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"109186d5-4888-460b-a573-bb83b0f193e5\">\u5b9f\u30de\u30b7\u30f3\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u306e\u30b3\u30d4\u30fc\u30d0\u30c3\u30af\u306f\u5f8c\u65e5\u8a66\u3059\u4e88\u5b9a\u3067\u3059\uff0e <a href=\"#109186d5-4888-460b-a573-bb83b0f193e5-link\" aria-label=\"Jump to footnote reference 1\">\u21a9\ufe0e<\/a><\/li><li id=\"f68001cc-598e-4f7c-b51e-9557ed490b58\">\u8a66\u3057\u305f\u306e\u306fbookworm 12.1\u306e\u3082\u306e\uff0e <a href=\"#f68001cc-598e-4f7c-b51e-9557ed490b58-link\" aria-label=\"Jump to footnote reference 2\">\u21a9\ufe0e<\/a><\/li><li id=\"e6a2f94c-638e-4ac2-afb1-f064796340d5\">\u30bf\u30fc\u30b2\u30c3\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092<code>\"\/\"<\/code>\u306b<code>chroot<\/code>\u3067\u3046\u307e\u304f\u3044\u304f\u5834\u5408\u3082\u3042\u308a\u307e\u3059\uff0e <a href=\"#e6a2f94c-638e-4ac2-afb1-f064796340d5-link\" aria-label=\"Jump to footnote reference 3\">\u21a9\ufe0e<\/a><\/li><li id=\"ee47abb2-14e9-4c0c-9302-60228ac5cee9\">\u7b46\u8005\u306e\u5834\u5408\u306fManjaro\uff0eDebian\u306e\u6700\u5c0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u305f\u30c7\u30a3\u30b9\u30af\u3092\u8d77\u52d5\u30c7\u30a3\u30b9\u30af\u306b\u4ed5\u7acb\u3066\u3066\u3082\u3046\u307e\u304f\u3044\u304f\u3068\u601d\u3044\u307e\u3059\uff0e\u305f\u3060\u3057\uff0cDebian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u3092\u30eb\u30fc\u30c8\u306b\u3059\u308b\u5834\u5408\u306f\uff0c<code>mount<\/code>\u30b3\u30de\u30f3\u30c9\u304c<a href=\"https:\/\/busybox.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">busybox<\/a>\u306e\u305f\u3081\uff0c<code>mount<\/code>\u30b3\u30de\u30f3\u30c9\u306e<code>--types<\/code>, <code>--rbind<\/code>\u306a\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u52b9\u304d\u307e\u305b\u3093\uff0e <a href=\"#ee47abb2-14e9-4c0c-9302-60228ac5cee9-link\" aria-label=\"Jump to footnote reference 4\">\u21a9\ufe0e<\/a><\/li><li id=\"a4bed27a-f093-4276-b79c-5b890b12b359\">\u7b46\u8005\u306e\u3053\u306e\u6642\u306e\u4f8b\u3067\u306f<code>\/dev\/sda1<\/code>\uff0e <a href=\"#a4bed27a-f093-4276-b79c-5b890b12b359-link\" aria-label=\"Jump to footnote reference 5\">\u21a9\ufe0e<\/a><\/li><\/ol>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tech &gt; Linux \u5e8f \u3053\u306e\u8a18\u4e8b\u306f\uff0c2023\u5e747\u670831\u65e5\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3092\u5143\u306b\u307e\u3068\u3081\u307e\u3057\u305f\uff0e \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u30b3\u30d4\u30fc \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u306a\u3044\u3068\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306a\u308a\u307e\u3059\u306e\u3067\uff0c\u3053\u306e\u8a18\u4e8b\u306e\u524d\u63d0\u3092\u9038\u8131\u3057\u307e\u3059\uff0e \u7b46\u8005\u306e2023\u5e747\u6708\u306e\u4e8b\u4f8b\u3067\u306f\uff0c\u5b9f\u30de\u30b7\u30f3\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u304b\u3089\u306e\u30b3\u30d4\u30fc\u30d0\u30c3\u30af\u3092\u305d\u308c\u305e\u308c\u8a66\u3057\uff0c\u4eee\u60f3\u30de\u30b7\u30f3\u304b\u3089\u306e\u3082\u306e\u304c\u5148\u306b\u6210\u529f\u3057\u307e\u3057\u305f\uff0e chroot Debian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u304b\u3089Rescue\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3059\u308b\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092 &#8220;\/&#8221; \u306bchroot\u3057\u3066\u304f\u308c\u307e\u3059\u304c\uff0c\u3053\u306e\u72b6\u614b\u304b\u3089efibootmgr\u3092\u8d77\u52d5\u3057\u3066\u3082\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\u4e8b\u524d\u6e96\u5099\u304c\u4e0d\u5341\u5206\u306e\u3088\u3046\u3067\u3059\uff0e \u305d\u3053\u3067\uff0c\u4ed6\u306e\u52d5\u304f\u5b9f\u30de\u30b7\u30f3\u306e\u9069\u5f53\u306a\u5834\u6240\uff08\u305f\u3068\u3048\u3070\/mnt\/hd\uff09\u306b\u5fa9\u65e7\u3055\u305b\u305f\u3044Debian\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\uff0c root #mount &#8211;types proc \/proc \/mnt\/hd\/proc root #mount &#8211;rbind \/sys \/mnt\/hd\/sys root #mount &#8211;make-rslave \/mnt\/hd\/sys root #mount &#8211;rbind \/dev \/mnt\/hd\/dev root #mount &#8211;make-rslave \/mnt\/hd\/dev root #mount &#8211;bind \/run \/mnt\/hd\/run root #mount &#8211;make-slave \/mnt\/hd\/run \u3068\u3044\u3046\u5177\u5408\u306b\u304a\u81b3\u7acb\u3066\u3057\u3066\u304b\u3089\uff0c root #chroot \/mnt\/hd \/bin\/bash root #source \/etc\/profile root &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=3019\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Debian\u5b9f\u30de\u30b7\u30f3\u306e\u5fa9\u65e7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2320,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"[{\"content\":\"\u5b9f\u30de\u30b7\u30f3\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u306e\u30b3\u30d4\u30fc\u30d0\u30c3\u30af\u306f\u5f8c\u65e5\u8a66\u3059\u4e88\u5b9a\u3067\u3059\uff0e\",\"id\":\"109186d5-4888-460b-a573-bb83b0f193e5\"},{\"content\":\"\u8a66\u3057\u305f\u306e\u306fbookworm 12.1\u306e\u3082\u306e\uff0e\",\"id\":\"f68001cc-598e-4f7c-b51e-9557ed490b58\"},{\"content\":\"\u30bf\u30fc\u30b2\u30c3\u30c8\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092<code>\\\"\/\\\"<\/code>\u306b<code>chroot<\/code>\u3067\u3046\u307e\u304f\u3044\u304f\u5834\u5408\u3082\u3042\u308a\u307e\u3059\uff0e\",\"id\":\"e6a2f94c-638e-4ac2-afb1-f064796340d5\"},{\"content\":\"\u7b46\u8005\u306e\u5834\u5408\u306fManjaro\uff0eDebian\u306e\u6700\u5c0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u305f\u30c7\u30a3\u30b9\u30af\u3092\u8d77\u52d5\u30c7\u30a3\u30b9\u30af\u306b\u4ed5\u7acb\u3066\u3066\u3082\u3046\u307e\u304f\u3044\u304f\u3068\u601d\u3044\u307e\u3059\uff0e\u305f\u3060\u3057\uff0cDebian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u3092\u30eb\u30fc\u30c8\u306b\u3059\u308b\u5834\u5408\u306f\uff0c<code>mount<\/code>\u30b3\u30de\u30f3\u30c9\u304c<a href=\\\"https:\/\/busybox.net\/\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\">busybox<\/a>\u306e\u305f\u3081\uff0c<code>mount<\/code>\u30b3\u30de\u30f3\u30c9\u306e<code>--types<\/code>, <code>--rbind<\/code>\u306a\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u52b9\u304d\u307e\u305b\u3093\uff0e\",\"id\":\"ee47abb2-14e9-4c0c-9302-60228ac5cee9\"},{\"content\":\"\u7b46\u8005\u306e\u3053\u306e\u6642\u306e\u4f8b\u3067\u306f<code>\/dev\/sda1<\/code>\uff0e\",\"id\":\"a4bed27a-f093-4276-b79c-5b890b12b359\"}]"},"class_list":["post-3019","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/3019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3019"}],"version-history":[{"count":2,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/3019\/revisions"}],"predecessor-version":[{"id":3197,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/3019\/revisions\/3197"}],"up":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2320"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}