-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Mon, 23 Jul 2012 11:10:00 +0530, "Raj Mathur (राज माथुर)" <r...@linux-delhi.org> said: > On Monday 23 Jul 2012, Ashish SHUKLA wrote: >> On Mon, 23 Jul 2012 10:22:43 +0530, "Raj Mathur (राज माथुर)" <raju@linux- delhi.org> said: >> > 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. >> >> 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".
> You also need to resize partitions to the target sizes after copying the > image. which is why I mentioned 'mkfs+tar' otherwise with dd you need to resize2fs (or equivalent filesystem resize tool). >> 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 :). > Thanks to both you and Saurabh for the suggestions. > And now I'm invoking the ILUGD torture clause: if you suggest something > in public, you are automagically volunteered to do it! So when can we > expect a first-cut implementation for testing, Ashish? :) It'll happen, it'll happen in our lifetimes. :) > In the meantime I found these, which may be useful starting points. > SystemImager in particular seems well-suited: > http://svn.oscar.openclustergroup.org/trac/oscar > http://wiul.org/ > http://kaboot.ainkaboot.co.uk/ > http://wiki.systemimager.org/ SystemImager looks closer to what you're looking and has more functionality. - -- Ashish SHUKLA “It is rare that one can see in a little boy the promise of a man, but one can almost always see in a little girl the threat of a woman.” ("Alexandre Dumas") Sent from my Emacs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQIcBAEBCgAGBQJQDOsSAAoJEMdGz6nnT6SwLCUP/j8Bvcaev/WYUEfBlrW0QM+X i4sfmYBErTsXlhju84/dkJfK4mRHw0jj+hnXJ/faAeNsOONt8+8iTOmh8E9W46xD mBRA8naiMWRSrCyCNkrLiX4YaJrb6weh5SWTejKepI80YHEv28qxq8abu2aNhdZn mtxNc++U6W+9RGVwSkPHI3/ttroB9hwnd7CS0qznAN5lF7IM74A9yC0/InkWNlKs DDEAuRXTgb4SqqDNc/EOEwnlJ4pK/u6aMhxMKqqMZNKNOEoPoE/ooe7w/5Gc21rB ZyoGECjT05pZBLHhNHVZSNGxrMh1cikUWUlF7E5dWV/5GSHr0kPPUa5jucyunkZ6 b+QKQN6MjHI4sl0Fh+jH1JXH79T95XPesRqf8UP2FChgxSRYJ8mK01Y6dt8Jts0D KnOSpu6Ukl7VMNBtzep3CHb7zSAx5/o6eA9u0I27iHTtvNktJrrwQWVldnLyypkt Fp/Fh532fLF0dvV5LEofHy6Ecy2f+6S3MAVWm1OX1fqlbCwNxEr9YE1Qgi48x5+m 6ljY5t/aK8MJ7RLlzFndXsziBRmO48RVUQSddg/EHotbjUDPcNhvo/sb2vqKnePI YO1IZM0c0xd8JvV0ug2USiG5UrHsNSW0So8f5zNVO2qfiI6AMcqsSmTgXg67k4Db nS/unZYIKshpvjLvr3Pw =TBs6 -----END PGP SIGNATURE----- _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd