iPXE SAN boot VBox with Fedora14
|
2011-04-08, 17:21
Post: #1
|
|||
|
|||
iPXE SAN boot VBox with Fedora14
Hi Everyone!
I have been trying to SAN boot VBox for the past few weeks. Now that I figure out how to get everything work. Here are the steps: 1. Set up iSCSI Target with your server: 1.1. Install iSCSI Enterprise Target to Server: Assuming your server IP is 192.168.1.1. See, http://iscsitarget.sourceforge.net/ for instructions. 1.2. Make a RAW disk image (8GB): Code: # dd if=/dev/zero of =/directory/of/target/disk.img bs=1M count=0 seek=8196 1.3. Add iSCSI Target by editing /etc/iet/ietd.conf: Code: Target iqn.2011-03.com.domain:disk.img 1.4. Restart IET service: Code: # service iscsi-target restart 2. Install Virtualbox: See, http://www.virtualbox.org/. 3. Install Fedora 14 into iSCSI Target using Virtualbox: 3.1. Compile iPXE to get an image. I use floppy image (ipxe.dsk) and believe that CD/DVD (ipxe.iso) image should work equally well. 3.2. Prepare a iPXE boot script file (install.ipxe). It should look like: Code: #!ipxe 3.3. Boot VBox with ipxe.dsk and press CTRL_B for manual boot. In command line, key in: Code: iPXE> dhcp 4. Boot from the iSCSI target using VBox: Once you are done with the installation, you can use the same iPXE image to SAN boot from the iSCSI target. I created another iPXE script file which looks like: Code: #!ipxe Code: iPXE> dhcp 5. Notes: 5.1. I choose Fedora because its installer supports iSCSI installation. Other distros should work, but haven't tried any. I would be interested in hearing any of your experiences. 5.2. I still cannot boot the same iSCSI target using different VMs. Any suggestions are welcomed! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
iPXE SAN boot VBox with Fedora14 - hsuanyeh - 2011-04-08 17:21
RE: iPXE SAN boot VBox with Fedora14 - mcb30 - 2011-04-08, 17:37
RE: iPXE SAN boot VBox with Fedora14 - hsuanyeh - 2011-04-12, 14:49
RE: iPXE SAN boot VBox with Fedora14 - Sha0 - 2011-08-08, 18:07
RE: iPXE SAN boot VBox with Fedora14 - hsuanyeh - 2011-08-09, 19:25
|
User(s) browsing this thread: 1 Guest(s)