|
|
发表于 2008-5-13 12:08:05
|
显示全部楼层
Post by abuseyourdna;1848990
本人费尽千辛万苦终于装上了GENTOO,但是重启以后就不能login了 ROOT的密码我没有设置过。怎么办?
没看出和localhost有什么关系,如果因为没设root密码进不去的话,可以用chroot重新设置root密码,好像还有个更简单的办法,启动grub时,按"e"进入编辑模式,加一句话rw init=/bin/bash,类似这样,
title Gentoo GNU/Linux, kernel 2.6.24-gentoo-r4
root (hd1,7)
kernel /vmlinuz-2.6.24-gentoo-r4 root=/dev/hdb6 rw init=/bin/bash |
|