{"id":2814,"date":"2022-06-03T23:17:43","date_gmt":"2022-06-03T14:17:43","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/?page_id=2814"},"modified":"2026-01-27T12:39:45","modified_gmt":"2026-01-27T12:39:45","slug":"chroot","status":"publish","type":"page","link":"https:\/\/je1sgh.mydns.jp\/?page_id=2814","title":{"rendered":"chroot"},"content":{"rendered":"\n<p><a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=1110\" data-type=\"page\" data-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<p>grub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3069\u306e\u305f\u3081\u306b\u3059\u308bchroot\u306e\u81ea\u5206\u7528\u30e1\u30e2\u3067\u3059\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Slackware<\/h2>\n\n\n\n<p>Slackware\u3067\u306fchroot\u306e\u51fa\u756a\u306f\u306a\u3044\u3067\u3059\uff0e\u30a4\u30f3\u30b9\u30fc\u30eb\u7528DVD\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u8d77\u52d5\u306e\u969b\u306b\uff0c\u30eb\u30fc\u30c8\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3068\u3057\u3066grub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u30c7\u30a3\u30b9\u30af\u3092\u6307\u5b9a\u3057\u3066\u3084\u308c\u3070\u3088\u3044\u3060\u3051\u3067\u3059\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Debian<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528DVD\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u30d6\u30fc\u30c8\u3057\u3066\uff0cAdvanced, Rescue Mode\u3068\u9032\u307f\uff0c\u8a00\u8a9e\uff0c\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\uff0c\u6307\u5b9a\u3057\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066chroot\u3057\u3066\u304f\u308c\u308b\u304c\uff0cgrub\u306e\u8a2d\u5b9a\u304c\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u306e\u3067\uff0c\u305d\u306e\u5834\u5408\u306f\uff0c\u6b21\u306eManjaro\u306e\u65b9\u6cd5\u3092\u5b9f\u65bd\u3059\u308b\uff0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Manjaro<\/h2>\n\n\n\n<p>Manjaro\u3067\u306f\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u3092\u8d77\u52d5\u3055\u305b\uff0cgrub\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u30c7\u30a3\u30b9\u30af\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u7136\u308b\u3079\u304d\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u304b\u3089\uff0cGentoo\u306e &#8220;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Installation\/Base\">Installing the Gentoo base system<\/a>&#8221; \u306b\u7fd2\u3063\u3066\u624b\u9806\u3092\u8e0f\u307f\uff0cchroot\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\uff0cManjaro\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u306eroot\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\uff0c &#8220;manjaro&#8221; \u3067\u3059\uff0e<\/p>\n\n\n\n<p>\u809d\u5fc3\u306a\u90e8\u5206\u3060\u3051\uff0c\u4e0a\u8a18Gentoo\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u304b\u3089\u5f15\u7528\u3057\u307e\u3059<sup data-fn=\"3ae60727-63b4-4e96-a634-d829e0b6c42b\" class=\"fn\"><a href=\"#3ae60727-63b4-4e96-a634-d829e0b6c42b\" id=\"3ae60727-63b4-4e96-a634-d829e0b6c42b-link\">1<\/a><\/sup>\uff0e<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mount --types proc \/proc \/mnt\/hd\/proc\nmount --rbind \/sys \/mnt\/hd\/sys\nmount --make-rslave \/mnt\/hd\/sys\nmount --rbind \/dev \/mnt\/hd\/dev\nmount --make-rslave \/mnt\/hd\/dev\nmount --bind \/run \/mnt\/hd\/run\nmount --make-slave \/mnt\/hd\/run <\/pre>\n\n\n\n<p>\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306f\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6307\u5b9a\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u305d\u3057\u3066<sup data-fn=\"3b9c413e-6bd1-426b-8537-6767f91571b1\" class=\"fn\"><a href=\"#3b9c413e-6bd1-426b-8537-6767f91571b1\" id=\"3b9c413e-6bd1-426b-8537-6767f91571b1-link\">2<\/a><\/sup>\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chroot \/mnt\/hd \/bin\/bash\nsource \/etc\/profile\nexport PS1=\"(chroot) ${PS1}\"<\/pre>\n\n\n\n<p>\u4ee5\u4e0a\u306fgentoo\u65b9\u5f0f\u3067\u3059\u304c\uff0cManjaro\u3082\u624b\u5f15\u304d\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/forum.manjaro.org\/t\/howto-chroot-from-or-into-any-linux-distribution\/34071\">[HowTo] Chroot from or into any Linux distribution<\/a><\/li>\n<\/ul>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"3ae60727-63b4-4e96-a634-d829e0b6c42b\">root\u6a29\u9650\u3067\u306e\u4f5c\u696d\u3067\u3059\uff0e\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306f\uff0c<code>\/mnt\/gentoo\/<\/code>\u3067\u3059\uff0e\u30b3\u30d4\u30da\u3057\u3084\u3059\u3044\u3088\u3046\u306b\uff0c\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\uff082023\/08\/14\u8ffd\u8a18\uff09 <a href=\"#3ae60727-63b4-4e96-a634-d829e0b6c42b-link\" aria-label=\"Jump to footnote reference 1\">\u21a9\ufe0e<\/a><\/li><li id=\"3b9c413e-6bd1-426b-8537-6767f91571b1\">\u3053\u3061\u3089\u3082root\u6a29\u9650\u3067\uff0c<code>\/mnt\/gentoo\/<\/code>\u3067\u3059\uff0e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\uff082023\/08\/14\u8ffd\u8a18\uff09 <a href=\"#3b9c413e-6bd1-426b-8537-6767f91571b1-link\" aria-label=\"Jump to footnote reference 2\">\u21a9\ufe0e<\/a><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Tech &gt; Linux grub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3069\u306e\u305f\u3081\u306b\u3059\u308bchroot\u306e\u81ea\u5206\u7528\u30e1\u30e2\u3067\u3059\uff0e Slackware Slackware\u3067\u306fchroot\u306e\u51fa\u756a\u306f\u306a\u3044\u3067\u3059\uff0e\u30a4\u30f3\u30b9\u30fc\u30eb\u7528DVD\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u8d77\u52d5\u306e\u969b\u306b\uff0c\u30eb\u30fc\u30c8\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3068\u3057\u3066grub\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u30c7\u30a3\u30b9\u30af\u3092\u6307\u5b9a\u3057\u3066\u3084\u308c\u3070\u3088\u3044\u3060\u3051\u3067\u3059\uff0e Debian \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528DVD\u30a4\u30e1\u30fc\u30b8\u304b\u3089\u30d6\u30fc\u30c8\u3057\u3066\uff0cAdvanced, Rescue Mode\u3068\u9032\u307f\uff0c\u8a00\u8a9e\uff0c\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306a\u3069\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\uff0c\u6307\u5b9a\u3057\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066chroot\u3057\u3066\u304f\u308c\u308b\u304c\uff0cgrub\u306e\u8a2d\u5b9a\u304c\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u306e\u3067\uff0c\u305d\u306e\u5834\u5408\u306f\uff0c\u6b21\u306eManjaro\u306e\u65b9\u6cd5\u3092\u5b9f\u65bd\u3059\u308b\uff0e Manjaro Manjaro\u3067\u306f\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u3092\u8d77\u52d5\u3055\u305b\uff0cgrub\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u30c7\u30a3\u30b9\u30af\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u7136\u308b\u3079\u304d\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u304b\u3089\uff0cGentoo\u306e &#8220;Installing the Gentoo base system&#8221; \u306b\u7fd2\u3063\u3066\u624b\u9806\u3092\u8e0f\u307f\uff0cchroot\u3057\u307e\u3059\uff0e \u3061\u306a\u307f\u306b\uff0cManjaro\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u30a4\u30e1\u30fc\u30b8\u306eroot\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\uff0c &#8220;manjaro&#8221; \u3067\u3059\uff0e \u809d\u5fc3\u306a\u90e8\u5206\u3060\u3051\uff0c\u4e0a\u8a18Gentoo\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u304b\u3089\u5f15\u7528\u3057\u307e\u3059\uff0e mount &#8211;types proc \/proc \/mnt\/hd\/proc mount &#8211;rbind \/sys \/mnt\/hd\/sys mount &#8211;make-rslave \/mnt\/hd\/sys mount &#8211;rbind \/dev \/mnt\/hd\/dev mount &#8211;make-rslave \/mnt\/hd\/dev mount &#8211;bind \/run \/mnt\/hd\/run mount &#8211;make-slave \/mnt\/hd\/run \u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306f\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6307\u5b9a\u3057\u307e\u3059\uff0e \u305d\u3057\u3066\uff0c chroot \/mnt\/hd \/bin\/bash source \/etc\/profile &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2814\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;chroot&#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\":\"root\u6a29\u9650\u3067\u306e\u4f5c\u696d\u3067\u3059\uff0e\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u306f\uff0c<code>\/mnt\/gentoo\/<\/code>\u3067\u3059\uff0e\u30b3\u30d4\u30da\u3057\u3084\u3059\u3044\u3088\u3046\u306b\uff0c\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\uff082023\/08\/14\u8ffd\u8a18\uff09\",\"id\":\"3ae60727-63b4-4e96-a634-d829e0b6c42b\"},{\"content\":\"\u3053\u3061\u3089\u3082root\u6a29\u9650\u3067\uff0c<code>\/mnt\/gentoo\/<\/code>\u3067\u3059\uff0e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9664\u53bb\u3057\u307e\u3057\u305f\uff082023\/08\/14\u8ffd\u8a18\uff09\",\"id\":\"3b9c413e-6bd1-426b-8537-6767f91571b1\"}]"},"class_list":["post-2814","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2814","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=2814"}],"version-history":[{"count":2,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2814\/revisions"}],"predecessor-version":[{"id":3195,"href":"https:\/\/je1sgh.mydns.jp\/index.php?rest_route=\/wp\/v2\/pages\/2814\/revisions\/3195"}],"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=2814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}