QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 508|回复: 4

我的Linux Rescue问题!

[复制链接]
发表于 2005-1-28 09:23:44 | 显示全部楼层 |阅读模式
我的/etc/fstab文件损坏了!
我用的是RedHat Linux 9
我用Linux引导盘启动到救援模式(利用手动救援,就是选择“Skip”而不是“Continue”)
以下是我遇到的情况:
#ls
bin etc linuxrc mnt proc tmp var dev lib lost+found modules sbin usr(我想编辑/etc/fstab了)
#ls /etc
group ld.so.cache nsswitch.conf passwd protocols services(找不到fstab!!!没办法!想到mnt中找找)
#cd mnt
#ls
runtime source
#cd runtime
#ls runtime
etc lib modules usr(这个时候我以为找到了etc文件夹)
#ls etc
group ld.so.cache nsswitch.conf passwd protocols services(我晕啊!还是找不着!!!)

我该怎么办啊!!!
发表于 2005-1-28 09:42:50 | 显示全部楼层
先在mnt下建个目录,比如"linux",再把你rh9在的分区mount 到mnt/linux 。
回复

使用道具 举报

 楼主| 发表于 2005-1-28 09:49:33 | 显示全部楼层
怎么把“rh9在的分区mount 到mnt/linux ”
能给个命令我吗?
回复

使用道具 举报

 楼主| 发表于 2005-1-28 10:28:55 | 显示全部楼层
搞定了,是mount -t ext3 /dev/hda3 /mnt/linux
回复

使用道具 举报

 楼主| 发表于 2005-1-28 10:29:31 | 显示全部楼层
谢谢zwf2002
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-25 21:27 , Processed in 0.077156 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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