ip=frommedia Documentation Conflict
Brought to you by:
steven_shiau
i found two documents related to booting live pxe and the ip=frommedia, one says to NOT use ip=frommedia and the other says to use ip=frommedia.
Please explain.
http://clonezilla.org/clonezilla-live/livepxe.php
http://clonezilla.org/clonezilla-server-edition/use_clonezilla_live_in_drbl.php
Why shouldn't it be ip=dhcp?
Wonder if it because there was an error in the live-initramfs 1.156.1-1 dated 2009-06-09 man page as indicated here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532471
Normally it does not matter if you use "ip=frommedia" or not, unless the filesystem.squashfs is on a NFS server.
For Clonezilla live (Debian live) networking booting, the IP address leases in the client might happen in:
1. 1st stage: PXE booting (to get the vmlinuz and initrd)
2. 2nd stage: Linux initrd, i.e. after vmlinuz and initrd are expanded and run in the client, in the initrd, ipconfig is used to lease the IP address from DHCP server.
3. 3rd stage: the /etc/init.d/networking service.
If "ip=dhcp" is used, the IP address lease will happen in all of the stages.
In http://clonezilla.org/clonezilla-server-edition/use_clonezilla_live_in_drbl.php
We put the filesystem.squashfs on the NFS server (nfsroot=192.168.120.254:/tftpboot/node_root/clonezilla-live/), and when /etc/init.d/networking service is run in 3rd stage, the linking between client and the server will be broken, then the client might be stalled in "waiting for NFS server"...
For http://clonezilla.org/clonezilla-live/livepxe.php, we use tftp to get the filesystem.squashfs and put it on the RAM of client (fetch=tftp://$serverIP/filesystem.squashfs), i.e. all the required files are on local system, therefore there is no issue if you let /etc/init.d/networking run.
Of course, you can use "fetch" method in the http://clonezilla.org/clonezilla-server-edition/use_clonezilla_live_in_drbl.php. Just remember if you do massive deployment, e.g. multicast restoring for 40 clients, every client will have to download the 100 MB filesystem.squashfs, and it might be a pain to your server and networking...
Steven.