Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
appnote:ibft [2016/01/17 00:54]
nomizfs
appnote:ibft [2016/01/17 01:01]
nomizfs
Line 17: Line 17:
  
 After hundreds of reboots i can say that these methods when working correctly are 100% predictable from the viewpoint of the remote admin, meaning that every single boot has been successful and no non-reproducable booting errors or failures have occurred yet, barring hardware failures. After hundreds of reboots i can say that these methods when working correctly are 100% predictable from the viewpoint of the remote admin, meaning that every single boot has been successful and no non-reproducable booting errors or failures have occurred yet, barring hardware failures.
- 
- 
----- 
- 
----- 
- 
----- 
- 
----- 
  
 === IMPORTANT NOTE: === === IMPORTANT NOTE: ===
  
-Using other than intel brand nic's can mess with nic interface ordering, especially in debian. If you have nic brands other than intel, and need to boot debian, you must read the important note at the end of the guide in addition to the debian section. You also need a debian installer that includes non-OSS firmware, or you need to include the drivers for your nic in the installer, or you need to add the kernel module manually afterwards (see reference wiki url).//+Using other than intel brand nic's can mess with nic interface ordering, especially in debian. If you have nic brands other than intel, and need to boot debian, you must read the important note at the end of the guide in addition to the debian section. You also need a debian installer that includes non-OSS firmware, or you need to include the drivers for your nic in the installer, or you need to add the kernel module manually afterwards (see reference wiki url).
  
 ===== Step 1: ===== ===== Step 1: =====
 +
 Set up robinsmidsrod'​s ipxe scripts at https://​gist.github.com/​robinsmidsrod/​2234639. Ask in #ipxe @ freenode or this thread if you have issues. ​ You need to define the variables and defaults, and have the /boot directory for adding node defaults. Don't worry, that's actually the hard part. Setting up debian and dracut is the easy part :) Set up robinsmidsrod'​s ipxe scripts at https://​gist.github.com/​robinsmidsrod/​2234639. Ask in #ipxe @ freenode or this thread if you have issues. ​ You need to define the variables and defaults, and have the /boot directory for adding node defaults. Don't worry, that's actually the hard part. Setting up debian and dracut is the easy part :)
  
Line 45: 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''​ +
- +
-''​nano /​etc/​initramfs-tools/​initramfs.conf''​ +
  
 +  ''​echo "​ISCSI_AUTO=true"​ > /​etc/​iscsi/​iscsi.initramfs''​
  
-scroll down and set **DEVICE=eth0** ​+  ''​nano /​etc/​initramfs-tools/​initramfs.conf''​
  
 +scroll down and set DEVICE=eth0
  
-**^^^ IMPORTANT ​^^^**+=== IMPORTANT ​===
  
 //**A:** this setting is only needed when you have more than one nic's in the system afaik, but i would set it anyway as system would otherwise become unbootable if more nics are added later.// //**A:** this setting is only needed when you have more than one nic's in the system afaik, but i would set it anyway as system would otherwise become unbootable if more nics are added later.//
Line 88: Line 77:
 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 (or grub-update or grub2-update or update-grub2,​ who cares anymore..)''​
  
-''​dracut -v''​+  ​''​dracut -v''​
  
 Done. Done.
 (i'm not sure if rd.iscsi.firmware=1 is needed on machines with OSS nic drivers in kernel, nor am i sure if that entry causes problems in configurations with only intel nics yet due to lack of testing at the time of writing) (i'm not sure if rd.iscsi.firmware=1 is needed on machines with OSS nic drivers in kernel, nor am i sure if that entry causes problems in configurations with only intel nics yet due to lack of testing at the time of writing)
  
-**---- ​notes:**+=== notes: ​===
  
  
appnote/ibft.txt · Last modified: 2016/01/17 01:12 by nomizfs
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.