の解決策 “システムの展開後、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 partition,実行できます

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)”.

返信を残します