Gentoo booted by efi 安裝筆記(2016)
liveCD 進入桌面,無線聯網,下載stage3
#parted /dev/sda
partition table:gpt
number start end file system name flags
1 efi system partition
#mount /dev/sda9 /mnt/gentoo
#ls
stage#*.tar.xz
#xz stage3.*.tar.xz
#tar xvf stag*.tar
root #mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf
https://mirrors.163.com/gentoo/
https://mirrors.tuna.tsinghua.edu.cn/gentoo/
root #mkdir --parents /mnt/gentoo/etc/portage/repos.conf
root #cp /mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf
root #cp --dereference /etc/resolv.conf /mnt/gentoo/etc/
root #mount --types proc /proc /mnt/gentoo/procroot #mount --rbind /sys /mnt/gentoo/sysroot #mount --make-rslave /mnt/gentoo/sysroot #mount --rbind /dev /mnt/gentoo/devroot #mount --make-rslave /mnt/gentoo/devroot #chroot /mnt/gentoo /bin/bashroot #source /etc/profileroot #export PS1="(chroot) ${PS1}"root #mkdir /bootroot #mount /dev/sda1 /bootroot #emerge-webrsyncroot #emerge --sync --quietroot #eselect news listroot #eselect news read allroot #eselect profile listroot #eselect profile set default/linux/amd64/13.0/systemdroot #eselect profile listAvailable profile symlink targets: [10] default/linux/amd64/13.0/developer [11] default/linux/amd64/13.0/no-multilib [12] default/linux/amd64/13.0/systemd * [13] default/linux/amd64/13.0/x32 [14] hardened/linux/amd64
root #emerge --ask --verbose --update --deep --newuse @world#emerge --ask sys-kernel/linux-firmwareroot #nano -w /etc/fstabroot #emerge --ask sys-kernel/genkernel-next* ebuild.sh, line 133: Called src_compile
* environment, line 4217: Called multilib-minimal_src_compile
* environment, line 2339: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 2570: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2217: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2215: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 400: Called multilib-minimal_abi_src_compile
* environment, line 2333: Called multilib_src_compile
* environment, line 2826: Called building
* environment, line 2794: Called die
* The specific snippet of code:
* ejam ${OPTIONS} ${PYTHON_OPTIONS} || die "Building of Boost libraries failed";
Based on your comment about possible OOM error... tried -jX until -j1 and was able to build without error. I'll bill this off as memory usage due to livecd.
So for anyone else who stumbles into this one based on any keywords present in this thread...
Ignore suggestion of using -j(number of cores + 1) and instead set -j1 and see if it builds,
/etc/genkernel.conf# Use udev instead of mdev as the default device manager for the initramfs.
# If systemd and perhaps lvm is used, then this _must_ be turned on.
UDEV="yes"
root #emerge -avDN @worldroot #emerge --deselect sys-fs/udevroot #systemctl daemon-reexec# cat /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0008 Version=0700
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=event8
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=260800000000003
This touchpad is identified as PS/2 Mouse,which only Left click and Right Click ^_^

浙公網安備 33010602011771號