OK, so I have things working with clonezilla and cobbler. At this point
it's just a rough implementation that may be blown away by a cobbler
sync, so I need some help cleaning it up. Here's the steps I've used:
1. Download clonezilla experimental (ubuntu based), the Debian based
clonezilla's don't have necessary network drivers for many Dell servers
(see my rant about non-free vs. non-functional here:
http://sourceforge.net/tracker/?func=detail&atid=671650&aid=28042...
p_id=115473). Get it here:
http://clonezilla.org/download/sourceforge/experimental/iso-zip-files.ph
p
2. mkdir -p /mnt/isoimage ; mount -o loop
~/clonezilla-live-20090610-jaunty.iso /mnt/isoimage
3. mkdir /tftpboot/images/clonezilla ; cp /mnt/isoimage/live/initrd1.img
/mnt/isoimage/live/vmlinuz1 /tftpboot/images/clonezilla/
4. mkdir /var/www/cobbler/images/clonezilla ; cp -a /mnt/isoimage/.
/var/www/cobbler/images/clonezilla
5. add "/var/www/cobbler/images/clonezilla *(ro,sync,no_root_squash)" to
/etc/exports, service restart nfs (chkconfig to auto restart nfs if
needed).
6. And now for the real magic, add the following section to
/tftpboot/pxelinux.cfg/default (substituting your host IP address for
10.0.199.2):
LABEL Clonezilla
kernel /images/clonezilla/vmlinuz1
MENU LABEL Clonezilla
append initrd=images/clonezilla/initrd1.img boot=live union=aufs
hostname=jaunty edd=on nolocales ocs_live_run="ocs-live-general"
ocs_live_extra_param="" ocs_live_keymap=""
ocs_live_batch="no"
ocs_lang="" noprompt mode_option=1024x768
fetch=http://10.0.199.2/cobbler/images/clonezilla/live/filesystem.squash
fs netboot=nfs nfsroot=10.0.199.2:/var/www/cobbler/images/clonezilla
ipappend 2
The tricky part was the "fetch" section that has changed since that link
that I sent.
Anyway, if you guys can check that this works for you then clean it up
to auto-insert the local IP address (and it would be nice to get rid of
the nfs step and just use the http download). Finally, I'd think there
would be some good optimizations that could be done inside the
clonezilla scripts to automatically pass down the ssh key to the machine
and have it automatically reconnect to the server. I don't have much
more time for this right now, but those all seem like good
optimizations. Hope this helps (let me know if I skipped a step).
-Jared
-----Original Message-----
From: cobbler-bounces(a)lists.fedorahosted.org [mailto:cobbler-
bounces(a)lists.fedorahosted.org] On Behalf Of Rodrique Heron
Sent: Thursday, June 11, 2009 1:39 PM
To: cobbler mailing list
Subject: RE: Non-linux installation
-----Original Message-----
From: cobbler-bounces(a)lists.fedorahosted.org [mailto:cobbler-
bounces(a)lists.fedorahosted.org] On Behalf Of Jared Hodge
Sent: Tuesday, June 09, 2009 5:14 PM
To: cobbler mailing list
Subject: RE: Non-linux installation
So I decided to try to get it working myself. I'm trying to load
clonezilla over pxe (for now just manually modifying
/tftboot/pexelinux.cfg/default -- not sure the "cobbler friendly" way
of
doing this).
I'm getting a different error (can't load firmward file
bnx2-06-4.6.16.fw, this seems to be because this network driver is not
loaded in the initrd image and you can't get it loaded without the
network driver working - possibly rebuilding the initrd image will fix
this), but the net result is the same, a Kernel Panic and unable to
boot.
http://www.omgili.com/mailinglist/debian-
boot/lists/debian/org/200809091
32942GB12650ch-desktop.html
I'll keep hacking at it and see if I can figure it out.
-Jared
> -----Original Message-----
> From: cobbler-bounces(a)lists.fedorahosted.org [mailto:cobbler-
> bounces(a)lists.fedorahosted.org] On Behalf Of Rodrique Heron
> Sent: Monday, June 08, 2009 10:43 AM
> To: cobbler mailing list
> Subject: RE: Non-linux installation
>
> -----Original Message-----
> From: cobbler-bounces(a)lists.fedorahosted.org [mailto:cobbler-
> bounces(a)lists.fedorahosted.org] On Behalf Of Michael DeHaan
> Sent: Monday, June 08, 2009 10:26 AM
> To: cobbler mailing list
> Subject: Re: Non-linux installation
>
>
> > Yeah, yeah... and life will be wonderful after windows 7...
> > Sounds like I can I plan on using cobbler to clone systems to play
> "Duke
> > Nukem Forever".
> > (Not that I mean to be unappreciative, you're doing good work).
> >
>
> If you are interested in Clonezilla integration coming sooner, I
might
> suggest you consider working on it :)
>
> We would be more than happy to offer any tips we can in getting that
> started.
>
> I *really* mean that. This is how Cobbler is what it is today.
>
> Unlike DNF, we actually /do/ get releases out.
>
> --Michael
>
>
> Michael-
>
> I am trying to get CloneZilla going, I imported the live-CD and
> followed the instruction here.
>
> But I get this error when booting up:
>
> Begin: Mounting root file system ... [ 124.436647] ide_generic:
please
> use "probe_mask=0x3f" module parameter for probing all legacy ISA
IDE
> ports
> [ 125.421902] Kernel panic - not syncing: Attempted to kill init!
>
> I have a thread going to Clonezilla mailing list,
http://www.mail-
>
archive.com/clonezilla-live@lists.sourceforge.net/msg00279.html
>
> Not really sure where to go from here.
>
> Thanks
>
Judge
I having the same issue on a HP380, I have a thread going on
CloneZilla
mailing list.
http://www.mail-archive.com/clonezilla-
live(a)lists.sourceforge.net/msg00279.html
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler