郁闷了,安装完gentooamd64 2008 后,重启用任何名字都无法登录系统?
时间:2008-04-09
来源:互联网
重启后再进入chroot,不能passwd, 显示passwd:拒绝权限
make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
GENTOO_MIRRORS="http://61.135.158.199 http://ftp.twaren.net/Linux/Gentoo http://mirror.mcs.anl.gov/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://61.135.158.199/gentoo-portage"
#SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
#SYNC="rsync://rsync.gentoo.org/gentoo-portage"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
PORTAGE_TMPFS="/dev/shm"
FEATURES="buildpkg collision-protect sandbox ccache distcc distlocks"
CCACHE_SIZE="2G"
PORTAGE_ELOG_CLASSES="warn error log"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X gtk gnome mmx sse sse2"
fstab
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda4 /boot ext3 defaults,noatime 1 2
/dev/sda8 / jfs noatime 0 1
/dev/sda7 /home xfs noatime 0 2
/dev/sda9 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
menu.lst(ubuntu)
#splashimage=(hd0,3)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.24-r4
root (hd0,3)
kernel /boot/kernel-genkernel-x86_64-2.6.24-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda8 udev doscsi vga=791 splash=silent,theme:default console=tty1 quiet
initrd /boot/initramfs-genkernel-x86_64-2.6.24-gentoo-r4
title Ubuntu hardy (development branch), kernel 2.6.24-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-15-generic
quiet
title Ubuntu hardy (development branch), kernel 2.6.24-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-15-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro single
initrd /boot/initrd.img-2.6.24-15-generic
title Ubuntu hardy (development branch), kernel 2.6.24-12-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-12-generic
quiet
title Ubuntu hardy (development branch), kernel 2.6.24-12-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=99aaa94b-9858-4e00-907e-6e5d5e32ffb1 ro single
initrd /boot/initrd.img-2.6.24-12-generic
title Ubuntu hardy (development branch), memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
顺便问一下,ubuntu什么都搞的那么好,会不会以后要转成商业版呢? 用ubuntu有用windows的感觉。
作者: harttmann 发布时间: 2008-04-09
作者: harttmann 发布时间: 2008-04-09
ppp你设置gtk的USE,那么多包是gtk需要的吧,你可以先不用gtk的USE来emerge,就不会了。
说你boot没挂载可能是因为你少了把mount的东西写了 chroot后的/etc/mtab中了,具体怎么做,我记得手册上有讲的。
作者: acevery 发布时间: 2008-04-09
作者: acevery
你在chroot安装后没有设置root的密码,所以你登陆不了。
ppp你设置gtk的USE,那么多包是gtk需要的吧,你可以先不用gtk的USE来emerge,就不会了。 说你boot没挂载可能是因为你少了把mount的东西写了 chroot后的/etc/mtab中了,具体怎么做,我记得手册上有讲的。 |
作者: harttmann 发布时间: 2008-04-09
error: cannot open device UUID=53761241-32d2等。。
系统自动用fsck检查,结果
fsck died with exit status24上面还有几行参数说明
然后file system check failed
只能
CONTROL + D will terminate this shell and resume system boot
这样之后就正常启动了
作者: harttmann 发布时间: 2008-04-09
本信息仅供参考。
作者: 亞利艾爾 发布时间: 2008-04-10
这个pam 是个什么玩意?? 我刚才用USE="-gtk" emerge --pretend ppp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-dialup/ppp-2.4.4-r14 USE="ipv6 pam -activefilter -atm -dhcp -eap-tls -gtk -mppe-mppc -radius"
怎么一个包都没有阿
作者: harttmann 发布时间: 2008-04-10
作者: 亞利艾爾
给楼主一个信息,就是我在安装的时候发现中间有一段时间是不能够在其他的控制台登录的,表现为输入用户名后不让输入密码。之后,我用 dispatch-conf 更新 /etc 目录下关于 pam 的设置文件之后就可以正常登陆了。楼主可以看看有没有可能是 pam 设置的更新问题。
本信息仅供参考。 |
好歹现在基本系统装好了,不容易阿
作者: harttmann 发布时间: 2008-04-10
作者: harttmann 发布时间: 2008-04-10
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28