-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Mon, 23 Jul 2012 10:22:43 +0530, "Raj Mathur (राज माथुर)" 
<r...@linux-delhi.org> said:
> Hi,

> Can you suggest a utility or web page instructions for installing a pre-
> built Linux disk image over the network?

> We have a bare machine with PXE and a server with a Linux disk image.  
> Need the flow to get this image onto the bare machine's disk.

> Regards,

I don't know of anything already available with such functionality but it
would be cool to build one:

1. On PXE server side, setup a webserver with images

2. Compile a kernel (with all drivers for your target hardware) + an initrd
   with /sbin/init which sets up network, fdisk/mkfs's the filesystem, "wget
   -O - http://..../image.tar.xz|xzcat |tar xv" everything as per kernel
   parameters. Or if you're using 'disk images', then "wget -O - ....|xzcat|dd
   if=/dev/stdin of=/dev/$device".

3. Create per client pxelinux.cfg configuration (in case client's settings
   differ from defaults), with something like:

   linux /vmlinuz
   append initrd=/initrd.gz network=eth0;static;172.16.0.3/27 img=gentoo-x64 
drive=sda

It would be really cool to build something like that yourself :).

HTH
- -- 
Ashish SHUKLA

“I never commit to memory anything that can easily be looked up in a
book.” ("Albert Einstein", "Sidelights on Relativity", 1983)

Sent from my Emacs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQIcBAEBCgAGBQJQDN9HAAoJEMdGz6nnT6Swa7QQAIiwlEbyOWJcnTPrCEHMKCfM
vz4AON8qDpt9XFER9sbZTJM+6+Mptvv3xvIWs7B4dL9QjjcnLqjy7nfl1k7FHLcO
vNeNKdzb5lJdFNzLGIUmvOdbZLT4b5+79tkKs6f+opE0D4TZEq6qca+ogwaGCtmy
w1E2hyRbRckmGl1sHaDSLKxsMlEk1GTOlhUTTKhZeE2DY8yQlmesDo6J5UGfO7db
YqDaktxb8AWfL/SNTDzbqKcK/uNJQBoxQlJ9WYI38AquIanRqBDeInzz5vX26jgI
/nhm1m04td3rT0I969BQ0rGUqkaGvtcRKa/r4HO1tRC93k4biO/O4+5uvOisbIew
psoJ8IUClHLQTfJYWb/0rpNGgUZqIbi5ZcZiT+Fc3Kq7h4OWA/yb4WhFGAIgD9bw
8/QP618+ztxuk6oAz7nUPDo/hsQNe3RKZzcQmZ8K3ttLvFQSI69Tpyx7hpCgEoEc
gp+ShqIARGSBZnqCxhXPyVw31OUGJ3LiEJQwe/W440VtDR19YIH2acRp9WJ2UjyC
hLmHT+COkpNTYJ/ZFc4jJr1lgSjjnnULeyirAfJ3yNY4uRUkl5OjCpbuCQQZgwxf
iN1I9XQIYF6zxdKbUEZgLzkswNkhtLgJnrCQjYVKMnFPbqdHLV+Wv3hJjFH3R7SP
B3+4Dyz1MGJmK4RuV5M8
=0evU
-----END PGP SIGNATURE-----

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to