LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-26-2011, 09:10 AM   #1
Blue_Ice
Member
 
Registered: Jul 2006
Location: Belgium
Distribution: Debian, Fedora, CentOS, Windows
Posts: 361

Rep: Reputation: Disabled
Question No success on creating custom initrd with xen and iscsi for netboot


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.

Last edited by Blue_Ice; 01-27-2011 at 08:13 AM. Reason: Additional information
 
  


Reply

Tags
initrd debian xen iscsi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
custom kernel xen-linux-system-2.6.26-1-xen-amd64 vasco2009 Linux - Software 0 03-30-2009 02:54 PM
What initrd to use to deliver payload on netboot client /dev/me Linux - Networking 1 09-15-2008 03:41 PM
Creating custom headers to match a custom kernel utanja Debian 2 06-08-2007 03:15 PM
Creating netinstall/netboot images section8 SUSE / openSUSE 2 01-12-2007 02:58 PM
Creating custom initrd image in suse 9.1 Anmol SUSE / openSUSE 1 01-08-2005 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration