{"id":4264,"date":"2025-05-30T11:04:24","date_gmt":"2025-05-30T02:04:24","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=4264"},"modified":"2025-05-30T12:25:46","modified_gmt":"2025-05-30T03:25:46","slug":"%e3%82%84%e3%81%a3%e3%81%a8%e3%80%81uuid%e3%82%92%e4%bd%bf%e3%82%8f%e3%81%aa%e3%81%84boot%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%8c%e5%88%86%e3%81%8b%e3%81%a3%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=4264","title":{"rendered":"\u3084\u3063\u3068\u3001UUID\u3092\u4f7f\u308f\u306a\u3044boot\u306e\u65b9\u6cd5\u304c\u5206\u304b\u3063\u305f\u3002"},"content":{"rendered":"\r\n<p>\u304d\u3063\u304b\u3051\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306a\u3069\u3067\u3001\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u30af\u30ed\u30fc\u30f3\u3092\u4f7f\u3063\u3066\u65b0\u305f\u306b\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u4f5c\u3063\u305f\u308a\u3057\u305f\u6642\u306b\u3001Disk\u306e<span style=\"color: #ff00ff;\">UUID\u306a\u3069\u304c\u30c0\u30d6\u308b\u4e8b\u3067\u3042\u308b<\/span>\u3002\u30db\u30b9\u30c8\u540d\u3084IP\u30a2\u30c9\u30ec\u30b9\u3082\u30c0\u30d6\u30eb\u304c\u3053\u308c\u306f\u5909\u66f4\u306e\u65b9\u6cd5\u304c\u3042\u308b\u304c\u3001UUID\u3092\u4f7f\u308f\u306a\u3044\u3067\u30d6\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3064\u3051\u305f\u3002<br \/>\uff08\u3088\u304f\/etc\/default\/grub\u3067\u5909\u66f4\u3057grub2-mkconfig\u3067\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\u3088\u3046\u306b\u3042\u308b\u304c\u3001KVM\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u5834\u5408\u306f\u30d6\u30fc\u30c8\u3059\u308b\u9818\u57df\u306e\u4e2d\u306b\u3055\u3089\u306b\u9818\u57df\u3092\u4f5c\u3063\u3066\u3044\u308b\u95a2\u4fc2\u3067\u3001\u30b5\u30d6\u30db\u30b9\u30c8\u306e\/etc\/default\/grub\u5909\u66f4\u3059\u308b\u305f\u3081\u306b\u306flosetup\u3084kpartx\u3092\u4f7f\u3063\u3066\u3001\u3069\u3053\u304b\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3001\u5909\u66f4\u3092\u3059\u308b\u304c\u3001<span style=\"color: #ff00ff;\">\u554f\u984c\u306fgrub2-mkconfig\u3067\u30de\u30a6\u30f3\u30c8\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\uff08\/etc\/default\/grub\uff09\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u89e3\u3089\u306a\u3044\u3002<br \/>UUID\u3067\u30d6\u30fc\u30c8\u3057\u5909\u66f4\u3092\u3059\u308c\u3070\u826f\u3044\u304c\u3001\u3082\u3057\u5931\u6557\u3059\u308b\u3068\u30d6\u30fc\u30c8\u3067\u304d\u306a\u304f\u306a\u308b<\/span><span style=\"color: #ff00ff;\">\uff09<\/span>\u86c7\u8db3\u306b\u306a\u308b\u304c\u3001\u3042\u308b\u6642\u89aa\u306e\u30db\u30b9\u30c8\u304c\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u3001\u3046\u3063\u304b\u308a\u9818\u57df\u3092\u4f5c\u308a\u76f4\u3057\u3066\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u3066(\u3053\u3053\u3067UUID\u304c\u5909\u66f4\u306b\u306a\u308b\uff09\u305d\u3057\u3066timeshift\u3067\u30ea\u30b9\u30c8\u30a2\u3057\u3066\u30d6\u30fc\u30c8\u3057\u305f\u3089UUID\u304c\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30d6\u30fc\u30c8\u3067\u304d\u306a\u304f\u306a\u308a\uff08USB\u306etimeshift\u3092\u4f7f\u3048\u3070\u3088\u304b\u3063\u305f\u306e\u3060\u308d\u3046\u304c\uff1f\uff09\u5f80\u751f\u3057\u305f\u3002\u305d\u3093\u306a\u95a2\u4fc2\u3067\u3084\u3063\u3068UUID\u3092\u4f7f\u308f\u305a\u306b\u30d6\u30fc\u30c8\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3064\u3051\u305f<\/p>\r\n\r\n\r\n\r\n<p>\u305d\u306e\u65b9\u6cd5\u306f<span style=\"color: #ff00ff;\">grub2-editenv<\/span>\u3092\u4f7f\u3046\u3002\u53c2\u8003\uff1a<a href=\"https:\/\/qiita.com\/saito_now\/items\/acacf3f5830fdfb90283\">https:\/\/qiita.com\/saito_now\/items\/acacf3f5830fdfb90283<\/a><br \/>\u307e\u305a\u306f\u73fe\u5728\u306e\u72b6\u6cc1\u3092\u30c1\u30a7\u30c3\u30af<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">grub2-editenv list | grep kernelopts<br \/><span style=\"color: #333333;\">\u4f55\u3082\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067 kernelopts \u304c\u7121\u3044\u3001\u3067\u306f grub.cfg \u3092\u898b\u308b<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">grep kernelopts= \/boot\/grub2\/grub.cfg<\/span><br \/><span style=\"color: #ff6600;\">set kernelopts=&#8221;root=UUID=e809a914-84b6-4d48-94cf-6239230b9d2a ro resume=UUID=38b4c675-b822-457b-b597-8ac55f49231a rhgb quiet &#8220;<\/span><br \/>\u3067\u3001UUID\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u5909\u66f4\u3092\u3059\u308b\u3002\u79c1\u306f \/dev\/vda1\u304croot\u9818\u57df\u306a\u306e\u3067<br \/><\/span><\/span><span style=\"color: #008000;\"><span style=\"color: #333333;\"><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">grub2-editenv &#8211; set &#8220;kernelopts=root=\/dev\/vda1 ro rhgb quiet&#8221;<\/span><br \/>\u5909\u66f4\u3067\u304d\u305f\u304b\u78ba\u8a8d<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">grub2-editenv list | grep kernelopts=<\/span><br \/><span style=\"color: #ff6600;\">kernelopts=root=\/dev\/vda1 ro rhgb quiet<\/span><br \/>\u78ba\u304b\u306b\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u53c2\u8003\u306eWEB\u306b\u3088\u308c\u3070\u3001<span> grub2-editenv<\/span> \u5834\u5408\u306f\u3053\u306e\u5909\u66f4\u3060\u3051\u3067\u8a00\u3044\u305d\u3046\u3060\u3002<br \/>\u305d\u3057\u3066\/etc\/fstab\u306e\u6307\u5b9a\u3092UUID\u3067\u7121\u304f .dev\/vda1 \u306a\u3069\u306b\u5909\u66f4\u3057\u518d\u8d77\u52d5<br \/>\u7121\u4e8b\u8d77\u52d5\u3057\u305f\u304c\u3001\u30d6\u30fc\u30c8\u30c7\u30a3\u30b9\u30af\u306eUUID\u306f\u5909\u66f4\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u672c\u5f53\u306bUUID\u3067\u306a\u304f\/dev\/vda1\u3067\u30d6\u30fc\u30c8\u3057\u305f\u306e\u304b\u5fc3\u914d\u306b\u306a\u308a \/etc\/grub2\/grub.cfg \u3092\u898b\u308b\u3068<br \/>set kernelopts=&#8221;root=UUID=e809a914-84b6-4d48-9**** \u5f8c\u7565<br \/>\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u3053\u306eUUID\u306f\/dev\/vda1\u3068\u4e00\u81f4\u3057\u305f\u3002\u3067\u3082\u7d50\u5c40\u306fUUID\u3067\u30d6\u30fc\u30c8\u3057\u3066\u3044\u308b\u3093\u3060\uff01\uff01<br \/><br \/><\/span><\/span><\/p>\r\n\r\n\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>\u304d\u3063\u304b\u3051\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306a\u3069\u3067\u3001\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u30af\u30ed\u30fc\u30f3\u3092\u4f7f\u3063\u3066\u65b0\u305f\u306b\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u4f5c\u3063\u305f\u308a\u3057\u305f\u6642\u306b\u3001Disk\u306eUUID\u306a\u3069\u304c\u30c0\u30d6\u308b\u4e8b\u3067\u3042\u308b\u3002\u30db\u30b9\u30c8\u540d\u3084IP\u30a2\u30c9\u30ec\u30b9\u3082\u30c0\u30d6\u30eb\u304c\u3053\u308c\u306f\u5909\u66f4\u306e\u65b9\u6cd5\u304c\u3042\u308b\u304c\u3001UUID\u3092\u4f7f\u308f\u306a &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=4264\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"vkexunit_cta_each_option":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-4264","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4264"}],"version-history":[{"count":10,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4264\/revisions"}],"predecessor-version":[{"id":4274,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4264\/revisions\/4274"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}