솔루션 “시스템 배포 후 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>뿌리(hd0,0) ## (hd0,0) means the first partition of first disk.

Grub>setup(hd0)

Grub>떠나다

 

or you can useGrub-install” 명령:

If there exist an independent /boot partition, 다음 명령을 실행할 수 있습니다.

[root@localhost~]#grub-install /dev/hda(or sda)

If only / 분할,and there is no independent /boot partitionyou can execute

grub-installroot-directory=/boot/dev/hda(or sda)”

After GRUB installedyou also need to edit file “/boot/grub/grub.conf”,modify boot information

...에 “(hd0,0)”.

답장을 남겨주세요