솔루션 “시스템 배포 후 RHEL6은 u 디스크없이 부팅 할 수 없음”
RHEL6.5가 서버에 설치된 후 U 디스크를 연결해야 합니다., otherwise the server
can not boot on the next time. The reason is that GRUB information had been installed to
MBR of U disk rather than local disk, if you plug off the u disk, the server can’t boot because
there is no boot information in local disk.
해결책:
reinstall grub to MBR of localdisk, and edit /boot/grub/grub.conf.
[root@localhost~]#grub
Grub>setup(hd0)
Grub>떠나다
or you can use “Grub-install” 명령:
If there exist an independent /boot partition, 다음 명령을 실행할 수 있습니다.
[root@localhost~]#grub-install /dev/hda(or sda)
If only / 분할,and there is no independent /boot partition,you can execute
“grub-install–root-directory=/boot/dev/hda(or sda)”
After GRUB installed ,you also need to edit file “/boot/grub/grub.conf”,modify boot information
...에 “(hd0,0)”.