Hello Guys We are starting a project's desktop virtualization, I'm trying to create an image centos to install Citrix Receiver for q clients the machines do not need HD. Among all tests q I bumped into two "errors": 1. Install Centos 2. Foreign q there is no bootable image I studied various contents on the internet a list of them below: https://projects.centos.org/trac/livecd/wiki/PxeBoot https://projects.centos.org/trac/livecd/wiki/GetToolset http://www.bestlinux.com.br/index.php/dicas/126-distribuicoes/2609 http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD http://pkgs.org/centos-6-rhel-6/epel-i386/livecd-tools-13.4-2.el6.i686.rpm.h... https://projects.centos.org/trac/livecd/wiki/CreateImage https://projects.centos.org/trac/livecd/browser/trunk/CentOS6/rhel6beta-live...
https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive http://unixrevolution.blogspot.com.br/2011/12/pxe-boot-livecd-image.html http://pkgs.org/download/livecd-tools https://projects.centos.org/trac/livecd/
Besides these follow this tutorial to create the tftp server. http://practical-tech.blogspot.com.br/2011/10/how-to-configure-pxe-server-in...
If anyone has any tips thanks. Thank you!
Are you trying to PXE boot a RAM based OS image? If so, I've actually been working on something similar. I have a different end goal but I think the fundamental concept is the same. After much monkeying around (including basically rolling my own mini Linux distro), I've finally learned enough to get back on track using CentOS as the base. Basically, you just need to use yum with the --installroot option, make a customized /init, move a couple files into place and cpio the whole thing up.
This is basically what I do for an extremely minimal OS image:
yum -y groupinstall base --installroot /tmp/live-image-build yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm --installroot /tmp/live-image-build yum -y install $other_packages --installroot /tmp/live-image-build
A basic /init file: """ hostname somehostname.domain.tld . /etc/profile mkdir dev/pts mkdir dev/shm chmod 1777 dev/shm mount -av ln -sf /proc/mounts /etc/mtab exec ${init} 3 """
cd /tmp/image-build && find . -print0 | sudo cpio --null -ov --format=newc | gzip -9 > ../initramfs.cpio.gz
That's a really simple explanation but it should get you on the right path, assuming you're trying to do what I think you're trying to do. If you're going to need people to be able to store data somewhere, you'll need to come up with some time of remote file system (NFS, Fuse, etc) and sort that out. I don't have much need to store anything, so I haven't played with that at all.
Hopefully this helps.
On Mon, Jun 3, 2013 at 6:09 AM, N Tunix ntunix9@gmail.com wrote:
Hello Guys We are starting a project's desktop virtualization, I'm trying to create an image centos to install Citrix Receiver for q clients the machines do not need HD. Among all tests q I bumped into two "errors":
- Install Centos
- Foreign q there is no bootable image
I studied various contents on the internet a list of them below: https://projects.centos.org/trac/livecd/wiki/PxeBoot https://projects.centos.org/trac/livecd/wiki/GetToolset http://www.bestlinux.com.br/index.php/dicas/126-distribuicoes/2609 http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD
http://pkgs.org/centos-6-rhel-6/epel-i386/livecd-tools-13.4-2.el6.i686.rpm.h... https://projects.centos.org/trac/livecd/wiki/CreateImage
https://projects.centos.org/trac/livecd/browser/trunk/CentOS6/rhel6beta-live...
https://projects.centos.org/trac/livecd/wiki/InstallToHardDrive http://unixrevolution.blogspot.com.br/2011/12/pxe-boot-livecd-image.html http://pkgs.org/download/livecd-tools https://projects.centos.org/trac/livecd/
Besides these follow this tutorial to create the tftp server.
http://practical-tech.blogspot.com.br/2011/10/how-to-configure-pxe-server-in...
If anyone has any tips thanks. Thank you! _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jun 5, 2013 at 11:23 PM, Tucker junk@gmail.com wrote:
Are you trying to PXE boot a RAM based OS image? If so, I've actually been working on something similar. I have a different end goal but I think the fundamental concept is the same. After much monkeying around (including basically rolling my own mini Linux distro), I've finally learned enough to get back on track using CentOS as the base. Basically, you just need to use yum with the --installroot option, make a customized /init, move a couple files into place and cpio the whole thing up.
This is basically what I do for an extremely minimal OS image:
Have you looked at drbl? http://drbl.sourceforge.net/
We use it to boot clonezilla-live isos fpr disk imaging in order to be able to use recent drivers for the target machines while running CentOS on the sever. I'm not sure if it is generalized enough to boot arbitrary isos but it can boot installers or boot into the host OS with the host system NFS-mounted, and includes menu-driven script setup.
-- Les Mikesell lesmikesell@gmail.com
I haven't but I'll take a look. I'm pretty close to finalizing my build system though. I use ruby to parse a JSON manifest and shell out to run the steps I mentioned above (except where there's a native ruby option). It has been a lesson in patience but now we have a pretty customizable build.
--tucker On Jun 6, 2013 5:38 AM, "Les Mikesell" lesmikesell@gmail.com wrote:
On Wed, Jun 5, 2013 at 11:23 PM, Tucker junk@gmail.com wrote:
Are you trying to PXE boot a RAM based OS image? If so, I've actually
been
working on something similar. I have a different end goal but I think
the
fundamental concept is the same. After much monkeying around (including basically rolling my own mini Linux distro), I've finally learned enough
to
get back on track using CentOS as the base. Basically, you just need to use yum with the --installroot option, make a customized /init, move a couple files into place and cpio the whole thing up.
This is basically what I do for an extremely minimal OS image:
Have you looked at drbl? http://drbl.sourceforge.net/
We use it to boot clonezilla-live isos fpr disk imaging in order to be able to use recent drivers for the target machines while running CentOS on the sever. I'm not sure if it is generalized enough to boot arbitrary isos but it can boot installers or boot into the host OS with the host system NFS-mounted, and includes menu-driven script setup.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos