2015年3月18日 星期三

The iSCSI boot does not work on RHEL7 with a static IP configured.

The iSCSI boot does not work on RHEL7 with a static IP configured.
from http://support.lenovo.com/gb/en/documents/ht100887


  1. Configure the iSCSI adapter and enable the boot from SAN feature.
  2. Enter the BIOS and change the boot mode to Legacy.
  3. Boot into the RHEL7.0 installation DVD and configure the NIC with a static IP address.
  4. Add a remote iSCSI target as a disk.
  5. Reboot after the installation completes and boot up will fail with the following error message:
[   2.375332] i8042: No controller found
[   2.592960] dracut: FATAL: For argument 'ip=::::localhost.localdomain:ens7:none'\nValue 'none' without static configuration does not make sense
[   2.593074] dracut: Refusing to continue
[   3.197719] System halted.

Workaround
iSCSI boot will succeed when adding the client IP address to the /boot/grub2/grub.cfg file.
Grub configuration files can be modified at the end of installation before rebooting.
To go to the shell and switch to the tty2 terminal (Ctrl-Alt-F2) or from the tmux screen on tty1, press Ctrl-B.  Then, change the configuration files of the installed system root mounted to /mnt/sysimage (eg /mnt/sysimage/boot/grub2/grub.cfg).
Example:
Before:
linux16 /vmlinuz-3.10.0-123.el7.x86_64 root=UUID=956c4dbb1-b287-42ba-94ec-f3c6b60c3361 ro vconsole.keymap=jp106 ip=::::localhost.localdomain:ens7:none... initrd16 /initramfs-3.10.0-123.el7.x86_64.img
After:
linux16 /vmlinuz-3.10.0-123.el7.x86_64 root=UUID=956c4dbb1-b287-42ba-94ec-f3c6b60c3361 ro vconsole.keymap=jp106 ip=192.168.122.10:::255.255.255.0:localhos... initrd16 /initramfs-3.10.0-123.el7.x86_64.img
Additional Information
This is a known issue of RHEL7.0.  This issue will be resolved in RHEL 7.1.

沒有留言:

張貼留言

(TOP)Temp for soulin only

123