LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 573|回复: 2

How to login root shell

[复制链接]
发表于 2005-7-9 20:47:48 | 显示全部楼层 |阅读模式
Hi folks,

Fedora Core 3
==============

After booting the PC, how to login root shell with bash prompt as

root:/#

I already re-ran following commands
[root@localhost ~]# export LFS=/mnt/lfs
[root@localhost ~]# mkdir -p $LFS/{proc,sys}
[root@localhost ~]# mount -t proc proc $LFS/proc
[root@localhost ~]# mount -t sysfs sysfs $LFS/sys
[root@localhost ~]# mount -f -t ramfs ramfs $LFS/dev
[root@localhost ~]# mount -f -t tmpfs tmpfs $LFS/dev/shm
[root@localhost ~]# mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts

and could not find out how to do it so that I can continue on following sections

Yesterday I stopped after finishing " 6.9.1. Installation of Linux-Libc-Headers"
http://www.sg.linuxfromscratch.o ... x-libc-headers.html

Please help.  TIA

B.Regards
satimis
发表于 2005-7-9 23:16:20 | 显示全部楼层
i think you have to chroot instead of logging.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-11 18:51:19 | 显示全部楼层
Post by 黯然销魂
i think you have to chroot instead of logging.
Noted

Thanks for your advice.

B.Regards
satimis
回复 支持 反对

使用道具 举报

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

本版积分规则

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