LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: chen1960

root密码忘了怎么办?

[复制链接]
发表于 2005-1-13 09:29:47 | 显示全部楼层
when the grub menu comes pres 'e' on the kernel which u want 2 boot and
then on the kernel=/boot/kernel.img line just add 'single' at the end.

i.e.
kernel (hd0,0)/vmlinuz root=/dev/hda8 devfs=mount hdb=ide-scsi vga=794 single

this will initate the single user mode, and it's a console.
发表于 2005-1-13 12:25:27 | 显示全部楼层
Post by ptr
when the grub menu comes pres 'e' on the kernel which u want 2 boot and
then on the kernel=/boot/kernel.img line just add 'single' at the end.

i.e.
kernel (hd0,0)/vmlinuz root=/dev/hda8 devfs=mount hdb=ide-scsi vga=794 single

this will initate the single user mode, and it's a console.





正解
 楼主| 发表于 2005-1-13 15:08:31 | 显示全部楼层
又学习了,感谢上面两位老兄,感 谢了
这个devfs=mount是什么意思,mount 其他分区?
发表于 2005-1-13 15:48:24 | 显示全部楼层
devfs has the ability to create device file entries on the fly depending on what devices are supporeted by the kernel.
with the option 'devfs=mount', the kernel will mout /dev/devfs automatically whenever your system boots up.
发表于 2005-1-13 17:11:11 | 显示全部楼层
Post by ptr
when the grub menu comes pres 'e' on the kernel which u want 2 boot and
then on the kernel=/boot/kernel.img line just add 'single' at the end.

i.e.
kernel (hd0,0)/vmlinuz root=/dev/hda8 devfs=mount hdb=ide-scsi vga=794 single

this will initate the single user mode, and it's a console.



Absolutely!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表