gentoo、Linux from Scratch折腾过好几回,全部死在内核编译上。。
今天终于成功了。。。
每次的问题都是重启之后文件系统错误,这次虽然成功了,但是仍然不是很明白问题的关键
一、vmware的创建virtual machine时候的配置
1、网络使用桥接方式
2、i/o adapter types :scsi adapter之 LSI logic
3、vitual disk type : scsi
二、install-x86-minimal-20101123.iso的配置(我安装了两个gentoo)
选择正确的处理器类别
Processor type and features --->
(Change according to your system)
(Athlon/Duron/K7) Processor family
选择需要的文件系统
File systems --->
Pseudo
filesystems
--->
<*> /proc file system support
< >
/proc/kcore support
<*>
Sysctl support
(/proc/sys)
<*> sysfs file system support
<*> Virtual memory file system support (former shm fs)
!!! ext3 reiserfs
什么的自己选了(注意
ext2
默认没有选中,注意选上。而且必须编译到内核中,不能是模块的形式
)
启用
SMP
支持
Processor type and features
--->
[*]
Symmetric multi-processing support
注意
:
在多核心系统中,处理器的数目相当于核心的数目。
启用
USB
接口的输入设备支持
Device Drivers --->
[*]
HID Devices--->
<*>
USB Human Interface
Device (full HID) support
Loadable module support --->
[*]
Enable loadable module support
[*]
Module unloading
[*]
Automatic kernel module loading
Bus options (PCI etc.) --->
[*] PCI Support
[*]
ISA Support
Device
Drivers --->
Fusion MPT device support
--->
(这个除了最后一个,其他的都设置成
*,
而不是
M
)
Device
Drivers --->
SCSI device support
--->
<*> SCSI device support
<*> SCSI disk support
SCSI low-level drivers
--->
<*> SYM53C8XX Version 2 SCSI support
Device Drivers --->
SCSI
device support
--->
<*> SCSI device support
<*>
SCSI disk support
SCSI low-level drivers
--->
<*> BusLogic SCSI support
Device Drivers --->
ATA/ATAPI/MFM/RLL support
--->
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*>
Include IDE/ATAPI
CDROM support
[*]
PCI IDE chipset support
[*]
Generic PCI bus-master DMA
support(
这个没有找到
)
<*>
Intel PIIXn chipsets support
Device
Drivers--->
<*>Fusion MPT device support--->
<*>Fusion MPT (base + ScsiHost) drivers
<*>Fusion MPT misc
device (ioctl) driver
(这个不确定)
(这个是网上给出的说明,但是我所编译的内核没有这些选项,我把
Device
Drivers---> Fusion MPT device support--->
除了最后一个,别的全部选中。这篇博客
http://space.doit.com.cn/45811 /viewspace-1998.html
说必须设置成模块方式,但是我没有这么做,我编译到内核之中了)
File systems --->
CD-ROM/DVD Filesystems
--->
<*> ISO 9660 CDROM file system support
[*]
Microsoft Joliet CDROM
extensions
Networking --->
[*]
Networking support
Networking options
--->
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
Device Drivers --->
Network Device support
--->
[*] Network device support
Ethernet (1000Mbit)
--->
[*] Intel(R) PRO/1000 Gigabit Ethernet support
Device Drivers --->
Network Device support
--->
[*] Network device support
Ethernet (10 or 100Mbit)
--->
[*] Ethernet (10 or 100Mbit)
[*] EISA, VLB, PCI and on board controllers
<*>
AMD PCnet32 PCI
support
三、livedvd-x86-amd64-32ul-10.1.iso的配置
别的都同上边的一样,就是
Device Drivers --->
SCSI device support --->
<*> SCSI device support
SCSI low-level drivers --->
<*> BusLogic SCSI support(这一项网上有的说不能选,所以没有选中)
参考:
http://wenku.baidu.com/view/258763768e9951e79b8927f1.html(最好)
http://space.doit.com.cn/45811/viewspace-1998.html
http://hi.baidu.com/joyfun/blog/item/4554c2fdb0fb9145d7887df6.html
分享到:
相关推荐
NULL 博文链接:https://jackchen0227.iteye.com/blog/1138526
vmware中安装gentoo详解
修补程序文件,用于在Linux内核4.0.4上构建Gentoo的vmware-modules-279.3软件包。 使程序包编译无误,并允许vmware-player运行。 使用风险自负。 指示: 手动克隆存储库或单独下载文件。 在终端中,将补丁文件放在...
gentoo-clang-kernel-overlay 提供 ebuild 以使用 Clang 以 Gentoo 方式编译内核 这是 Gentoo Clang 内核开发完成的地方。 要将此覆盖添加到 Gentoo 系统,请运行以下命令: 外行 -o -f -a gentoo-clang-kernel-...
gentoo-portage-rsync-mirror, Gentoo库的镜像镜像,使用 https 以前的Gentoo rsync-to-git镜像用于包含打包到git存储库中的Gentoo树的存储库。 然而,在 2015-08-09,Gentoo正式切换到了 git,这使得。新资源:cgit...
gentoo-packer, 用于创建 Gentoo Vagrant框的封隔器脚本 Gentoo - 最小的Vagrant框这是最最小的stage3 ( amd64,nomultilib ) 安装,它可以打包成一个Vagrant的盒子文件。 提供了VirtualBox和VMWare版本。它基于官方...
资源来自pypi官网。 资源全名:binary_gentoo-5.0.0-py3-none-any.whl
资源分类:Python库 所属语言:Python 资源全名:binary_gentoo-5.0.1-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
gentoo-dfbsd gentoo个人资料DragonFlyBSD内核
gentoo-pxe-builder目的此PXE构建器的目的是让您从PXE引导计算机,然后自动对其进行设置,以便可以使用SSH远程访问它。 引导此PXE initramfs将显示有关PXE主机上可用网络接口的信息,因此您无需键入任何命令即可连接...
在某些条件下使用循环安全地创建,因此,如果退出状态为1的命令,则会在该步骤重复执行此操作(故障保护)。要求稳定的电力稳定的互联网连接具有Linux环境的经验(故障排除) /任何Linux发行版PKG : sh/bash wget/...
gentoo-docker-images, 获得官方和自动化的gentoo基础 Docker 容器的常见努力 Docker 图像 用于生成 Gentoo Docker 图像的Dockerfiles的集合。这些图像打算由 travis cron的工作自动创建并推到 Docker-Hub 。 这个...
Gentoo 文档日语翻译库该存储库是 Gentoo 官方文档的日语翻译存储库。我们正在这个存储库中进行翻译。本文档描述了以下项目:开始翻译翻译笔记翻译审核提交翻译翻译更新如果您发现翻译错误如果您有任何问题开始翻译...
gentoo-kernel-guide:在Gentoo Linux上配置和管理内核的更好方法
介绍gentoo搭建方法,让你了解gentoo的总体架构,以及安装方法。
gch - gentoo-sources compilation helper 版本 0.20 概要: gch.sh [--help|-h] [--version|-v] [--kernel|-k ] [--initramfs|-i] [--yestoall|-y] 描述 If you're tired of manually (re)compiling your gentoo-...
gentoo-stage4 目录 主意 我们所有人都知道,与任何其他发行版相比,安装Gentoo会花费一些时间。 在过去的几年中,我一直通过自动安装程序脚本进行安装,该过程需要花费几分钟,但是在每次安装时都会进行一些重复...
第一条规则不要破坏人的系统规则二不要破坏人们的系统3号规则遵守规则1和2提交消息对于非版本的凹凸提交,提交消息应如下所示: $category/$package: one line short description message {empty line} multiple ...