ITPub博客

首页 > 数字化转型 > ERP > 从stage1装gentoo基本系统(转)

从stage1装gentoo基本系统(转)

原创 ERP 作者:ba 时间:2007-08-16 08:43:55 0 删除 编辑
从stage1装gentoo基本系统(转)[@more@]1、解压缩stage1文件,/etc/resolv.conf

2、安装portage

3、mount -t proc none /mnt/gentoo/proc,mount -o bind /dev /mnt/gentoo/dev

4、chroot /mnt/gentoo /bin/bash;env-update source /etc/profile;emerge --sync

5、设置/etc/make.conf,locales:/etc/locales.build

6、stage1至stage2:cd /usr/portage;scripts/bootstrap.sh -f;scripts/bootstrap.sh

7、stage2至stage3:emerge -e system

8、
/etc/fstab,/etc/conf.d/hostname,/etc/conf.d/domainname
rc-update add domainname default

9、
/etc/conf.d/net
config_eth0=("10.13.88.88 netmask 255.255.0.0"
routes_eth0=("default gw 10.13.254.254"
rc-update add net.eth0 default

10、设置时区,/etc/rc.conf,/etc/conf.d/clock,emerge reiserfsprogs

11、passwd root,grub

12、reboot

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10617731/viewspace-960624/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    1621
  • 访问量
    4430937