|
Gentoo快乐之旅……KDE还是不行!最终还是去了GNOME旅游!内有Screenshot看!
[复制链接]
|
|
楼主 |
发表于 23-11-2005 12:10 PM
|
显示全部楼层
星期一回来,
很想赶快继续我的Gen2之旅。
可是却被逼跑去当公司最贵的劳工!
星期二回来继续我的工作了!
首先先设定我的Group还有User。
这个之前已经策划好了。
一切都进行的蛮顺利的。
然后到了午后就开始装我的Samba了。
问题来啦!
问题终于来啦!
我就用 emerge -pv samba 来查询samba的相依性。
然后就有以下的东西出现。
没有问题
......
[ebuild N ] net-fs/samba-2.2.8a.tar.bz2 -acl +cups -doc -examples -kerberos -ldap -libclamav +mysql* -oav -pam -postgres +python -quotas +readline (-selinux) -winbind -xml +xml2 0 kB
......
Total size of downloads: 668 kB
然后我就emerge samba
很无奈的在download这个net-fs/samba-2.2.8a.tar.bz2 file的时候
就是找不到。
试过很多Server Proxy都没有。
所以就安装不成功。
没有任何的头绪。
不知道在那么做。
过后,想起刚才的说明
emerge sync好像是用来更新什么 tree list的
就试一试。
跑跑跑。。。
跑得很久。
等不及了。
唯有CTRL-C
然后再试一试
emerge samba。
果然,samba的version换了。
然后就emerge samba。
要下载得很慢。
最快才去到4-5kbps。
我在用着1Mbps Streamyx可是为什么会酱?
是时候放工了。
没有办法就放着让它自己跑吧!
明早再回来看。 |
|
|
|
|
|
|
|
发表于 24-11-2005 01:27 PM
|
显示全部楼层
回复 #20 june_starnight 的帖子
你有set DNS吗??
在/etc/resolv.conf那边
nameserver DNS_IP
另外看到你的帖,说汉化方面的
emerge hkscs-ming就能有华文了,我很少再linux装chinese input其他的你慢慢研究~
你可以用malaysia的gentoo mirror会比较快
在/etc/make.conf里加入
GENTOO_MIRRORS="URL"
http://mymirror.asiaosc.org/gentoo/是mimos的server...
但是有时在那边emerge的package会有问题的,就好像我上次emerge gaim时compile有问题
试了很久都不行,想应该是source的问题吧,然后从/usr/portage/distfiles里delete掉download下来得gaim package后再用其他的server来emerge,就没问题...
你有时间能不能写关于set server的tutorial ??
我没set呢.... |
|
|
|
|
|
|
|
楼主 |
发表于 24-11-2005 02:13 PM
|
显示全部楼层
原帖由 momoomo 于 24-11-2005 01:27 PM 发表
你有set DNS吗??
在/etc/resolv.conf那边
nameserver DNS_IP
另外看到你的帖,说汉化方面的
emerge hkscs-ming就能有华文了,我很少再linux装chinese input其他的你慢慢研究~
你可以用malaysia的gento ...
DNS过后我设定了。
不知道算不算汉化。
只是想说设定我的Xwindows可以Support UTF8。
中文输入。SCIM不错可以支持很多的输入了。
GCIN好像也是。不过还没有试过。还在研究。
我已经设定了。
现在我的emerge遇到了大问题!
首先是我已经装好了samba可是在/etc/init.d/里面找不到samba整个文件。
- gserver root# /etc/init.d/samba start
- -bash: /etc/init.d/smbd: No such file or directory
复制代码
所以就想说用equery来查查看是什么问题。
可是当我用equery的时候,发现我还没有装gentoolkit
所以就要去emerge它。
可是就出现了这个
- > Configuring environment...
- > Calculating dependencies
- >
- > emerge: there are no masked or unmasked ebuilds to satisfy
- > ">=sys-apps/portage-2.0.36".
复制代码
所以就跑去 emerge sync。
一开始 rsync://rsync.gentoo.org/gentoo-portage/
很慢。
在
/etc/make.conf
放了这个
taiwan的
- SYNC="rsync://ftp.isu.edu.tw/gentoo-portage"
- GENTOO_MIRRORS="ftp://ftp.isu.edu.tw/pub/Linux/Gentoo"
复制代码
过后就很快。
做完 emerge sync然后在做emerge -uDav world
过后就出现以下的
- * An update to portage is available. It is _highly_ recommended
- * that you update portage now, before any other pacages are updated.
- * please do so and then update ALL of your configuration files.
- !!!Error: -N is an invalid short action or option.
复制代码
然后就emerge gentoolkit出现这个
- gserver root # emerge gentoolkit
- !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
- !!! Is th symlink correct? Is your portage tree complete?
复制代码
不见了就做这个
- gserver root # rm /etc/make.profile
- gserver root # ln -s ../usr/portage/profiles/default-linux/x86/2005.0/ make.profile
- gserver root # emerge sync
- gserver root # emerge -uDav world
- [color=red]These are the packages that i would merge, in order:
- !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
- !!! Is th symlink correct? Is your portage tree complete? [/color]
复制代码
再来一次
- gserver etc # emerge sync
- !!! "str" object has no attribute 'insert'
- !!! "rm -Rf /usr/portage/profiles: emerge sync" may fix this. If it does
- !!! not then please report this to bugs.gentoo.org, if possible, a dev
- !!! on #gentoo (irc.freenode.org)
复制代码
看到这个就跟着他的Instrution
- gserver etc # rm -Rf /usr/portage/profile
- gserver etc # emerge sync
- !!! "str" object has no attribute 'insert'
- !!! "rm -Rf /usr/portage/profiles: emerge sync" may fix this. If it does
- !!! not then please report this to bugs.gentoo.org, if possible, a dev
- !!! on #gentoo (irc.freenode.org)
复制代码
看来还是一样。
只是Infinity的在重复!
可能是我用2004.1的版本很久了。
现在在试着这个
- mv /usr/portage /usr/portage.bak
- emerge sync
- emerge metadata
复制代码
如果真的不行,就唯有重新装过了。
刚下了新的一张2005.1的。
这个些都是一个台湾的高手教我的想看详情,请看:
http://forums.gentoo.org.tw/viewtopic.php?t=43711&postdays=0&postorder=asc&start=0
嗯,等我整理好了。
再等我写出来吧!
你有用过WIKI吗?
我觉得用WIKI在这方面会比较好。
我们不需要做重复的工作。
[ 本帖最后由 june_starnight 于 24-11-2005 02:14 PM 编辑 ] |
|
|
|
|
|
|
|
楼主 |
发表于 25-11-2005 08:24 AM
|
显示全部楼层
|
|
|
|
|
|
|
楼主 |
发表于 28-11-2005 12:34 PM
|
显示全部楼层
[quote="june"]我
#emerge gentoo-sources
然後
但是沒有用genkernel
再然後
#make menuconfig
#make dep && make clean bzImage modules modules_install
#cp arch/i386/boot/bzImage /boot
#cp .config /boot/config-2.6.14-gentoo-r2
------
setting network
------
#emerge grub
#grub
grub>root (hd0,0)
grub>setup (hd0)
grub>quit
#nano -w /boot/grub/grub.conf
- =======================
- #/boot/grub/grub.conf
- default 0
- timeout 5
- splashimage=(hd0,0)/boot/grub/splash.xpm.gz
- title=Gentoo Server 2.6.14-r2
- root (hd0,0)
- kernel /boot/kernel-2.6.14-r2 root=/dev/hda3
- =======================
复制代码
當我reboot
到了
vesafb: scrolling: redraw
就hang著了!
怎麽辦?[/quote] |
|
|
|
|
|
|
|
发表于 29-11-2005 12:34 AM
|
显示全部楼层
cp arch/i386/boot/bzImage /boot
那你的KERNEL应该是bzImage阿。。。
#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Server 2.6.14-r2
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
boot到grub后按'e'然后把 kernel /boot/kernel-2.6.14-r2 root=/dev/hda3 改成 kernel /boot/bzImage root=/dev/hda3
然后按'b' |
|
|
|
|
|
|
|
发表于 29-11-2005 09:13 AM
|
显示全部楼层
原帖由 momoomo 于 29-11-2005 12:34 AM 发表
cp arch/i386/boot/bzImage /boot
那你的KERNEL应该是bzImage阿。。。
#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Serve ...
initrd /initrd<xxxx>
在哪裡呢?
如果沒有 initrd , 會 kernel panic 的. |
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 10:55 AM
|
显示全部楼层
原帖由 momoomo 于 29-11-2005 12:34 AM 发表
cp arch/i386/boot/bzImage /boot
那你的KERNEL应该是bzImage阿。。。
#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Serve ...
试过了。
可是还是不行。
我想事driver的问题?
要在make menuconfig?
会不会是 framebuffer support的问题呢?
可是我已经untick了哦! |
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 11:03 AM
|
显示全部楼层
原帖由 chinkai80 于 29-11-2005 09:13 AM 发表
initrd /initrd<xxxx>
在哪裡呢?
如果沒有 initrd , 會 kernel panic 的.
initrd???不明白。 |
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 11:59 AM
|
显示全部楼层
當我再compile時
make dep && make bzImage modules modules_install
出現了以下的Error
- include/linux/jiffies.h: In function 'jiffies_64_to_cloc_t';
- include/linux/jiffies.h:425: internal compiler error: Segmentation fault
- Please submit a full bug report,
- with preprocessed source if appropriate.
- See <URL:http://bugs.gentoo.org.? for insructions.
- The bug is not reproducible, so it is likely a hardware or OS problem.
- make[2]: *** [arch/i386/ernel/axpi/sleep.o] Error 1
- make[1]: *** [arch/i386/ernel/acpi] Error 2
- make: *** [arch/i386/kernel] Error 2
复制代码 |
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 01:13 PM
|
显示全部楼层
原帖由 chinkai80 于 29-11-2005 09:13 AM 发表
initrd /initrd<xxxx>
在哪裡呢?
如果沒有 initrd , 會 kernel panic 的.
哈哈!
vesafb: scrolling: redraw问题终于被解决了!
可是另一个问题有来了!
那就是Kernel panic
- UDF-fs: No VRS found
- Mount JFS Failure: -22
- XFS: bad magic number
- XFS: SB validate failed
- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
复制代码 |
|
|
|
|
|
|
|
发表于 29-11-2005 02:39 PM
|
显示全部楼层
timeout 1
defaults 0
title Gentoo Linux (2.6.14.2)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.14.2-P4HTsmp-CO-Custom root=/dev/ram0 real_root=/dev/hda2 vga=791
initrd /initramfs-genkernel-x86-2.6.14.2-P4HTsmp-CO-Custom
這是我的 grub.conf
參考一下. |
|
|
|
|
|
|
|
发表于 29-11-2005 03:17 PM
|
显示全部楼层
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 03:34 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 29-11-2005 10:53 PM
|
显示全部楼层
昨天收到风说gentoo以后再也没有 stage 1 & 2 了,真扫兴。 |
|
|
|
|
|
|
|
楼主 |
发表于 29-11-2005 11:30 PM
|
显示全部楼层
原帖由 neow_wy 于 29-11-2005 10:53 PM 发表
昨天收到风说gentoo以后再也没有 stage 1 & 2 了,真扫兴。
为什么???? |
|
|
|
|
|
|
|
发表于 30-11-2005 12:51 AM
|
显示全部楼层
原帖由 june_starnight 于 29-11-2005 11:30 PM 发表
为什么????
不太清楚,好像是什么方便developer的问题。觉得gentoo好像失去了让它在这么多distro里面突出的特点。 |
|
|
|
|
|
|
|
发表于 30-11-2005 08:10 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 30-11-2005 09:10 AM
|
显示全部楼层
|
|
|
|
|
|
|
楼主 |
发表于 30-11-2005 09:52 AM
|
显示全部楼层
现在剩下这个问题
- UDF-fs: No VRS found
- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
复制代码 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|