Hallio
Group: Members
Posts: 3
Joined: Oct. 2005 |
|
Posted: Oct. 17 2005,13:43 |
|
Hi,
I've made some, limited, progress on this myself. All I want to do is provide a non-default /opt/bootlocal.sh to my pxe booted DSL systems.
I've looked at the "pxedsl.sh" script and, just after the KNOPPIX image is copied into the "/cdrom" folder added a "read" to pause the script. At this point when the script is running I've switched to another session and tried these two things :
1) changed the symlink for the "/opt" directory to link to a writetable exact copy of the previous one and then editted "bootlocal.sh" appropriately.
or
2) made a "backup.tar.gz" containing the "/opt/bootlocal.sh" and copied it to the root of the "initrd" filesystem
However neither of them seem to do as i'd hope. When booting via 1) my changed bootlocal.sh simply doesn't exist on my clients, yet i've verified it's existence in the "minirt24.gz" file (by extracting it and mounting it. Method 2) does successfully place the "backup.tar.gz" on to my PXE booted client (in the root directory), but isn't being extracted. After reading the remastering document I hoped I could just copy a ".tar.gz" to the root filesystem and it would be extracted for me....
Can someone help me out here? Thanks, Steve
|