Differences

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

Link to this comparison view

Both sides previous revision Previous revision
sanboot:fedora [2007/11/09 19:40]
mcb30
sanboot:fedora [2007/11/10 17:40]
mcb30
Line 1: Line 1:
-====== Fedora boot from SAN ====== 
- 
-Fedora supports booting from an iSCSI SAN.  You can install directly to the iSCSI target. 
- 
-===== Installation ===== 
- 
-The Fedora installation process is somewhat fragile, and the built-in support for iSCSI installation does not function properly. ​ However, it is possible to work around this limitation and install to an iSCSI target. 
- 
-Start a Fedora network installation in the usual way, and proceed up to the point of the graphical welcome screen: 
- 
-{{screenshots:​fedora_iscsi_install_start.png?​400x300|Start of Fedora installation}} 
- 
-Before clicking on //Next//, press //​Ctrl-Alt-F2//​. ​ This should take you to a root shell prompt. ​ Configure and start up the iSCSI initiator: 
- 
-    sh-3.2# mkdir /etc/iscsi 
-    ​ 
-    sh-3.2# echo InitiatorName=iqn.2007-08.name.dns.my:​initiator > \ 
-       /​etc/​iscsi/​initiatorname.iscsi 
-    ​ 
-    sh-3.2# iscsid 
- 
-{{ screenshots:​fedora_iscsi_install_connect.png?​320x200|Fedora iSCSI installation connection to disk}} 
- 
-where //​name.dns.my//​ is your DNS name in reverse order. ​ (For completeness,​ you should also replace //2007-08// with the year and month in which you first obtained your DNS domain. The iSCSI naming schemes are somewhat pedantic, but it won’t affect anything in practice; as long as the initiator name is unique then everything will work just fine.) 
- 
-Connect to the iSCSI target to be used for installation:​ 
- 
-    sh-3.2# iscsiadm -m discovery -t sendtargets -p my.iscsi.target:​3260 
- 
-where //​my.iscsi.target//​ is the DNS name or IP address of your iSCSI target. ​ You will see a list of available target IQNs.  Log in to the installation target: 
- 
-    sh-3.2# iscsiadm -m node -T iqn.2007-08.target.iscsi.my:​fedora -l 
- 
-where //​iqn.2007-08.target.iscsi.my:​fedora//​ is the IQN of the target that you want to install to. 
- 
-You are now logged in to the installation iSCSI target. ​ Press //​Ctrl-Alt-F6//​ to return to the graphical installation process, and click on //Next// to proceed to the disk selection screen: 
- 
-{{screenshots:​fedora_iscsi_install_select_drive.png?​400x300|Fedora iSCSI installation disk selection}} 
- 
-You must tick the "​Review and modify partitioning layout"​ box before proceeding to the disk partitioning screen: 
- 
-{{screenshots:​fedora_iscsi_install_remove_swap.png?​400x300|Fedora iSCSI installation swap removal}} 
- 
-Select and delete the swap partition. ​ This is required for two reasons: firstly, swap over iSCSI (or over any network device) is generally a bad idea; secondly, doing so works around a bug in the Fedora installer which would otherwise result in the partition table never being written to disk. 
  

QR Code
QR Code sanboot:fedora (generated for current page)