StemseeS-Remastering-Suite-V5.4 pet 22/05/15
@slavvo67
Glad to hear it has other uses.
I just started working on parts of sfs-unattended-remaster today. Namely, menu option 7b (savefile resize on the fly) which now works perfectly in the bat of an eye, and updates /etc/rc.d/pupsave.conf with new size in bytes. Must restart X to re-enable the savefile space icon in the tray, but that isn't needed for it to work. In fact I don't know how to make the tray icon update the new savefile size except reboot.
from line 649 onwards
Glad to hear it has other uses.
I just started working on parts of sfs-unattended-remaster today. Namely, menu option 7b (savefile resize on the fly) which now works perfectly in the bat of an eye, and updates /etc/rc.d/pupsave.conf with new size in bytes. Must restart X to re-enable the savefile space icon in the tray, but that isn't needed for it to work. In fact I don't know how to make the tray icon update the new savefile size except reboot.
from line 649 onwards
Code: Select all
b) echo "Enter resize value e.g. 50"
read rs
umount -l /initrd/pup_rw
if [[ -f /mnt/home/$SAVEFILE ]]; then
SAVEPART=home
elif [[ -f /mnt/Home/$SAVEFILE ]]; then
SAVEPART=Home
elif [[ -f $path$SAVEPART$SAVEFILE ]]; then
SAVEPART=$SAVEPART
fi
dd if=/dev/zero bs=1M count=$rs >> $path$SAVEPART$SAVEFILE
sync
sed -i '4d' /etc/rc.d/pupsave.conf
SIZEPFILE2=`stat $path$SAVEPART$SAVEFILE | grep -e 'Size' | cut -f2 -d ':' | cut -f2 -d ' '`
sed -i '4iSIZEPFILE='$SIZEPFILE2'' /etc/rc.d/pupsave.conf
xn=`echo $SAVEFILE | cut -f2 -d '.' | cut -f1 -d 'f'`
mount -t ext"$xn" $path$SAVEPART$SAVEFILE /initrd/pup_rw
gtkdialog-splash -text "Restart X to update icon in tray."
$rtn2menu && exit;;
Due for a rewrite.
I want to add reverse sync with apupsys to update a running system. I also wish to integrate sukk (stems-unattended-kernel-kompiling) into the suite to proved kernel upgrade path, or maybe just include wget line to download kernel package...or both! Also make clear the install function that exists in its functions.
Time to confer the ability to produce an iso on sfs-direct-remaster. And to remaster rufwoofs humungous initrd. And upgrade modules into lighthouse initrd automatically.
I want to add reverse sync with apupsys to update a running system. I also wish to integrate sukk (stems-unattended-kernel-kompiling) into the suite to proved kernel upgrade path, or maybe just include wget line to download kernel package...or both! Also make clear the install function that exists in its functions.
Time to confer the ability to produce an iso on sfs-direct-remaster. And to remaster rufwoofs humungous initrd. And upgrade modules into lighthouse initrd automatically.
It's still giving me weird issues. It built an iso this time, but it still did not make an sfs. It just copied the apupsys dir into the iso instead. It also did not copy the kernel to the iso.
I used option 8 on a full HD install.
I used option 8 on a full HD install.
"In a world that exists without walls and fences, who needs Windows and Gates?"
SRS-v5 accomodates April. q.sfs
removed code for rc.local
added 'growisofs -speed=8'
https://mega.co.nz/#!oJplASiC!1xoagNfBI ... 8jUM67Piks
removed code for rc.local
added 'growisofs -speed=8'
https://mega.co.nz/#!oJplASiC!1xoagNfBI ... 8jUM67Piks
open /usr/sbin/sfs-unattended-remaster from line 558 edit to look like this:
and from line 609
I don't remember how the parted code got omitted. But it had a bug which I see now as parted requires partition (sdb1) but dd only device (sdb).
Code: Select all
echo "Enter the usb device; eg sdb"
read usb
umount /dev/$usb
isohybrid $niso
dd if="$path""$pth1""$niso" of=/dev/$usb bs=4M
sync
sleep 1
parted /dev/"$usb"1 set boot on
sleep 1
mount /dev/"$usb"1
echo "Finished!"
sleep 2
$rtn2menu && exit;;
Code: Select all
6) echo "Enter 'usb partition iso' eg 'sdb sda5 /my-folder/new-Slacko-8.8.iso'
NB: If you choose to make the iso a hybrid back it up first."
read usb part iso
umount /dev/$usb
mount /dev/$part "$path""$part"
#echo "Gparted will open for you to prepare your usb device. When ready close gparted."
#gparted /dev/$usb
echo "Make the iso a hybrid? y or n?"
read hybrid
if [[ "$hybrid" = y ]]; then
isohybrid "$path""$part""$iso"
dd if="$path""$part""$iso" of=/dev/"$usb" bs=4M
else
dd if="$path""$part""$iso" of=/dev/"$usb" bs=4M
fi
parted /dev/"$usb"1 set boot on
echo "Finished!"
$rtn2menu && exit;;
Stems-remastering-Suite-V5.1.pet utils fixed!
- Attachments
-
- SRS-v5.1.pet.link.gz
- (74 Bytes) Downloaded 457 times
V5.2
addded 2 items and reinstated RW utils.
addded 2 items and reinstated RW utils.
- Attachments
-
- capture32520.jpg
- (38.11 KiB) Downloaded 624 times
Stemsee,
So to clarify, item 6 should make an iso into a bootable USB? To save space, would you consider having it make a bootable USB without creating an iso file first? It seems all the files are already there without having the iso.
Also, can you consider adding about 5 seconds to the unattended for those slow readers like me?
Thanks and thanks!!
Slavvo67
So to clarify, item 6 should make an iso into a bootable USB? To save space, would you consider having it make a bootable USB without creating an iso file first? It seems all the files are already there without having the iso.
Also, can you consider adding about 5 seconds to the unattended for those slow readers like me?
Thanks and thanks!!
Slavvo67
Anyway I had problems remastering quirky April 7.03 so I cut a version of sfs-direct-remaster script down for April only. Repacks initrd.q, works only in ram.
So you still need to install the suite then replace /usr/sbin/sfs-direct-remaster with this version.
So you still need to install the suite then replace /usr/sbin/sfs-direct-remaster with this version.
- Attachments
-
- sfs-direct-remaster.txt.gz
- fake .gz
- (7 KiB) Downloaded 417 times
I had problems unzipping the following:
Posted: Fri 10 Apr 2015, 05:41 Post subject:
Stems-remastering-Suite-V5.1.pet utils fixed!
SRS-v5.1.pet.link.gz
Description
gz
Download
Filename SRS-v5.1.pet.link.gz
Filesize 74 Bytes
Downloaded 18 Time(s)
Back to top
View user's profile Send private message MSN Messenger
Posted: Fri 10 Apr 2015, 05:41 Post subject:
Stems-remastering-Suite-V5.1.pet utils fixed!
SRS-v5.1.pet.link.gz
Description
gz
Download
Filename SRS-v5.1.pet.link.gz
Filesize 74 Bytes
Downloaded 18 Time(s)
Back to top
View user's profile Send private message MSN Messenger