# Sample ping.conf. # Should be copied in /etc. # You need PING 1.12 or more for a /etc/ping.conf file to be used. # # How to modify your initrd.gz file: # 1. Boot PING on a machine that has at least 256 Mo of RAM # 2. Get a shell when proposed to, by typing 'x' and Enter # 3. Login as root, no password # 4. Connect to your network: # - If there's a DHCP server, type: dhcpcd # - Else, type (adjust to your config): # - ifconfig eth0 192.168.0.26 netmask 255.255.255.0 up # - route add default gw 192.168.0.1 # 5. Mount a remote share (where your initrd.gz file can be found): # - mount.smbfs //192.168.0.1/d\$ /mnt/smbfs -o user=domain\\username # (or just user=username if this is a local user) # 6. Assuming both your initrd.gz and ping.conf files are located # in the root of the share, type: # - gzip -d /mnt/smbfs/initrd.gz # - mount -o loop /mnt/smbfs/initrd /mnt/loop # - mkdir /tmp/rootfs # - cd /tmp/rootfs # - tar xvfz /mnt/loop/rootfs.tgz # - cp /mnt/smbfs/ping.conf /tmp/rootfs/etc/ping.conf # - tar cvf - * |gzip -9 - >/mnt/loop/rootfs.tgz # - umount /mnt/loop # - gzip -9 /mnt/smbfs/initrd # # Remember that Linux's shell is case-sensitive. # IP=192.168.0.26 Netmask=255.255.255.0 Gateway=192.168.0.1 Server=192.168.0.1 Share=partimage User=administrator Passwd=topsecret Directory=/ Repart=Y After_Completion=Reboot