This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
appnote:ibft [2016/01/17 01:01] nomizfs |
appnote:ibft [2016/01/17 01:12] nomizfs |
||
---|---|---|---|
Line 37: | Line 37: | ||
**2.** After installation reboot into system and do as root: | **2.** After installation reboot into system and do as root: | ||
- | ''apt-get install open-iscsi -y'' | + | apt-get install open-iscsi -y |
- | + | echo "ISCSI_AUTO=true" > /etc/iscsi/iscsi.initramfs | |
- | ''echo "ISCSI_AUTO=true" > /etc/iscsi/iscsi.initramfs'' | + | nano /etc/initramfs-tools/initramfs.conf |
- | + | ||
- | ''nano /etc/initramfs-tools/initramfs.conf'' | + | |
scroll down and set DEVICE=eth0 | scroll down and set DEVICE=eth0 | ||
Line 52: | Line 50: | ||
- | **3.** ''update-initramfs -u'' | + | **3.** |
+ | |||
+ | ''update-initramfs -u'' | ||
+ | |||
+ | | ||
Done, your system will now boot from iscsi with static or dhcp based ip settings, which are defined only once server-side in ipxe boot scripts. (edit: might not be entirely true using static ip, but static ip setup kinda defies the whole idea of this guide) | Done, your system will now boot from iscsi with static or dhcp based ip settings, which are defined only once server-side in ipxe boot scripts. (edit: might not be entirely true using static ip, but static ip setup kinda defies the whole idea of this guide) | ||
Line 69: | Line 70: | ||
**2.** after installation do: | **2.** after installation do: | ||
- | ''yum update && yum install -y iscsi-initiator-utils'' | + | yum update && yum install -y iscsi-initiator-utils |
- | + | echo "add_dracutmodules+="iscsi"" > /etc/dracut.conf.d/ibft.conf | |
- | ''echo "add_dracutmodules+="iscsi"" > /etc/dracut.conf.d/ibft.conf'' | + | nano /etc/default/grub |
- | + | ||
- | ''nano /etc/default/grub'' | + | |
add the following 3 entries to GRUB_CMDLINE_LINUX="rd.iscsi.firmware=1 rd.iscsi.ibft=1 netroot=iscsi:ibft" | add the following 3 entries to GRUB_CMDLINE_LINUX="rd.iscsi.firmware=1 rd.iscsi.ibft=1 netroot=iscsi:ibft" | ||
- | ''update-grub (or grub-update or grub2-update or update-grub2, who cares anymore..)'' | + | update-grub |
- | + | dracut -v | |
- | ''dracut -v'' | + | |
Done. | Done. |