Gentoo make.conf

Gentoo我的/etc/portage/make.conf配置文档

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

MAKEOPTS="-j13"

USE="X"
USE="acl alsa qt5 qt4  kde  dvd pulseaudio h264"
USE="dbus policykit udisk eudev consolekit"
USE="handbook"
USE="elogind"
USE="vboxwebsrv"
INPUT_DEVICES="libinput synaptics"
#intel i965
USE="glamor dri sna uxa xvmc"
VIDEO_CARDS="nvidia intel i965 virtualbox"

GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ https://mirrors.tuna.tsinghua.edu.cn/gentoo http://gentoo.aditsu.net:8000/"

 

linux gentoo virtualbox install MacOS

今天从网上找了下文档,然后在笔记本上GENTOO系统下的VIRTUALBOX安装MAC OS系统,除在VIRTUALBOX新建虚拟机时的配置外,在终端主要的一个配置步骤如下(此步骤略过有可能无法进入引导安装,以下为共6条命令行,须在终端命令配置)

虚拟机的配置完成之后,需要进行下列的操作。“macos”是虚拟机的名称
1.vboxmanage modifyvm "macos" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
2.vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
3.vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
4.vboxmanage setextradata "macos" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
5.vboxmanage setextradata "macos" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
6.vboxmanage setextradata "macos" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
启动virtualbox
——————————————

Continue reading "linux gentoo virtualbox install MacOS"