gentoo–忘记root密码

gentoo–忘记root密码

grub 操作,修改
kernel /vmlinuz root=/dev/sda6 init=/bin/bash rw
按B重启,进入shell。修改root密码