Am 22.08.2012 21:29, schrieb Gerardo Exequiel Pozzi:
2) Instead, we should * run a real dhcp client in initramfs * kill it at the end (make it not give away the lease), copy over the lease to the real system (or even leave dhcpcd running)
This would force us to ask for DHCP more often, but would guarantee that we have a consistent IP in initramfs and after. It doesn't matter if the IP during PXE and during initramfs differ (which is still unlikely to happen).
If leave it running should notify to systemd that there dhcpcd service is already running.
PS: Anyway for now, I leave copytoram=y for NBD/NFS (remember that copytoram only copies needed *.sfs, in other works booting in x86_64 does not copies "i686.sfs")
Beware that downloading the files may take longer than the lease time of the network. For example, it is not uncommon to have 15 minute lease times, and downloading files in less than 15 minutes needs > 3MBit/s approximately.