Gentoo安装详解(三)

配置系统系统信息:文件系统信息:

创建/etc/fstab

nano -w /etc/fstab网络信息:

Host name, Domainname, etc

nano -w /etc/conf.d/hostname

Configuring Network

nano -w /etc/conf.d/net系统信息:

Gentoo uses /etc/rc.conf to configure the services, startup, and shutdown of your system.

nano -w /etc/rc.conf

Root Password

passwd

Gentoo uses /etc/conf.d/hwclock to set clock options.

nano -w /etc/conf.d/hwclock安装系统工具软件:可选:PCMCIA使用lspci查看硬件信息:emerge pcmciautilsSystem Logger:emerge syslog-ngrc-update add syslog-ng default可选:File Indexing:emerge mlocate可选:Remote Access:rc-update add sshd default可选:DHCP Client:emerge dhcpcd配置启动项:Using GRUB2:emerge sys-boot/grubgrub2-install /dev/sda

Generating GRUB2 configuration:

grub2-mkconfig -o /boot/grub/grub.cfg可选:Using GRUB Legacy:emerge sys-boot/grub:0

编辑配置文件:

nano -w /boot/grub/grub.conf

Example grub.conf:

# 默认选择哪个列表来引导。0表示第一个, 1表示第二个,,以此类推。default 0# 引导默认列表前等待多少秒timeout splashimage=(hd0,0)/boot/grub/splash.xpm.gztitle .10# 内核镜像(或者操作系统)所在分区root (hd0,0)kernel /boot/kernel-3.10.10-gentoo root=/dev/sda2title .10 (rescue)# 内核镜像(或者操作系统)所在分区root (hd0,0)kernel /boot/kernel-title Windows XProotnoverify (hd0,5)makeactivechainloader +1#win7下注释掉makeactive

Setting up GRUB Legacy using grub-install: Creating /etc/mtab:

grep -v rootfs /proc/mounts > /etc/mtab

Install GRUB Legacy:

grub-install –no-floppy /dev/sda重启系统:exitcdumount -l /mnt/gentoo/dev{/shm,/pts,}umount -l /mnt/gentoo{/boot,/proc,}reboot

又或者是后天的,我们不断学习,努力进取的路途中辛苦寻到的武器。

Gentoo安装详解(三)

相关文章:

你感兴趣的文章:

标签云: