Hi all,
I am trying to build a custom initrd which will be used for netbooting a xen server, which is located on an iSCSI disk.
Unfortunately I had no luck in getting this done.
So far I have set up DHCP, TFTP, iSCSI target and a diskless machine. I am able to boot the initrd that I have, which is a standard Debian Squeeze initrd with Xen.
But how do I customixe this initrd to make it load the iSCSI disk and boot from it?
So far I have tried many tutorials without any success. Has anyone done this before or knows how to do this?
TIA
Edit: When I run 'ipconfig eth1' command on the prompt of initramfs, then get the following output:
Quote:
IP-Config: eth1 hardware address 00:0c:29:36:ee:86 mtu 1500 DHCP RARP
[12035.607623] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[12035.609458] ADDRCONF(NETDEV_UP): eth1: link is not ready
[12035.611224] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
IP-Config: eth1 guessed nameserver address 10.10.10.11
IP-Config: eth1 complete (from 10.10.10.10):
address : 10.10.20.10 broadcast : 10.255.255.255 netmask : 255.0.0.0
gateway : 0.0.0.0 dns0 : 10.10.10.11 dns1 : 0.0.0.0
host : xen01
rootserver : 10.10.10.11 rootpath : 10.10.10.20:/iqn.2010-12.localdomain:xen01
filename : /tftpboot/pxelinux.0
|
Unfortunately if I try 'ifconfig eth1', it appears that eth1 has no ip address.