Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92423912
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2008-04-19 12:56:19

1. 从引导介质(bootable CD-ROM or bootable tape)起动系统。
2.选择 Start Maintenance Mode for System Recovery (Option 3),进入维护菜单.然后依次再选择如下:
a.Access a Root Volume Group (Option 1). 

b.0 continue and Select Volume Group by number.

c.Access this volume group and start a shell before mounting the file systems (Option 2). 

3.检查并mount根文件系统
# fsck -y /dev/hd4

#mount /dev/hd4 /mnt

4.重建删除的文件和目录 
#cd /mnt

#ln -s /usr/bin bin

#ln -s /usr/lib/boot/unix_up unix 或 #ln -s /usr/lib/boot/unix_mp unix

#ln -s /usr/lib lib

#ln -s /home u 

5.重起系统
#cd / 

#umount /dev/hd4 

#exit 

#sync;sync;sync

#shutdown -Fr
阅读(498) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~