6–Boot from SAN Configuration
iSCSI Boot from SAN
99
BC0154501-00 P
#
rpm -ivh iscsiuio-2.11.5.3-2.sles12sp2.x86_64.rpm --force
2.
Reload all the daemon services by issuing the following command:
#
systemctl daemon-reload
3.
Enable iscsid and iscsiuio services (if they are not already enabled) by
issuing the following commands:
#
systemctl enable iscsid
#
systemctl enable iscsiuio
4.
Issue the following command:
cat /proc/cmdline
5.
Check if the OS has preserved any boot options, such as
ip=ibft
or
rd.iscsi.ibft
.
If there are preserved boot options, continue with
If there are no preserved boot options, skip to
6.
Edit the
/etc/default/grub
file and modify the
GRUB_CMDLINE_LINUX
value:
a.
Remove
rd.iscsi.ibft
(if present).
b.
Remove any
ip=<value>
boot options (if present).
c.
Add
rd.iscsi.firmware
. For older distros, add
iscsi_firmware
.
7.
Create a backup of the original
grub.cfg
file. The file is in the following
locations:
Legacy boot:
/boot/grub2/grub.cfg
UEFI boot:
/boot/efi/EFI/sles/grub.cfg
for SLES
8.
Create a new
grub.cfg
file by issuing the following command:
#
grub2-mkconfig -o <new file name>
9.
Compare the old
grub.cfg
file with the new
grub.cfg
file to verify your
changes.
10. Replace the original
grub.cfg
file with the new
grub.cfg
file.
NOTE
To retain the original contents of the inbox RPM during installation, you
must use the
-ivh
option (instead of the
-Uvh
option), followed by
the
--force
option.