[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - Vm安装amd64 gentoo的问题 !!!

Vm安装amd64 gentoo的问题 !!!

什麼?Gentoo 裝不起來?核心怎麼編?安裝失敗等問題?來這裡求救吧!

版主: Forums Team

Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週五 5月 15, 2009 1:02 pm

我是个GENTOO新手,最近在VM装AMD64的GENTOO,可是当我到了emerge --sync再进行emerge portage时就有如下的错误,因为是个新手所以无从下手了!
还望哪个高手指点指点! :cry:

错误提示如下: :arrow:
/usr/lib/gcc/x86_64-pc-linux-gun/4.1.2/../../../../x86_64-pc-linux-gun/bin/ld: 01: No such file: No such file or directory
meke: *** [scanelf] Error 1

* Messages for packge app-misc/pax-utils-0.1.19:

*
* ERROR: app-misc/pax-utils-0.1.19 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2475: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
* The message:
* (no error message)

* …………………………………………………………


备注: :idea:
AMD Athlon 64x2 4800+
VMware Workstation 5.5.3 硬盘虚拟为IDE,因为一开始虚拟成SCSI会不支持 , Virtual Processor = 2
Gentoo install-amd64-minimal-2008.0-r1.iso

我的 /mnt/gentoo/etc/make.conf 里有一个USE定义:
USE="mmx sse sse2"(此定义在安装时默认的, 但在官方手册里好像没有说明!!!)

GENTOO_MIRRORS="http://gentoo.osuosl.org/ "

SYNC="rsync://rsynx.gentoo.org/gentoo-portage"

其他都是按官方手册设置!!!

因为我是大陆的新成员,,,所以没有繁体字还望朋友们见谅!!! :P

望高手指点!!!

CrazyBird 跪求!!! :cry:
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週五 5月 15, 2009 1:56 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章paar » 週五 5月 15, 2009 4:58 pm

請問有否依以下連結文安裝?
http://www.gentoo.org/doc/zh_cn/handboo ... ble&full=1
否,請重新依照文中順序做。
是,則請敘述做到哪一步驟所出現的錯誤訊息。
叫我老帕好了!
圖檔
頭像
paar
 
文章: 1154
註冊時間: 週四 1月 30, 2003 10:53 am
來自: 打狗市

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週一 5月 18, 2009 12:48 am

jojoyakira 和 paar 兄:
首先谢谢你们的支持!!!
上面老帕兄说到的我敢保证我是按照官方手册安装的! 不过后面才知道是 /etc/make.conf 的问题!!!
后来我改过来了, portage --sync 也正常,进入 /usr/src/linux 然后 make && make modelus_install 也正常了!!!

不过,又有新问题出现了!!! :cry:

安装完重启!GRUB正常进入,再后来就这样了:

[ 5.513410] VFS: Cannot open root device "hda3" or unknown-block(0,0)
[ 5.512479] Please append a correct "root=" boot option; here are the availible partition:
[ 5.514124] Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(0,0)

说是什么无法打开 hda3 的 root 分区,但是我在安装挂载的时候 mount /dev/hda3 /mnt/gentoo 没有任何问题, 并且在创建文件夹 mkdir /mnt/gentoo/boot 然后在挂载 boot 分区 mount /dev/hda1 /mng/gentoo/boot 的也没有任何问题!

创建文件系统用的是 mke2fs /dev/hda1 , mke2fs -j /dev/hda3 , 也就是说 boot 分区是EXT2的,root 分区是EXT3的!这些我都是按照官方手册进行的!
还有 /etc/fstab 也是按官方写的:
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 nona swap sw 0 0
/dev/hda3 / ext3 noatime 1 0

现在装Gentoo系统就没有一次成功的,无论是 i686 还是 AMD64 都是失败!!!
特别是安装Gentoo,因为白天没时间,所以要等到晚上,所以都熬N个夜了!!!

还望高手再指点指点!!!
不然是对我的睡眠也对不起啊!!!

CrazyBird 望高手赐教 !!!
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週一 5月 18, 2009 1:47 am

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週三 5月 20, 2009 2:50 pm

jojoyakira 兄,首先谢谢你对我的支持!!! :D

以下是我的 /boot/grub/grub.conf 配置信息:

default 0
timeout 3
...
title Gentoo Linux
root (hd0,0)
kernel /boot/kernel-2.6.28-gentoo-r5 root=/dev/hda3

上面的引导配置全是根据Gentoo官方所设定的!

另外在Gentoo官网FAQ里进入“自己”Gentoo的时候 chroot /mnt/gentoo , env-update , source /etc/profile ……再后面有个 export PS1="(chroot) $PS1" 这是什么意思啊?

备注:
# ls /boot
# boot grub kernel-2.6.28-gentoo-r5 lost+found

另外我还试了一下用 ReiserFS 作 root 的文件系统,/etc/fstab 如下:
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / reiserfs noatime 0 0
...
GRUB的设定同上!
重启之后错误信息同上!
并且 VMware 却来个这样的提示:
The CPU has been disabled by the guest operaing system.You will need to power off or reset the virtual machinek at this point.

现在是越来越多的困惑了!
还希望高手能指点迷经啊!!! :cry:
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週三 5月 20, 2009 4:36 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章pokkys » 週三 5月 20, 2009 5:56 pm

頭像
pokkys
 
文章: 94
註冊時間: 週六 12月 17, 2005 12:01 am
來自: 台灣台南

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週四 5月 21, 2009 3:45 pm

很高兴你们能帮我解答疑问!
上面有位好心高手说会不会是initramfs的问题,还有说是不是没有把root filesystem编译进内核!
首先或许我可能可以肯定kernel是没问题的,因为无论是手工还是用genkernel编译kernel都会出现上面的问题!
我现在还有个例子可以参考一下,就是我从backtrack官方下载了一个backtrack的VM版,用VMware打开却有着跟Gentoo启动时一样的错误:都是能引导但是都是说"root="有问题!
我现在正在考虑着是不是VM的问题!
如果说真是VM的问题的话,又有一点不通:别人装Gentoo怎么没有问题呢!!!

因为现在还不清楚到底是哪里有问题,所以又不能茫目地在自己的主机上做试验!
不知道经验丰富的高手们怎么想的,是直接在真机上试验还是找出问题原因先!

备注:
1、装x86和装AMD64存在有同样的问题!!!
2、无论是Google 或是 Baidu(大陆流行的搜索引擎)N久还是没有找到过相同问题的出现!
最後由 CrazyBird 於 週四 5月 21, 2009 3:53 pm 編輯,總共編輯了 1 次。
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週四 5月 21, 2009 3:50 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週四 5月 21, 2009 3:56 pm

VirtualBOX我只在Linux里用过,上次安装了下发现新建个VirtualMechina发现会占用真实硬碟的容量所以就从此再也没用过了!
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週四 5月 21, 2009 3:59 pm

请问jojoyakira兄,你上面的grub.conf设定的是引导用genkernel编译的内核吧!

我在Gentoo.org的hardbook里看到的手工编译的内核用的grub.conf和你的不一样,不过我是手工编译的内核所以和我设定的一样!
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週四 5月 21, 2009 4:01 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章jojoyakira » 週四 5月 21, 2009 4:03 pm

Desktop:Intel Pentium(R) Dual-Core CPU E5300 @ 2.60GHz,OS: Gentoo GNU/Linux
jojoyakira
 
文章: 284
註冊時間: 週四 3月 01, 2007 10:42 pm
來自: kaohsiung

Re: Vm安装amd64 gentoo的问题 !!!

文章CrazyBird » 週四 5月 21, 2009 5:34 pm

我的也没错啊,,,我是按照手册写的啊!
我没有使用genkernel所以是"未使用genkernel的grub.conf" 只有一个kernel参数没有什么initrmfs参数啊!!!
还有我也没使用JFS所以也在要加ro这个参数!!!
还有我用lspci看到有这样的参数:
Host bridge: Intel Corporation ...
PCI bridge: Intel Corporation ...
ISA bridge: Intel Corporation ...
IDE interface: Intel Corporation ...
USB Controller: Intel Corporation ...
Bridge: Intel Corporation ...
VGA ...
SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (re 01)
Ethernet controller: Intel Corporation ...
...

# fdisk -l
# dev/hda1
dev/hda2
dev/hda3

我的是AMD的CPU,怎么这么多Intel Corporation ...的信息啊!
我设定的是IDE硬盘用的是LSI Logic的硬碟控制器,fdisk -l 显示的也是IDE的硬碟啊!怎么还会出现SCSI存储控制器啊!
我是个Gentoo新手,在计算机方面经常会遇到问题,还请热心的高手老手们指点!!!望志同道合的兄弟共同研究进步!!!

附上小弟的联系方式MSN : aobodoe@hotmail.com (若不嫌弃小弟愚昧的话,交个朋友也不错啊!)
頭像
CrazyBird
 
文章: 32
註冊時間: 週四 5月 14, 2009 3:16 pm

下一頁

回到 Gentoo 安裝

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 11 位訪客

cron