{"id":68,"date":"2009-03-22T21:24:16","date_gmt":"2009-03-22T12:24:16","guid":{"rendered":"http:\/\/chidipy.jpn.com\/topics\/?p=68"},"modified":"2009-03-22T21:24:16","modified_gmt":"2009-03-22T12:24:16","slug":"linux%e5%86%8d%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%aa%e3%81%97%e3%81%ab%e3%83%9e%e3%82%b6%e3%83%bc%e3%83%9c%e3%83%bc%e3%83%89%e3%82%92%e4%ba%a4%e6%8f%9b%e3%81%97%e3%81%a6","status":"publish","type":"post","link":"https:\/\/chidipy.jpn.com\/topics\/?p=68","title":{"rendered":"[linux]OS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3057\u306b\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u308b"},"content":{"rendered":"<h5>OS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3057\u306b\u3001\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u308b<\/h5>\n<p>C7\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u8f09\u305b\u305f\u81ea\u5b85\u30b5\u30fc\u30d0\u306e\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u304c\u4e0d\u5b89\u5b9a\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u305f\u3002\u9762\u5012\u306aOS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u518d\u8a2d\u5b9a\u306a\u3057\u3067\u3002\u4f55\u3082\u8003\u3048\u305a\u306b\u3059\u308b\u3068\u30c7\u30a3\u30b9\u30af\uff08VG)\u304c\u898b\u3048\u306a\u304f\u306a\u308b\u306e\u3067\u5384\u4ecb\u3002<br \/>\n\u25bc\u74b0\u5883<\/p>\n<pre>\u3000\uff2f\uff33\uff1aCentOS 5.3<\/pre>\n<pre>\u3000\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\uff1aEPIA-LN10000EG(C7) \u2192 D945GCLF2(Atom330)<\/pre>\n<p>\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u306eSATA\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u304c\u4ea4\u63db\u524d\u5f8c\u3067\u7570\u306a\u308b\u306e\u3067\u3001\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u4ea4\u63db\u5f8c\u306f\u5f53\u7136\u30c7\u30a3\u30b9\u30af(\u3068\u3044\u3046\u3088\u308aLVM VG)\u304c\u898b\u3048\u306a\u304f\u306a\u308b\u3002<br \/>\n\u25bc \u4ee5\u4e0b\u3084\u3063\u305f\u3053\u3068\u3002<br \/>\n\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u4ea4\u63db\u5f8c\u3001\u4f55\u3082\u624b\u5f53\u3066\u3092\u305b\u305a\u306b\u8d77\u52d5\u3057\u3066\u307f\u308b\u3002<br \/>\ninitrd\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001VG\u3092\u63a2\u3057\u59cb\u3081\u305f\u3068\u3053\u308d\u3067\u300cNo volume groups found\u300d\u3068\u3044\u308f\u308c\u3066\u3057\u307e\u3046\u3002<br \/>\n\u4e88\u60f3\u901a\u308a\u306e\u7d50\u679c\u3002initrd\u306e\u4e2d\u306bICH7\u7528\u306eSATA\u30c9\u30e9\u30a4\u30d0\u304c\u306a\u3044\u304b\u3089\uff08\u73fe\u6642\u70b9\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u306e\u306fVIA\u306eSATA\u30c9\u30e9\u30a4\u30d0)\u3002<br \/>\n\u5ff5\u306e\u305f\u3081\u30c7\u30a3\u30b9\u30af\u81ea\u8eab\u304c\u4f7f\u7528\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001CentOS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u306e\u30ec\u30b9\u30ad\u30e5\u30fc\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3002VG\u3082\u8a8d\u8b58\u3057\u305f\u306e\u3067\u3001\u30c7\u30a3\u30b9\u30af\u81ea\u8eab\u3082\u4f7f\u7528\u3067\u304d\u308b\u3053\u3068\uff08\u554f\u984c\u306a\u3044\u3053\u3068\uff09\u306f\u78ba\u5b9a\u3002<br \/>\n\u3055\u3066\u3001\u3053\u3053\u3067initrd\u3092ICH7\u7528\u30c9\u30e9\u30a4\u30d0\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u4f5c\u308a\u5909\u3048\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3060\u304c\u3001\u3069\u308c\u304cICH7\u7528\u30c9\u30e9\u30a4\u30d0\u304b\u308f\u304b\u3089\u306a\u3044\u3002\u30ec\u30b9\u30ad\u30e5\u30fc\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3057\u3066\u3044\u308b\u304clsmod\u3092\u307f\u3066\u3082\u5224\u65ad\u3067\u304d\u306a\u3044\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u30fb\u30fb\u30fb<br \/>\n\u5916\u4ed8\u3051HDD\u306bCentOS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\uff08\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3057\u3068\u66f8\u3044\u3066\u3044\u308b\u304c\u3001\u30c7\u30fc\u30bf\u3092\u7834\u58ca\u3057\u306a\u3044\u3068\u3044\u3046\u610f\u5473\u306a\u306e\u3067\u30fb\u30fb\u30fb\uff09\u3002<br \/>\n\u203b\u3053\u306e\u3068\u304dGRUB\u306e\uff12\u6bb5\u968e\u76ee\u306f\u5916\u4ed8\u3051HDD\u306b\u5411\u304f\u306e\u3067\u3001\u5f8c\u307b\u3069\u6ce8\u610f\uff01<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001\/etc\/modprobe.conf\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3002<br \/>\n\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<blockquote><p>alias scsi_hostadapter ata_piix<br \/>\nalias scsi_hostadapter1 usb-storage<br \/>\nalias snd-card-0 snd-hda-intel<br \/>\noptions snd-card-0 index=0<br \/>\noptions snd-hda-intel index=0<br \/>\nremove snd-hda-intel { \/usr\/sbin\/alsactl store 0 &gt;\/dev\/null 2&gt;&amp;1 || : ; }; \/sbin\/modprobe -r &#8211;ignore-remove snd-hda-intel<br \/>\nalias eth0 r8169<\/p><\/blockquote>\n<p>\u3053\u308c\u3092\u3069\u3053\u304b\u306b\u30e1\u30e2\u3057\u3066\u304a\u3044\u3066\u3001\u3053\u3061\u3089\u306eOS\u306f\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3002\u5916\u4ed8\u3051HDD\u306f\u5916\u3059\u3002<br \/>\n\u6b21\u306b\u3001\u3082\u3046\u4e00\u5ea6CentOS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebDVD\u306e\u30ec\u30b9\u30ad\u30e5\u30fc\u30e2\u30fc\u30c9\u3067\u8d77\u52d5\u3002<br \/>\n\u5185\u8535HDD\u306e(\/mnt\/sysimage)\/etc\/modprobe.conf\u306e\u4e2d\u8eab\u3092\u4e0a\u8a18\u30e1\u30e2\u306e\u5185\u5bb9\u306b\u7f6e\u304d\u63db\u3048\u3066\u3001initrd\u3092\u518d\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<blockquote><p># vi \/mnt\/sysimage\/etc\/modprobe.conf<br \/>\n(\u4e0a\u8a18\u30e1\u30e2\u5185\u5bb9\u306b\u7f6e\u304d\u63db\u3048)<br \/>\n# chroot \/mnt\/sysimage<br \/>\n# cp -p \/boot\/initrd-2.6.18-92.1.22.el5.img? \/boot\/initrd-2.6.18-92.1.22.el5.img.c7<br \/>\n# mkinitrd -f? \/boot\/initrd-2.6.18-92.1.22.el5.img 2.6.18-92.1.22.el5<\/p><\/blockquote>\n<p>\u4f5c\u6210\u3057\u305finitrd\u3092\u89e3\u51cd\u3057\u3066\u307f\u3066\u3001\u3061\u3083\u3093\u3068ICH7\u7528\u306e\u30c9\u30e9\u30a4\u30d0\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b<\/p>\n<blockquote><p># gzip -dc? \/boot\/initrd-2.6.18-92.1.22.el5.img &gt; \/tmp\/initrd.cpio<br \/>\n# mkdir \/tmp\/initrddir<br \/>\n# cd \/tmp\/initrddir<br \/>\n# cpio -i &#8211;file ..\/initrd.cpio<br \/>\n# less init<br \/>\n(\u3053\u3053\u3067\u3001insmod \/lib\/ata_piix.ko\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\uff09\n<\/p><\/blockquote>\n<p>\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001GRUB\uff08\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\uff09\u306e\uff12\u6bb5\u76ee\u306e\u5411\u304d\u5148\u3092\u5185\u8535\u30c7\u30a3\u30b9\u30af\u306b\u623b\u3059<\/p>\n<blockquote><p>\uff08\u5148\u307b\u3069\u306echroot\u306e\u74b0\u5883\u306e\u307e\u307e\uff09<br \/>\n# \/sbin\/grub<br \/>\ngrub&gt; root (hd0,0)<br \/>\ngrub&gt; setup (hd0)<br \/>\ngrub&gt; quit<br \/>\n# sync<\/p><\/blockquote>\n<p>\u3053\u308c\u306b\u3066\u5b8c\u4e86\uff01<br \/>\n\u3042\u3068\u306fexit\u3057\u3066\u3001\u518d\u8d77\u52d5\u3059\u308c\u3070\u5143\u901a\u308a\u306b\u8d77\u52d5\u3067\u304d\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3057\u306b\u3001\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u308b C7\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u8f09\u305b\u305f\u81ea\u5b85\u30b5\u30fc\u30d0\u306e\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u304c\u4e0d\u5b89\u5b9a\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u305f\u3002\u9762\u5012\u306aOS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u518d\u8a2d\u5b9a\u306a\u3057\u3067\u3002\u4f55\u3082\u8003\u3048\u305a\u306b\u3059 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/chidipy.jpn.com\/topics\/?p=68\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;[linux]OS\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3057\u306b\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u3092\u4ea4\u63db\u3057\u3066\u307f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,2],"tags":[41,82],"_links":{"self":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/68"}],"collection":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":0,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"wp:attachment":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}