Differences

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

Link to this comparison view

Next revision
Previous revision
iscsibootprepfc5 [2006/09/18 05:04]
mcb30 created
iscsibootprepfc5 [2006/09/18 12:03] (current)
mcb30
Line 3: Line 3:
 These instructions assume that you have an installation of Fedora Core 5 on a local hard disk.  We will make this installation iSCSI-boot-capable,​ then copy it to a remote iSCSI target and boot from it. These instructions assume that you have an installation of Fedora Core 5 on a local hard disk.  We will make this installation iSCSI-boot-capable,​ then copy it to a remote iSCSI target and boot from it.
  
-Start by installing the kernel-devel and dkms packages:+Start by installing the ''​gcc'',​ ''​kernel-devel'',​ ''​sysfsutils'', ​and ''​dkms'' ​packages:
  
-  yum install kernel-devel+  ​yum install gcc 
 +  ​yum install kernel-devel-`uname -r` 
 +  yum install sysfsutils
   yum install dkms   yum install dkms
  
-The kernel-devel package must match the version of your currently running kernel, which you can check using+You will need to install ​the iSCSI initiator, the iSCSI Boot Firmware Table utilities, and the iSCSI-capable mkinitrd, which you can find at http://​sourceforge.net/​project/​showfiles.php?​group_id=177003&​package_id=203976&​release_id=447506. ​ Download and install (using ''​rpm -Uvh''​) the ''​dkms-ibft'',​ ''​dkms-iscsi_sfnet'',​ ''​ibft'',​ ''​linux-iscsi'',​ and ''​mkinitrd-iscsi''​ RPMs.
  
-  rpm -q kernel-devel +If all has gone well, you should now be able to test loading the iSCSI initiator kernel ​module ​using
-  uname -r +
- +
-You will need to install the iSCSI initiator, the iSCSI Boot Firmware Table utilities, and the iSCSI-capable mkinitrd, which you can find at http://​sourceforge.net/​project/​showfiles.php?​group_id=177003&​package_id=203976&​release_id=447506 +
- +
-Download and install (using ''​rpm -Uvh''​) the ''​dkms-ibft'',​ ''​dkms-iscsi_sfnet'',​ ''​ibft'',​ ''​linux-iscsi'',​ and ''​mkinitrd-iscsi''​ RPMs. +
- +
-If all has gone well, you should now be able to test loading the iSCSI initiator ​and iBFT kernel ​modules ​using+
  
   modprobe iscsi_sfnet   modprobe iscsi_sfnet
-  modprobe ibft 
  
 You need to mark the network device that you will be using for boot.  Edit ''/​etc/​sysconfig/​network-scripts/​ifcfg-eth0''​ (assuming that ''​eth0''​ is your boot network device), and append the line You need to mark the network device that you will be using for boot.  Edit ''/​etc/​sysconfig/​network-scripts/​ifcfg-eth0''​ (assuming that ''​eth0''​ is your boot network device), and append the line
  
   DEVICETYPE=boot   DEVICETYPE=boot
 +
 +If you want the hostname to be assigned via DHCP when booting from iSCSI, you must edit ''/​etc/​sysconfig/​network''​ and delete the line beginning ''​HOSTNAME=''​.
  
 Lastly, you need to rebuild the initrd to include the iSCSI kernel modules, using Lastly, you need to rebuild the initrd to include the iSCSI kernel modules, using
Line 30: Line 26:
   /​sbin/​mkinitrd -f --force-iscsi /​boot/​initrd-`uname -r`.img `uname -r`   /​sbin/​mkinitrd -f --force-iscsi /​boot/​initrd-`uname -r`.img `uname -r`
  
-You can now proceed to +If you use LILO as your bootloader (rather than grub), then you will need to run ''​lilo''​ after this step. 
 + 
 +Reboot and check that the system comes up without difficulties. ​ You will see an error message saying 
 + 
 +  insmod: error inserting '/​lib/​ibft.ko':​ -1 No such device 
 + 
 +during the boot process; this is harmless and simply indicates that the system is not actually booting from an iSCSI disk.  You will also find that your boot network interface has not been configured with an IP address; again, this is expected at this stage. 
 + 
 +You can now proceed to [[iscsiboot#​Transferring the operating system image to an iSCSI target]]. 

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code iscsibootprepfc5 (generated for current page)