{"id":46,"date":"2008-03-24T13:17:32","date_gmt":"2008-03-24T05:17:32","guid":{"rendered":"http:\/\/percy.blog.ubuntu.org.cn\/2008\/03\/24\/gentoo%e4%bd%93%e9%aa%8c%e4%b9%8b%e8%b7%af\/"},"modified":"2008-03-24T13:17:32","modified_gmt":"2008-03-24T05:17:32","slug":"gentoo%e4%bd%93%e9%aa%8c%e4%b9%8b%e8%b7%af","status":"publish","type":"post","link":"https:\/\/pjq.me\/?p=46","title":{"rendered":"Gentoo\u4f53\u9a8c\u4e4b\u8def"},"content":{"rendered":"<p>\u6700\u8fd1\u6709\u65f6\u95f4\uff0c\u4e0b\u4e86gentoo\u6765\u4f53\u9a8c\u4e00\u4e0b\u3002<\/p>\n<p>\u770b\u4e86\u5b89\u88c5\u76f8\u5173\u6587\u6863\uff1ahttp:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml<\/p>\n<p>http:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml?catid=install<\/p>\n<p>\u7136\u540e\u627e\u4e86\u4e2a\u6559\u80b2\u7f51\uff0c\u6211\u8fd9\u91cc\u4e5f\u53ea\u6709http:\/\/ftp.sjtu.edu.cn \u4e0b\u8f7d\u6bd4\u8f83\u5feb\uff0c<\/p>\n<p>\u4e0b\u8f7dLiveCD:http:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/livecd\/livecd-i686-installer-2007.0.iso<\/p>\n<p>\u4e5f\u53ef\u4ee5\u4e0b\u8f7d\uff1ahttp:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/installcd\/install-x86-minimal-2007.0-r1.iso<\/p>\n<p>\u521a\u5f00\u59cb\u7528minimal\u4ece\u786c\u76d8\u5b89\u88c5\uff0c\u603b\u662f\u63d0\u793a\u627e\u4e0d\u5230 \u955c\u50cf\u6587\u4ef6\uff0c\u53ea\u597d\u6539\u7528livecd\u4e86<\/p>\n<p>\u786c\u76d8\u5b89\u88c5\u65b9\u6cd5\uff1a\u5148\u5c06livecd\u89e3\u538b\u5230\u4e00\u4e2a\u5206\u533a\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u6700\u597d\u662ffat32\uff0c\uff08NTFS\u6ca1\u8bd5\u8fc7 \uff09\uff0c<\/p>\n<p>\u7136\u540e\u7528grub\u5f15\u5bfc\uff1a<\/p>\n<p>\u4fee\u6539 menu.lst\u6587\u4ef6<\/p>\n<p>title gentoo install<br \/>\nroot (hd0,6)<br \/>\nkernel \/isolinux\/gentoo root=\/dev\/ram0 init=\/linuxrc  dokeymap looptype=squashfs loop=\/image.squashfs  cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=\/dev\/tty1 quiet<br \/>\ninitrd \/isolinux\/gentoo.igz<br \/>\nboot<\/p>\n<p>\u8bf4\u660e\u4e00\u4e0b\uff0c\u6211\u5c06livecd\u89e3\u538b\u5230XP\u4e0b\u7684F\u76d8\u4e86\uff0c\u5bf9\u5e94\u7684\u662f\/dev\/sda7,\u4f46root \u91cc\u8981\u51cf1,\u5c31\u662f(hd0,6)\u4e86<\/p>\n<p>\u63a5\u7740\u5c31\u4ecelivecd\u542f\u52a8\u4e86\uff1a\u53c2\u8003\u5b89\u88c5\u624b\u518c\uff1a<\/p>\n<h1>Gentoo Linux x86\u5feb\u901f\u5b89\u88c5\u6307\u5357http:\/\/www.gentoo-cn.org\/doc\/zh_cn\/gentoo-x86-quickinstall.xml<\/h1>\n<p>\u7531\u4e8e\u6211\u662f\u6559\u80b2\u7f51\uff0c\u4ece\u4e0a\u6d77\u4ea4\u5927FTP\u4e0a\u4e0b\u8f7d\u6bd4\u8f83\u5feb\uff0c\u6240\u4ee5\u5c31\u4ece\u7f51\u4e0a\u76f4\u63a5\u4e0b\u8f7d\u5b89\u88c5\u76f8\u5173\u6587\u4ef6\u4e86\uff0c\u5c3d\u7ba1\u5b83\u662flivecd<\/p>\n<p>\u542f\u52a8\u540e\uff0c\u6253\u5f00\u4e00\u4e2a\u7ec8\u7aef<\/p>\n<p>sudo passwd<\/p>\n<p>\u4fee\u6539\u5bc6\u7801\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5<\/p>\n<p>su root\u4e86<\/p>\n<p>\u5207\u6362\u5230root \u4e4b\u540e\uff0c\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u914d\u7f6e\u7f51\u7edc\u4e86<\/p>\n<p>\u8fd9\u91cc\u5c31\u7565\u8fc7\u4e86\u3002<\/p>\n<pre>net-setup eth0<\/pre>\n<pre>\u8fd9\u65f6\u5c31\u53ef\u4ee5\u542f\u52a8sshd\u4e86<\/pre>\n<pre> \/etc\/init.d\/sshd start<\/pre>\n<pre>\u7528passwd\u4fee\u6539\u5bc6\u7801\uff0c\u7136\u540e\u4ece\u53e6\u5916\u4e00\u53f0\u7535\u8111\u4e0assh\u4e86<\/pre>\n<pre><\/pre>\n<pre>\u7136\u540e\u5c31\u662f\u5206\u533a\u4e86<\/pre>\n<pre>\/dev\/sda8   \/boot<\/pre>\n<pre>\/dev\/sda9   \/<\/pre>\n<pre>\/dev\/sda10   swap<\/pre>\n<pre>\uff08ext2\u5b8c\u5168\u6ee1\u8db3\/boot\u5206\u533a\u7684\u9700\u8981\uff09\n\nlivecd ~ # mke2fs \/dev\/sda8\uff08\u4e3b\u5206\u533a\u5c31\u7528ext3\u5427\uff09\n\nlivecd ~ # mke2fs -j \/dev\/sda9\n\n\uff08\u521b\u5efa\u5e76\u6fc0\u6d3b\u4ea4\u6362\u5206\u533a\uff09\n\nlivecd ~ # mkswap \/dev\/sda10 &amp;&amp; swapon \/dev\/sda10<\/pre>\n<pre>\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf<\/pre>\n<pre>livecd ~ # mount \/dev\/sda9 \/mnt\/gentoo   #\u6302\u8f7d\u6839\u76ee\u5f55\n\nlivecd ~ # mkdir \/mnt\/gentoo\/boot      #\u521b\u5efaBOOT\u76ee\u5f55\n\nlivecd ~ # mount \/dev\/sda8 \/mnt\/gentoo\/boot  #\/boot\u76ee\u5f55\n\nlivecd ~ # cd \/mnt\/gentoo         #\u5207\u6362\u5230gentoo\u76ee\u5f55<\/pre>\n<pre>\u5b89\u88c5Stage<\/pre>\n<p>date MMDDhhmmYYYY<\/p>\n<p>\u4e0b\u8f7dstage3<\/p>\n<p>wget  http:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/current\/stages\/stage3-x86-2007.0.tar.bz2<\/p>\n<p>tar xvjpf stage3*<\/p>\n<p>\u7136\u540e\uff1acd \/mnt\/gentoo\/usr<\/p>\n<p>\u4e0b\u8f7d\u6700\u65b0portage\u5feb\u7167\uff1b<\/p>\n<p>wget http:\/\/ftp.sjtu.edu.cn\/gentoo\/snapshots\/portage-latest.tar.bz2<\/p>\n<pre> \u89e3\u538b:tar xvjf portage-lat*<\/pre>\n<pre>\u5207\u6362\u7cfb\u7edf\uff08chroot\uff09<\/pre>\n<pre>livecd usr # cd \/\n\nlivecd \/ # mount -t proc proc \/mnt\/gentoo\/proc\n\nlivecd \/ # cp -L \/etc\/resolv.conf \/mnt\/gentoo\/etc\/\n\nlivecd \/ # chroot \/mnt\/gentoo \/bin\/bash\n\nlivecd \/ # env-update &amp;&amp; source \/etc\/profile<\/pre>\n<pre>cp \/usr\/share\/zoneinfo\/Asia\/Shanghai \/etc\/localtime \u4ee5\u540e\u8bbe\u7f6e\u4e5f\u884c<\/pre>\n<pre>\u88c5\u8f7d\u5185\u6838\uff0c\u8fd9\u4e2a\u65f6\u5019\u6700\u597d\u4fee\u6539\u4e00\u4e0b\/etc\/make.conf<\/pre>\n<pre>\u52a0\u5165\u901f\u5ea6\u6700\u5feb\u7684\u955c\u50cfGENTOO_MIRRORS\uff1a\uff08\u8fd9\u662f\u6211\u73b0\u5728\u7684make.conf\uff09<\/pre>\n<pre># These settings were set by the catalyst build script that automatically\n\n# built this stage.\n\n# Please consult \/etc\/make.conf.example for a more detailed example.\n\nHTTP_PROXY=\"210.29.96.35:80\"\n\nCFLAGS=\"-O2 -march=i686 -pipe\"\n\nCXXFLAGS=\"${CFLAGS}\"\n\n# This should not be changed unless you know exactly what you are doing.  You\n\n# should probably be using a different stage, instead.\n\nLINGUAS=\"en\"\n\nCHOST=\"i686-pc-linux-gnu\"\n\nSYNC=\"rsync:\/\/ftp.tsinghua.edu.cn\/pub\/mirror\/gentoo\/gentoo-portage\"\n\nGENTOO_MIRRORS=\"http:\/\/ftp3.tsinghua.edu.cn\/pub\/mirror\/gentoo\/  http:\/\/ftp.sjtu.edu.cn\/gentoo\"\n\nUSE=\"pdf xv dvd opengl xv png real nv jpeg win32codecs mp3 nvidia wma hal avahi xvmc  alsa midi -debug -test hda-intel X nptl -ipv6 -fortran unicode svg  dbus -kde -qt3 -qt4 -arts -eds gnome gtk firefox\"\n\nCCACHE_SIZE=\"2G\"\n\nALSA_CARDS=\"Intel HD Audio\"\n\nVIDEO_CARDS=\"nvidia\"<\/pre>\n<pre><\/pre>\n<pre> \u8bbe\u7f6e\u597d\u4ee3\u7406\uff1aexport http_proxy=\"210.29.96.35:80\"<\/pre>\n<pre>emerge gentoo-sources<\/pre>\n<pre>cd \/usr\/src\/linux\/<\/pre>\n<pre>make menuconfig<\/pre>\n<pre>\u914d\u7f6e\u5185\u6838\uff1a<\/pre>\n<pre>\u6ce8\u610f\uff1a1.\u8981\u52a0\u5165\u5bf9sata\u786c\u76d8\u7684\u652f\u6301\uff0c\u5426\u5219\u6709\u53ef\u80fd\u65e0\u6cd5\u542f\u52a8<\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<p>2.\u7f51\u5361\u652f\u6301<\/p>\n<p>3.\u52a0\u5165\u5230\u6587\u4ef6\u7cfb\u7edf\u7684\u652f\u6301,ext2,ext3,fat,ntfs<\/p>\n<p>4.\u58f0\u5361\uff0c\u663e\u5361,\u7a0d\u540e\u518d\u8bf4<\/p>\n<pre>livecd linux # make modules_install\n\nlivecd linux # cp arch\/i386\/boot\/bzImage \/boot\/kernel<\/pre>\n<pre>\u914d\u7f6e\u7cfb\u7edf\uff1a<\/pre>\n<pre>cd \/etc<\/pre>\n<pre>emerge vim<\/pre>\n<pre>emerge ntfs3g #\u652f\u6301ntfs\u8bfb\u5199<\/pre>\n<pre>vim fstab<\/pre>\n<pre>(\u6211\u73b0\u5728\u7684fstab\u6587\u4ef6\uff0c)<\/pre>\n<pre> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.\n\n\/dev\/sda9               \/               ext3            noatime 0 1\n\n\/dev\/sda8              \/boot           ext2             noatime 1 2\n\n#\/dev\/sda9              \/               ext3            noatime         0 1\n\n\/dev\/sda10              none            swap            sw              0 0\n\n\/dev\/cdrom              \/mnt\/cdrom      audo            noauto,ro       0 0\n\n#\/dev\/fd0               \/mnt\/floppy     auto            noauto          0 0\n\n\/dev\/sda1    \/media\/sda1      ntfs-3g    defaults,locale=zh_CN.UTF-8  0   0\n\n\/dev\/sda5   \/media\/sda5       ntfs-3g    defaults,locale=zh_CN.UTF-8   0  0\n\n\/dev\/sda6    \/media\/sda6     vfat      defaults,iocharset=utf8   0   0\n\n\/dev\/sda7     \/media\/sda7    vfat      defaults,iocharset=utf8   0   0\n\n\/dev\/sda11     \/media\/sda11  ext3     noatime        0  0<\/pre>\n<pre><\/pre>\n<pre>\u914d\u7f6e\u7f51\u7edc<\/pre>\n<pre>cd \/etc\/conf.d<\/pre>\n<pre>vim net \u52a0\u5165:<\/pre>\n<pre>config_eth0=(\"10.0.1.112\/24\")\n\nroutes_eth0=(\"default via 10.0.1.1\")<\/pre>\n<pre>rc-update add net.eth0 default #\u542f\u52a8\u65f6\u81ea\u52a8\u8fd0\u884c<\/pre>\n<pre>\u5982\u679c\u7f51\u5361\u9a71\u52a8\u7f16\u8bd1\u4e3a\u6a21\u5757\uff0c\u9700\u8981\u5c06\u5b89\u6dfb\u52a0\u5230<\/pre>\n<pre>\/etc\/modules.autoload.d\/kernel-2.6<\/pre>\n<pre>\uff08\u5982\u679c\u5e0c\u671b\u91cd\u542f\u540e\u901a\u8fc7ssh\u91cd\u65b0\u8fde\u63a5\u5230\u65b0\u673a\u5668\uff09\n\nlivecd conf.d # rc-update add sshd default<\/pre>\n<pre> \u8bbe\u7f6eroot\u5bc6\u7801<\/pre>\n<pre>livecd conf.d # passwd\n\nNew UNIX password: \u8f93\u5165\u5bc6\u7801\n\nRetype new UNIX password: \u518d\u8f93\u5165\u5bc6\u7801\n\npasswd: password updated successfully<\/pre>\n<pre><\/pre>\n<pre>\u8bbe\u7f6e\u65f6\u533a<\/pre>\n<pre>livecd conf.d # nano -w \/etc\/conf.d\/clock\n\nTIMEZONE=\"Asia\/Shanghai\"<\/pre>\n<p>\u5b89\u88c5\u7cfb\u7edf\u65e5\u5fd7\u548ccron\u5b88\u62a4\u8fdb\u7a0b\uff1a<\/p>\n<pre>emerge syslog-ng vixie-cronlivecd<\/pre>\n<pre>livecd conf.d # rc-update add syslog-ng default\n\nlivecd conf.d # rc-update add vixie-cron default<\/pre>\n<pre><\/pre>\n<pre>livecd conf.d # emerge xfsprogs       \uff08\u5982\u679c\u4f7f\u7528XFS\u6587\u4ef6\u7cfb\u7edf\uff09\n\nlivecd conf.d # emerge jfsutils       \uff08\u5982\u679c\u4f7f\u7528JFS\u6587\u4ef6\u7cfb\u7edf\uff09\n\nlivecd conf.d # emerge reiserfsprogs  \uff08\u5982\u679c\u4f7f\u7528Reiser\u6587\u4ef6\u7cfb\u7edf\uff09\n\nlivecd conf.d # emerge dhcpcd         \uff08\u5982\u679c\u4f7f\u7528DHCP\u5ba2\u6237\u7aef\uff09\n\nlivecd conf.d # emerge ppp            \uff08\u5982\u679c\u4f7f\u7528PPPoE ADSL\u8fde\u63a5\uff09<\/pre>\n<pre><\/pre>\n<pre>\u914d\u7f6egrub<\/pre>\n<pre>emerge grub<\/pre>\n<pre>vim \/boot\/grub\/grub.conf<\/pre>\n<pre>title Gentoo\n\nroot (hd0,7)\n\nkernel \/boot\/kernel root=\/dev\/sda9 splash quiet<\/pre>\n<pre><\/pre>\n<pre>grub<\/pre>\n<pre>root (hd0,7)#\u591a\u8bd5\u51e0\u4e2a\u5c31\u77e5\u9053\u4e86<\/pre>\n<pre>setup (hd0)<\/pre>\n<pre>quit<\/pre>\n<pre>\u8fd9\u6837\u57fa\u672c\u7cfb\u7edf\u5c31\u5b89\u88c5\u5b8c\u4e86<\/pre>\n<pre>livecd conf.d # exit\n\nlivecd \/ # umount \/mnt\/gentoo\/proc \/mnt\/gentoo\/boot \/mnt\/gentoo\n\nlivecd \/ # reboot<\/pre>\n<pre><\/pre>\n<pre>\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7528\u6237: adduser -g users -G lp,wheel,audio,cdrom,portage,cron -m john<\/pre>\n<pre>passwd john<\/pre>\n<pre>\u5b9a\u4e49\u8bed\u8a00\u73af\u5883<\/pre>\n<p>vim \/etc\/locale.gen<\/p>\n<p>emerge ccache<\/p>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u65f6\u95f4\uff0c\u4e0b\u4e86gentoo\u6765\u4f53\u9a8c\u4e00\u4e0b\u3002 \u770b\u4e86\u5b89\u88c5\u76f8\u5173\u6587\u6863\uff1ahttp:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml http:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml?catid=install \u7136\u540e\u627e\u4e86\u4e2a\u6559\u80b2\u7f51\uff0c\u6211\u8fd9\u91cc\u4e5f\u53ea\u6709http:\/\/ftp.sjtu.edu.cn \u4e0b\u8f7d\u6bd4\u8f83\u5feb\uff0c \u4e0b\u8f7dLiveCD:http:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/livecd\/livecd-i686-installer-2007.0.iso \u4e5f\u53ef\u4ee5\u4e0b\u8f7d\uff1ahttp:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/installcd\/install-x86-minimal-2007.0-r1.iso \u521a\u5f00\u59cb\u7528minimal\u4ece\u786c\u76d8\u5b89\u88c5\uff0c\u603b\u662f\u63d0\u793a\u627e\u4e0d\u5230 \u955c\u50cf\u6587\u4ef6\uff0c\u53ea\u597d\u6539\u7528livecd\u4e86 \u786c\u76d8\u5b89\u88c5\u65b9\u6cd5\uff1a\u5148\u5c06livecd\u89e3\u538b\u5230\u4e00\u4e2a\u5206\u533a\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u6700\u597d\u662ffat32\uff0c\uff08NTFS\u6ca1\u8bd5\u8fc7 \uff09\uff0c \u7136\u540e\u7528grub\u5f15\u5bfc\uff1a \u4fee\u6539 menu.lst\u6587\u4ef6 title gentoo install root (hd0,6) kernel \/isolinux\/gentoo root=\/dev\/ram0 init=\/linuxrc dokeymap looptype=squashfs loop=\/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=\/dev\/tty1 quiet initrd \/isolinux\/gentoo.igz boot \u8bf4\u660e\u4e00\u4e0b\uff0c\u6211\u5c06livecd\u89e3\u538b\u5230XP\u4e0b\u7684F\u76d8\u4e86\uff0c\u5bf9\u5e94\u7684\u662f\/dev\/sda7,\u4f46root \u91cc\u8981\u51cf1,\u5c31\u662f(hd0,6)\u4e86 \u63a5\u7740\u5c31\u4ecelivecd\u542f\u52a8\u4e86\uff1a\u53c2\u8003\u5b89\u88c5\u624b\u518c\uff1a Gentoo Linux<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pjq.me\/?p=46\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u6709\u65f6\u95f4\uff0c\u4e0b\u4e86gentoo\u6765\u4f53\u9a8c\u4e00\u4e0b\u3002 \u770b\u4e86\u5b89\u88c5\u76f8\u5173\u6587\u6863\uff1ahttp:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml http:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml?catid=install \u7136\u540e\u627e\u4e86\u4e2a\u6559\u80b2\u7f51\uff0c\u6211\u8fd9\u91cc\u4e5f\u53ea\u6709http:\/\/ftp.sjtu.edu.cn \u4e0b\u8f7d\u6bd4\u8f83\u5feb\uff0c \u4e0b\u8f7dLiveCD:http:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/livecd\/livecd-i686-installer-2007.0.iso \u4e5f\u53ef\u4ee5\u4e0b\u8f7d\uff1ahttp:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/installcd\/install-x86-minimal-2007.0-r1.iso \u521a\u5f00\u59cb\u7528minimal\u4ece\u786c\u76d8\u5b89\u88c5\uff0c\u603b\u662f\u63d0\u793a\u627e\u4e0d\u5230 \u955c\u50cf\u6587\u4ef6\uff0c\u53ea\u597d\u6539\u7528livecd\u4e86 \u786c\u76d8\u5b89\u88c5\u65b9\u6cd5\uff1a\u5148\u5c06livecd\u89e3\u538b\u5230\u4e00\u4e2a\u5206\u533a\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u6700\u597d\u662ffat32\uff0c\uff08NTFS\u6ca1\u8bd5\u8fc7 \uff09\uff0c \u7136\u540e\u7528grub\u5f15\u5bfc\uff1a \u4fee\u6539 menu.lst\u6587\u4ef6 title gentoo install root (hd0,6) kernel \/isolinux\/gentoo root=\/dev\/ram0 init=\/linuxrc dokeymap looptype=squashfs loop=\/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=\/dev\/tty1 quiet initrd \/isolinux\/gentoo.igz boot \u8bf4\u660e\u4e00\u4e0b\uff0c\u6211\u5c06livecd\u89e3\u538b\u5230XP\u4e0b\u7684F\u76d8\u4e86\uff0c\u5bf9\u5e94\u7684\u662f\/dev\/sda7,\u4f46root \u91cc\u8981\u51cf1,\u5c31\u662f(hd0,6)\u4e86 \u63a5\u7740\u5c31\u4ecelivecd\u542f\u52a8\u4e86\uff1a\u53c2\u8003\u5b89\u88c5\u624b\u518c\uff1a Gentoo Linux\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pjq.me\/?p=46\" \/>\n<meta property=\"og:site_name\" content=\"Jianqing&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2008-03-24T05:17:32+00:00\" \/>\n<meta name=\"author\" content=\"pengjianqing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pengjianqing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/pjq.me\/?p=46#article\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/?p=46\"},\"author\":{\"name\":\"pengjianqing\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"headline\":\"Gentoo\u4f53\u9a8c\u4e4b\u8def\",\"datePublished\":\"2008-03-24T05:17:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=46\"},\"wordCount\":175,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"articleSection\":[\"gentoo\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/pjq.me\/?p=46#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pjq.me\/?p=46\",\"url\":\"https:\/\/pjq.me\/?p=46\",\"name\":\"Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/#website\"},\"datePublished\":\"2008-03-24T05:17:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/pjq.me\/?p=46#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pjq.me\/?p=46\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pjq.me\/?p=46#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pjq.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gentoo\u4f53\u9a8c\u4e4b\u8def\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pjq.me\/#website\",\"url\":\"https:\/\/pjq.me\/\",\"name\":\"Jianqing&#039;s Blog\",\"description\":\"Thoughts and Future\",\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pjq.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\",\"name\":\"pengjianqing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"width\":460,\"height\":752,\"caption\":\"pengjianqing\"},\"logo\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/pjq.me\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pjq.me\/?p=46","og_locale":"en_US","og_type":"article","og_title":"Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog","og_description":"\u6700\u8fd1\u6709\u65f6\u95f4\uff0c\u4e0b\u4e86gentoo\u6765\u4f53\u9a8c\u4e00\u4e0b\u3002 \u770b\u4e86\u5b89\u88c5\u76f8\u5173\u6587\u6863\uff1ahttp:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml http:\/\/www.gentoo-cn.org\/doc\/zh_cn\/index.xml?catid=install \u7136\u540e\u627e\u4e86\u4e2a\u6559\u80b2\u7f51\uff0c\u6211\u8fd9\u91cc\u4e5f\u53ea\u6709http:\/\/ftp.sjtu.edu.cn \u4e0b\u8f7d\u6bd4\u8f83\u5feb\uff0c \u4e0b\u8f7dLiveCD:http:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/livecd\/livecd-i686-installer-2007.0.iso \u4e5f\u53ef\u4ee5\u4e0b\u8f7d\uff1ahttp:\/\/ftp.sjtu.edu.cn\/gentoo\/releases\/x86\/2007.0\/installcd\/install-x86-minimal-2007.0-r1.iso \u521a\u5f00\u59cb\u7528minimal\u4ece\u786c\u76d8\u5b89\u88c5\uff0c\u603b\u662f\u63d0\u793a\u627e\u4e0d\u5230 \u955c\u50cf\u6587\u4ef6\uff0c\u53ea\u597d\u6539\u7528livecd\u4e86 \u786c\u76d8\u5b89\u88c5\u65b9\u6cd5\uff1a\u5148\u5c06livecd\u89e3\u538b\u5230\u4e00\u4e2a\u5206\u533a\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u6700\u597d\u662ffat32\uff0c\uff08NTFS\u6ca1\u8bd5\u8fc7 \uff09\uff0c \u7136\u540e\u7528grub\u5f15\u5bfc\uff1a \u4fee\u6539 menu.lst\u6587\u4ef6 title gentoo install root (hd0,6) kernel \/isolinux\/gentoo root=\/dev\/ram0 init=\/linuxrc dokeymap looptype=squashfs loop=\/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:livecd-2006.1 CONSOLE=\/dev\/tty1 quiet initrd \/isolinux\/gentoo.igz boot \u8bf4\u660e\u4e00\u4e0b\uff0c\u6211\u5c06livecd\u89e3\u538b\u5230XP\u4e0b\u7684F\u76d8\u4e86\uff0c\u5bf9\u5e94\u7684\u662f\/dev\/sda7,\u4f46root \u91cc\u8981\u51cf1,\u5c31\u662f(hd0,6)\u4e86 \u63a5\u7740\u5c31\u4ecelivecd\u542f\u52a8\u4e86\uff1a\u53c2\u8003\u5b89\u88c5\u624b\u518c\uff1a Gentoo Linux","og_url":"https:\/\/pjq.me\/?p=46","og_site_name":"Jianqing&#039;s Blog","article_published_time":"2008-03-24T05:17:32+00:00","author":"pengjianqing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pengjianqing","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pjq.me\/?p=46#article","isPartOf":{"@id":"https:\/\/pjq.me\/?p=46"},"author":{"name":"pengjianqing","@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"headline":"Gentoo\u4f53\u9a8c\u4e4b\u8def","datePublished":"2008-03-24T05:17:32+00:00","mainEntityOfPage":{"@id":"https:\/\/pjq.me\/?p=46"},"wordCount":175,"commentCount":0,"publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"articleSection":["gentoo"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pjq.me\/?p=46#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pjq.me\/?p=46","url":"https:\/\/pjq.me\/?p=46","name":"Gentoo\u4f53\u9a8c\u4e4b\u8def - Jianqing&#039;s Blog","isPartOf":{"@id":"https:\/\/pjq.me\/#website"},"datePublished":"2008-03-24T05:17:32+00:00","breadcrumb":{"@id":"https:\/\/pjq.me\/?p=46#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pjq.me\/?p=46"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pjq.me\/?p=46#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pjq.me\/"},{"@type":"ListItem","position":2,"name":"Gentoo\u4f53\u9a8c\u4e4b\u8def"}]},{"@type":"WebSite","@id":"https:\/\/pjq.me\/#website","url":"https:\/\/pjq.me\/","name":"Jianqing&#039;s Blog","description":"Thoughts and Future","publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pjq.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60","name":"pengjianqing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/","url":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","width":460,"height":752,"caption":"pengjianqing"},"logo":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/"},"url":"https:\/\/pjq.me\/?author=1"}]}},"views":1986,"_links":{"self":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":0,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}