User greengeek did ask if the LazY Puppy Remaster Suite would run in other puppies. Unfortunately it doesn't. So i have made a quick hack to make you able to refine your remaster script (remasterpup2 in /usr/sbin) to make a remaster without the need to mount a iso file or to have a cd in the cd drive.
It will make the remaster from the running system, though it needs all the files, from the iso inside the boot directory (not partition --> works also but needs directory if booting from a separate directory).
I have tested this successful in lucid 528-4 and slacko 5.3.
1. Install the attached .pet. This contains the needed files to be able to tell the remaster script from where to take the files ---> no matter if booted from /mnt/home or /mnt/sda1 or /mnt/sdd3/YourPuppy or what ever your puppy can boot. Link to the .pet is at the end of this post.
2 Open your remaster script and put the following code at the very beginning.
Code: Select all
# get LazY Puppy Bootdirectory
exec /usr/sbin/ceelab/tools/get_boot_dir
sleep .1
. /usr/sbin/ceelab/lp2_sys_data/LP2_BootDir
Code: Select all
#VIRTUALCD=$(mount -t iso9660|grep '^/dev/loop' | sed -e 's/on[ ].*+//' -e 's/[ ]type[ ]iso9660[ ].*$//')
#MSG="$m_14"
#choice_cdd
#
#CDPATTERN="/dev/$BURNERDRV "
#CDMNTPT="`mount | grep "$CDPATTERN" | tr -s " " | cut -f 3 -d " "`"
#if [ "$CDMNTPT" != "" ];then
# if [ ! -f $CDMNTPT/initrd.gz ];then
# # 091212 weird bug, no processes but when run this, x restarts...
# xFUSER="`fuser -m /dev/$BURNERDRV 2>/dev/null`" #do this first, seems to fix it.
# [ "$xFUSER" != "" ] && fuser -k -m /dev/$BURNERDRV
# sync
# umount /dev/$BURNERDRV 2> /dev/null
# if [ $? -ne 0 ];then
# Xdialog --wrap --center --title "$m_02" --msgbox "$m_15" 0 0
# go_exit
# fi
# CDMNTPT=""
# fi
#fi
#
#if [ "$CDMNTPT" = "" ];then
# eval m_16=\"$m_16\"
# while [ 1 ];do
# Xdialog --wrap --center --title "$m_01" --msgbox "$m_16" 0 0
# [ $? -eq 0 ] || go_exit # 22jun09
# # now mount it...
# CDMNTPT="/mnt/$BURNERDRV"
# mkdir -p /mnt/$BURNERDRV
# mount -t iso9660 /dev/$BURNERDRV /mnt/$BURNERDRV
# [ $? -eq 0 ] && break
# done
#fi
In LazY Puppy Remaster Skript it is at line 347 ---> in your script it's surely another line number
Search for some code like:
Code: Select all
for F in vmlinuz initrd.gz ${ZDRVSFS} grldr menu.lst '*.xpm' isolinux.bin isolinux.cfg '*.msg' '*.16' '*.HTM*' '*.ICO' '*.INF'
do
cp $CDMNTPT/$F $WKGMNTPT/$rebuilddir/ 2> /dev/null
sync
done
Code: Select all
cp $CDMNTPT/$F $WKGMNTPT/$rebuilddir/ 2> /dev/null
Code: Select all
cp $LP2BDL/$F $WKGMNTPT/$rebuilddir/ 2> /dev/null
The above shown code might be different to the code inside your script. I have made lots of specific modifications - can not remember each detail.
Link to the needed .pet
I have attached the already refined remaster scripts taken from the lucid 528-4 and slacko 5.3 test remasters. These files are fake .gz files. Just rename to remasterpup2 (might be necessary to make executable after download).
Even though I've attached these files, i do recommend to do manually as described above.
RSH