- 论坛徽章:
- 0
|
紧急求助UNIX启动问题!!!
用紧急引导盘启动机器,进入#号后修复硬盘文件系统后把硬盘mount到软盘上
# fsck -ofull -d /dev/hd0root
# mount /dev/hd0root /mnt
# /etc/chroot /mnt /bin/sh
Now check the /dev/console file to ensure it is correct. This is how it should look. It is also linked to /dev/syscon and /dev/systty.
# cd /dev
# ls -al /dev/console
crw------- 3 bin terminal 3, 1 Jul 27 10:50 console
If it is not there or does not look like the above, then to recreate it, run the following commands:
# cp console console.old
# cp systty systty.old
# cp syscon syscon.old
# mknod /dev/console c 3 1
# ln /dev/console /dev/syscon
# ln /dev/console /dev/systty
Once complete, exit the shell and umount the filesystem so it will not be corrupted when you re-boot:
# exit
# umount /mnt
# haltsys |
|