pxe boot without network client image

6 views
Skip to first unread message

bala guru

unread,
May 16, 2013, 3:17:38 PM5/16/13
to kiwi-...@googlegroups.com
Hi,

In our environment we'd like to have pxeboot image without network client image.Whether it's already available KIWI?  Need to have only ram disk and kernel on tftp server and do netboot in VM and launch shell. Currently we have manually built ram disk and kernel but very much like to know if we can do using KIWI.


Thanks.

Marcus Schäfer

unread,
May 17, 2013, 5:14:47 AM5/17/13
to kiwi-...@googlegroups.com
yes you can do this with kiwi. I documented a ram only image here
http://doc.opensuse.org/projects/kiwi/doc/#sec.pxe.ram-only-image

It's a bit different from your system because it loads a kernel
and a initrd and the initrd code then deploys the system image
into a ramdisk and switches to it.

iirc you are just using an initrd and work within that system.
You can also do this with the initrd build by kiwi but by
default I don't expose a shell. But you can write a hook script
which just opens a shell. I suggest to use the postnetwork
hook if you plan to work from inside the initrd. How to use
hooks to customize the initrd is documented here:
http://doc.opensuse.org/projects/kiwi/doc/#sec.hooks

my recommendation is not to use the initrd as a system to work
with though

Hope that helps

Regards,
Marcus
--
Public Key available
gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer
HRB: 21284 (AG Nürnberg) Germany
http://www.suse.de
-------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages