Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a tool, preferably a minimal Linux build, which can, or fairly simply be modified to, boot as an ISO image and automatically download a disk image over a network and apply it to a blank disk.

In actual fact, I'm fine dealing with the actual scripting to make this happen, but I need at least a base image which will have network access, curl, dd etc, to be of use to me. I'm not looking for any flexibility of choice here, I need it to be totally hands free and dumb, but need to achieve this tasks with as little dev work as I can manage. I think I could possibly just make my own initrd or such, but I've no idea how that works with having network access etc.

[background]This is actually for use with KVM virtual machines, which will eventually be running W2K3, but to deliver the disk image using a wider build framework of cobbler and koan I would rather boot some installation media which will autonomously install a system and reboot when done, allowing a similar higher level flow as installing Redhat with a kickstart script (but without the external resources etc...), so I don't want to pre deliver an image to the host etc, as that's done for a kickstart[/background]

Thanks

Chris

EDIT: So whilst the solutiosn given are valid in their own right, I really needed to NOT have a self contained solution, and needed only a few pieces to integrate into cobbler / koan etc...

What I've currently done is to use a modified kickstart script to initially boot as if to install CentOS but then in the %pre section is just do a wget to download a disk image and smear it across the virtual disk. on reboot, one windows box! Works much better than I thought and also keeps the deployment flow and wrapper scripting totally standardized.

share|improve this question

4 Answers 4

up vote 4 down vote accepted

I think FOG ( http://www.fogproject.org ) meets your requirements, boots over the network, restores images from a central repository. Currently trying to transition to it from PXE booted Norton Ghost here.

You might also take a look at Clonezilla - http://clonezilla.org

share|improve this answer
    
fog certainly looks interesting. As I'm already using Cobbler I don't think I'd be able to use it in it's entirety though, but may be able to extract components for it. Thanks –  Chris Phillips Nov 17 '10 at 9:47
    
+1 for Clonezilla –  tegbains Apr 27 '11 at 6:54

I think SystemRescueCD - http://www.sysresccd.org/Main_Page - might fit your needs.

I used it a couple of years ago to distribute ntfs images over the network and the PXE boot feature worked well.

Can't say anything about the current version though.

share|improve this answer
    
Thanks for the response. –  Chris Phillips Nov 18 '10 at 12:11

I used to use SystemImager which creates a rsync-based image of an installed OS that coull be burned to CD. It was very flexible and could restore to bare-metal over the network, or from a CD image. I used to boot off a simple CD which contained just enough info to download and restore from a network image (as I would update the network image regularly).

The docs are quite good, its reliable and easy to get going.

share|improve this answer
    
thanks for the response –  Chris Phillips Nov 18 '10 at 12:11

I integrated SystemImager into Cobbler. Not hard, just need a few shell scripts to bring in SI images into cobbler.

share|improve this answer
    
Can you add some helpful detail beyond that you have made this work somehow in the past? –  dunxd Dec 14 '12 at 15:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.