Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]第一次接触gentoo,安装内核失败。
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
xiao7john
n00b
n00b


Joined: 27 Dec 2012
Posts: 7

PostPosted: Thu Dec 27, 2012 8:24 am    Post subject: [Solved]第一次接触gentoo,安装内核失败。 Reply with quote

我原来用的是FreeBSD,现在第一次安装gentoo,对portage完全不懂。在virtualBox里面gentoo,按照手册,/和/boot分区完毕,格式化成ext4文件系统,解压stage3-i686-20121213.tar.bz2和portage-20121218.tar.bz2,chroot,到了emerge gentoo-sources阶段,内核始终安装不了。
# emerge gentoo-sources
显示的是开始安装3.5.7内核。但好像编译完成,但是到最后,停在这里,怎么也装不上去。
>>> ......
>>> completed installing gentoo-sources-3.5.7 into /var/tmp/portage/sys-kernel/gentoo-sources-3.5.7/image/

>>> installing (1 of 1) sys-kernel/gentoo-sources-3.5.7

等了很久,基本就停在这里了。。。。。。


安装一个toolkit,使用equery查询
# emerge gentoolkit
# equery list '*'
显示安装的是linux-header-3.6,我的基本系统里面,明明是linux-header-3.6,为什么系统自己装的是kernel-3.5.7呢?
请问怎么修改安装内核的版本?



我换成安装3.6.8内核,也是停在这里
# cd /usr/portage/sys-kernel/gentoo-sources
# emerge gentoo-sources-3.6.8.ebuild


Last edited by xiao7john on Fri Dec 28, 2012 4:05 am; edited 1 time in total
Back to top
View user's profile Send private message
xiao7john
n00b
n00b


Joined: 27 Dec 2012
Posts: 7

PostPosted: Fri Dec 28, 2012 4:04 am    Post subject: Reply with quote

安装3.5.7通过了,原因是内存不够,gentoo的minimal安装iso至少得256M内存。内存太少,根本不够。
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum