Linux problem

重启命令输入:#init 6
结果:Segmentation fault 

Hard disk problem
Solution:
1. Backup the information
A. use portable hard disk to backup the partition
    Example: dd if=/dev/sda of=/mnt/1.img bs=1024
B. Mount the disk into other system, and backup it.

2. Use fsck command
A. umount or read only mount the partition
B. fsck.<partition type> <partition>
If it display a lot of errors, stop the fsck command

3. Need to give the harddisk to profession agent to fix

Manually create error
System: RHEL6.2
modify /etc/fstab file, change the UUID of /boot partition, add "shen" at the end of the UUID

1. When restart the system, it stuck in partition scan step
2. system inform to input the root password or Ctrl+D to stop
Snapshot of the error










3. input the password
4. check the partition status
cat /proc/mounts
5. Remount the / partition
mount -o remount, rw /
6. modify the /etc/fstab file

7. restart the system

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error