EmSee-2nd-Edition | Ultra | 2016
Final iso uploading
uploading FINAL iso now! kernel-3.15.0 non pae, woof-ng kernel-combo, Openshot, XBMC-13.1 Gotham, remasterx, DebianDog savefile creator, qemu-2.0.0 + launcher, samba 4.09, music apps, gimp, tons of stuff!
Re: Final iso uploading
Hi stemsee,stemsee wrote:uploading FINAL iso now! kernel-3.15.0 non pae, woof-ng kernel-combo, Openshot, XBMC-13.1 Gotham, remasterx, DebianDog savefile creator, qemu-2.0.0 + launcher, samba 4.09, music apps, gimp, tons of stuff!
I am keen to try this. Could you please post the link & MD5?
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]
@ ETP
Thanks for expressing your enthusiasm! I have just completed finishing touches and will upload the final iso (2GB) to my google drive tonight!
I am very pleased with the outcome - especially desktop icons switching for resolution, just type - 1024 or 1366, 1440, 1650, 1920, 2560 (plus default PuppyPin as backup) in a terminal and bingo! Also added arandr. Last minute fix for jackd, added three icons to desktop, one to activate jackd for inbuilt soundcard (hw0), another for usb (hw1) and another to stop jackd, replacing qjackctl, as Ardour handles routing and connections.
Hopefully tomorrow will have links for md5 and iso posted, and updating kernels will be a cinch! No need to unpack initrd or main.sfs anymore!
Cheers!
EDIT: Kernel updated to 3.15.5 pae and non-pae available also 64 bit version available for this and other 64bit distros. The 3.15.5 kernel, is the recent stable kernel with lots of bug fixes for usb audio, kvm, ext4, etc. This kernel compiled with hibernation support! kernel argument <resume=/dev/swappartition> terminal call 'echo disk > /sys/power/state'
Edit 2: After compiling pae, no-pae and 64 bit versions of 3.15.5, I realise that kvm was builtin (oops!) and doesn't load a module and therefore qemu doesn't seem to use kvm built-in, so qemu not native speed! So sticking with 3.15.0 for iso. These kernels available as alternatives/upgrades. I will compile the next stable version when available.
BTW the 64bit kernel on 64bit cpu boots this 32bit system fine.
screenshot @ 1650 x 1050 2nd external monitor, not mirrored.!
Thanks for expressing your enthusiasm! I have just completed finishing touches and will upload the final iso (2GB) to my google drive tonight!
I am very pleased with the outcome - especially desktop icons switching for resolution, just type - 1024 or 1366, 1440, 1650, 1920, 2560 (plus default PuppyPin as backup) in a terminal and bingo! Also added arandr. Last minute fix for jackd, added three icons to desktop, one to activate jackd for inbuilt soundcard (hw0), another for usb (hw1) and another to stop jackd, replacing qjackctl, as Ardour handles routing and connections.
Hopefully tomorrow will have links for md5 and iso posted, and updating kernels will be a cinch! No need to unpack initrd or main.sfs anymore!
Cheers!
EDIT: Kernel updated to 3.15.5 pae and non-pae available also 64 bit version available for this and other 64bit distros. The 3.15.5 kernel, is the recent stable kernel with lots of bug fixes for usb audio, kvm, ext4, etc. This kernel compiled with hibernation support! kernel argument <resume=/dev/swappartition> terminal call 'echo disk > /sys/power/state'
Edit 2: After compiling pae, no-pae and 64 bit versions of 3.15.5, I realise that kvm was builtin (oops!) and doesn't load a module and therefore qemu doesn't seem to use kvm built-in, so qemu not native speed! So sticking with 3.15.0 for iso. These kernels available as alternatives/upgrades. I will compile the next stable version when available.
BTW the 64bit kernel on 64bit cpu boots this 32bit system fine.
screenshot @ 1650 x 1050 2nd external monitor, not mirrored.!
- Attachments
-
- capture15640.jpg
- (30.46 KiB) Downloaded 1219 times
Here it is after 6th attempt to upload! EmSee-2nd-Edition (EmSeeV2.iso). Full install to usb supported with f2fs by 01micko! Works great.
EDIT: incremental update 16/07/14
md5
EmSeeV2.1.iso @2.4GB
Edit: EmSeeV2.2 incremental update pending!
EDIT: incremental update 16/07/14
md5
EmSeeV2.1.iso @2.4GB
Edit: EmSeeV2.2 incremental update pending!
Last edited by stemsee on Thu 31 Jul 2014, 08:24, edited 3 times in total.
@ for everyone with a 64bit cpu here is 3.15.5-EmSeeV2-64
boots 32bit or 64bit OSes and on 32 bit OS qemu kvm boots 64bit OSes too (I am running fatdog64 on EmSeeV2 32bit OS! Just replace vmlinuz and kernel-modules.sfs
https://drive.google.com/folderview?id= ... sp=sharing
boots 32bit or 64bit OSes and on 32 bit OS qemu kvm boots 64bit OSes too (I am running fatdog64 on EmSeeV2 32bit OS! Just replace vmlinuz and kernel-modules.sfs
https://drive.google.com/folderview?id= ... sp=sharing
Hello @StemSee. Nice.
In thought, with the prior post on 64bit changes from32bit, you may be paving the way for a single distro with options to boot in 32bit mode or in 64bit. ONLY other distro I am aware that does this is Knoppix, where at boot time, the user can "option" for 64bit.
Questions
In thought, with the prior post on 64bit changes from32bit, you may be paving the way for a single distro with options to boot in 32bit mode or in 64bit. ONLY other distro I am aware that does this is Knoppix, where at boot time, the user can "option" for 64bit.
Questions
- Is the future for EmSee to be similar?
- Or will there be a 64bit exclusive with apps forthcoming?
@gcmartin
Firstly I am an amateur developer with lots to learn! There is no reward except knowledge gained and shared, communal relationships developed etc so there is no roadmap, just a loosely evolving idea of what might want to see implemented in a distro. There is no perfect distro.
Ideally I would like EmseeV3 to be 32 and 64 bit compatible in a single distro, pending know how. I also want to make it smaller with no loss of functionality. Even so an exclusively 32bit and 64bit release is likely. With newly compiled apps where needed.
But V2 is just out now; I am interested to know how you would describe your perfect distro? And what do you 'need' that is lacking from EmSeeV2? apart from Firstrun! And lastly which puppy distro is your main one and why? So that I can add these ideas to V3.
And thanks for what the community (long list) is doing for me!
Firstly I am an amateur developer with lots to learn! There is no reward except knowledge gained and shared, communal relationships developed etc so there is no roadmap, just a loosely evolving idea of what might want to see implemented in a distro. There is no perfect distro.
Ideally I would like EmseeV3 to be 32 and 64 bit compatible in a single distro, pending know how. I also want to make it smaller with no loss of functionality. Even so an exclusively 32bit and 64bit release is likely. With newly compiled apps where needed.
But V2 is just out now; I am interested to know how you would describe your perfect distro? And what do you 'need' that is lacking from EmSeeV2? apart from Firstrun! And lastly which puppy distro is your main one and why? So that I can add these ideas to V3.
And thanks for what the community (long list) is doing for me!
Ok! So I have a new EmSeeV2.1.iso uploading right now. It grew by 300mb somehow! Added Viacam to control cursor with head movements, requires webcam. Bleachbit aded, Espeak text to speech, cli, utility. Upgraded wine-1.7.17 to 1.7.22, upgraded xbmc-13.1 to 13.2, sorted out samba completely, added EmSeeV2savefile.sfs.tar.gz to be decompressed and copied from dvd to usb/hdd etc. Header files are now included in main sfs and removed from modules (openshot requires them to run). TestDisk-6.13 now has menu entry! Some icons fixed in menus. Cleared up status file for synaptic. Added welcome1stboot and quicksetup on first run. Removed a few small scripts, and added unattendremaster by nic007 modified by StemSee, call from term by typing 'unattendremaster', also 'remaster express' in menu!
I will post the links, after successful upload, at which point the previous iso links will be removed, but not deleted from the server for a day or two in case someone is in mid download!
BTW: This was remastered from a running frugal install with savefile using nic007's unattendedremaster script modified by myself to ask for path to working directory! The only thing it missed, but not its fault, was the /usr/include/ folder for headers which was mounted as sfs with modules.sfs. I recommend that method for remastering, it should be added as a standard feature in puppy.
BTW2: F2FS (full install to usb flash device) works well on my usb 3.0 stick but not on my usb 2.0 sick.
EDIT: incremental update 16/07/14
md5
EmSeeV2.1.iso @2.4GB
EDIT: EmSeeV2.2 pending!
I will post the links, after successful upload, at which point the previous iso links will be removed, but not deleted from the server for a day or two in case someone is in mid download!
BTW: This was remastered from a running frugal install with savefile using nic007's unattendedremaster script modified by myself to ask for path to working directory! The only thing it missed, but not its fault, was the /usr/include/ folder for headers which was mounted as sfs with modules.sfs. I recommend that method for remastering, it should be added as a standard feature in puppy.
BTW2: F2FS (full install to usb flash device) works well on my usb 3.0 stick but not on my usb 2.0 sick.
EDIT: incremental update 16/07/14
md5
EmSeeV2.1.iso @2.4GB
EDIT: EmSeeV2.2 pending!
Last edited by stemsee on Thu 31 Jul 2014, 08:26, edited 2 times in total.
Screenshots of different wallpapers and how they affect perception of the icons.
- Attachments
-
- capture29762.jpg
- (34.11 KiB) Downloaded 990 times
-
- capture29300.jpg
- (48.22 KiB) Downloaded 892 times
-
- capture28892.jpg
- (17.32 KiB) Downloaded 909 times
-
- capture28384.jpg
- (18.02 KiB) Downloaded 998 times
Battery tray indicator for laptops!
- Attachments
-
- powerappletsjs-2.3.pet
- (17.14 KiB) Downloaded 650 times
Last edited by stemsee on Sat 19 Jul 2014, 15:14, edited 2 times in total.
Glad you like it!
1. FirstRUN is actually quicksetup, the other script is Welcome1stboot.
2. If you boot from the iso without a savefile then it will always show quick-setup. The script is in Startup and is called sns it removes itself! if you edit that file you can also change the order of quicksetup and welcome1stboot
3. Simple Network Setup opens up every xorg re/start for those who travel and always need to reconfigure the wpa security before connecting to a different wifi access point, as I do in the library, coffee shops and hostels etc. It is laptop friendlier! I like it!!
1. FirstRUN is actually quicksetup, the other script is Welcome1stboot.
2. If you boot from the iso without a savefile then it will always show quick-setup. The script is in Startup and is called sns it removes itself! if you edit that file you can also change the order of quicksetup and welcome1stboot
3. Simple Network Setup opens up every xorg re/start for those who travel and always need to reconfigure the wpa security before connecting to a different wifi access point, as I do in the library, coffee shops and hostels etc. It is laptop friendlier! I like it!!
Last edited by stemsee on Tue 29 Jul 2014, 21:29, edited 1 time in total.
Fresh install using the included empy save file.
sys-logs
▶—— /initrd/tmp/bootinit.log ——◀
'FATAL' messages may be insignificant.
hwclock: can't open '/dev/misc/rtc': No such file or directory
cat: can't open '/lib/modules/3.15.0/modules.dep': No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
mount: mounting none on /proc/bus/usb failed: No such file or directory
missing argument to `-iname'
missing argument to `-iname'
e2fsck 1.41.9 (22-Aug-2009)
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
cannot create directory `/lib/modules/3.15.0/kernel/drivers/scsi': No such file or directory
mv: can't rename '/lib/modules/3.15.0': No such file or directory
usage: vercmp version1 lt|gt|le|ge|eq version2
return value 0 if true, else 1
usage: vercmp version1 lt|gt|le|ge|eq version2
return value 0 if true, else 1
▶—— /tmp/bootsysinit.log ——◀
VERSION UPDATE
mv: cannot stat `/etc/modules/firmware.dep': No such file or directory
LOAD KERNEL MODULES
LOAD SWAP
MISC. SYSTEM SETUP
WAIT MODULES LOADED
USER SELECTED MODULES
Loading module evdev
cat: /etc/modules/firmware.dep.3.15.0: No such file or directory
FATAL: Module evdev not found.
SETUP SERVICES
RECOGNISE MEDIA DEVICES
Loading /usr/share/kbd/keymaps/i386/qwerty/us.map
MISC. DESKTOP STUFF
PERSONAL BOOT SCRIPT
bluetoothd[7072]: Bluetooth daemon 4.98
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
bluetoothd[7072]: Unable to get on D-Bus
Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; Device or resource busy.
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
cups: started scheduler.
Starting system message bus: /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-daemon --system
Starting Samba: /usr/sbin/smbd -D
dhcpcd[7153]: version 5.6.4 starting
dhcpcd[7153]: all: configured as a router, not a host
dhcpcd[7153]: wlan0: rebinding lease of 192.168.1.3
dhcpcd[7153]: wlan0: acknowledged 192.168.1.3 from 192.168.1.1
dhcpcd[7153]: wlan0: checking for 192.168.1.3
dhcpcd[7153]: wlan0: leased 192.168.1.3 for 86400 seconds
dhcpcd[7153]: forked to background, child pid 7273
/usr/sbin/nmbd -D
ok
/etc/init.d/rtirq: line 50: [: argument expected
rtirq: chrt: not installed.
FATAL: Module acpi_cpufreq not found.
Starting HAL daemon: /usr/sbin/hald --daemon=yes
--------
most are probably scripting teething errors, but I'm particularly disturbed by the ancient e2fsck.
it's getting much better
sys-logs
▶—— /initrd/tmp/bootinit.log ——◀
'FATAL' messages may be insignificant.
hwclock: can't open '/dev/misc/rtc': No such file or directory
cat: can't open '/lib/modules/3.15.0/modules.dep': No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.15.0/modules.dep: No such file or directory
mount: mounting none on /proc/bus/usb failed: No such file or directory
missing argument to `-iname'
missing argument to `-iname'
e2fsck 1.41.9 (22-Aug-2009)
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
/lib/modules/3.15.0/kernel/drivers/scsi: No such file or directory
cannot create directory `/lib/modules/3.15.0/kernel/drivers/scsi': No such file or directory
mv: can't rename '/lib/modules/3.15.0': No such file or directory
usage: vercmp version1 lt|gt|le|ge|eq version2
return value 0 if true, else 1
usage: vercmp version1 lt|gt|le|ge|eq version2
return value 0 if true, else 1
▶—— /tmp/bootsysinit.log ——◀
VERSION UPDATE
mv: cannot stat `/etc/modules/firmware.dep': No such file or directory
LOAD KERNEL MODULES
LOAD SWAP
MISC. SYSTEM SETUP
WAIT MODULES LOADED
USER SELECTED MODULES
Loading module evdev
cat: /etc/modules/firmware.dep.3.15.0: No such file or directory
FATAL: Module evdev not found.
SETUP SERVICES
RECOGNISE MEDIA DEVICES
Loading /usr/share/kbd/keymaps/i386/qwerty/us.map
MISC. DESKTOP STUFF
PERSONAL BOOT SCRIPT
bluetoothd[7072]: Bluetooth daemon 4.98
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused
bluetoothd[7072]: Unable to get on D-Bus
Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; Device or resource busy.
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
cups: started scheduler.
Starting system message bus: /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-daemon --system
Starting Samba: /usr/sbin/smbd -D
dhcpcd[7153]: version 5.6.4 starting
dhcpcd[7153]: all: configured as a router, not a host
dhcpcd[7153]: wlan0: rebinding lease of 192.168.1.3
dhcpcd[7153]: wlan0: acknowledged 192.168.1.3 from 192.168.1.1
dhcpcd[7153]: wlan0: checking for 192.168.1.3
dhcpcd[7153]: wlan0: leased 192.168.1.3 for 86400 seconds
dhcpcd[7153]: forked to background, child pid 7273
/usr/sbin/nmbd -D
ok
/etc/init.d/rtirq: line 50: [: argument expected
rtirq: chrt: not installed.
FATAL: Module acpi_cpufreq not found.
Starting HAL daemon: /usr/sbin/hald --daemon=yes
--------
most are probably scripting teething errors, but I'm particularly disturbed by the ancient e2fsck.
it's getting much better
@Satori
acpi-cpufreq IS missing, I deleted some files trying to illiminate a menu entry dupication that was persistent, and then i didn't test it. Quite a few other errors which I am not getting! Try without the savefile first!
Here is a new initrd.gz You can load at boot two extra sfs modules just name them adrv_emseev2.1.sfs and ydrv_emseev2.1.sfs ...also this initrd doesn't specify DISTRO_VERSION and so doesn't try to upgrade any savefiles. It came from shinobar>saintless>stemsee>
https://drive.google.com/file/d/0B4GhZV ... aring[url]
acpi-cpufreq IS missing, I deleted some files trying to illiminate a menu entry dupication that was persistent, and then i didn't test it. Quite a few other errors which I am not getting! Try without the savefile first!
Here is a new initrd.gz You can load at boot two extra sfs modules just name them adrv_emseev2.1.sfs and ydrv_emseev2.1.sfs ...also this initrd doesn't specify DISTRO_VERSION and so doesn't try to upgrade any savefiles. It came from shinobar>saintless>stemsee>
https://drive.google.com/file/d/0B4GhZV ... aring[url]
- Colonel Panic
- Posts: 2171
- Joined: Sat 16 Sep 2006, 11:09
I've just started using this one on the community centre computers, as an Internet cafe distro (replacing ecomoney's old one which was based on the 4.21 series of Pups.). It's early days so far but it looks very good.
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.
- Colonel Panic
- Posts: 2171
- Joined: Sat 16 Sep 2006, 11:09
Thanks, but you couldn't really call it an "implementation" at this stage because it has no official approval. All I do is find a machine that's currently not working and boot up EmSee on it as a live disk.stemsee wrote:Nice to know that. I am very interested in the details of your internet cafe implementation. Keep us posted.
If you would like anything added let me know!
I'll let you know about the extra features, but if you think in terms of what people who are used to Windows are likely to want and expect, and try not to stray too far from that, you won't go far wrong.
For example, when you insert a pendrive into a machine, does the distro not only load it automatically but display its contents on the desktop in the file manager? Can you then load the files in a suitable application such as Libre Office or Firefox simply by clicking on them?
Best,
CP .
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.
pmount controls automount! I can add a script to open usb device in file manager.
Mimetypes association controls which programs open which types of file. I will make some solid and comprehensive adjustments for EmSeeV2.2 incremental update - which also has newer vlc, libreoffice, chrome, ppstrream. Added networktry with ip, Tor, browser. Removed abiword, pprocess, zarfy, arand (grandr is better)r, wcpufreq, reaper, QQ-en, seamonkey.
Mimetypes association controls which programs open which types of file. I will make some solid and comprehensive adjustments for EmSeeV2.2 incremental update - which also has newer vlc, libreoffice, chrome, ppstrream. Added networktry with ip, Tor, browser. Removed abiword, pprocess, zarfy, arand (grandr is better)r, wcpufreq, reaper, QQ-en, seamonkey.
Here is the code for unattended live remastering on EmSeeV2+, it takes into account the combo boot files and does not include zdrv kernel-modules.sfs if a modules directory is found . Adapted by me, taken from nic007's original script.
I will add auto detect for FD combo boot files or normal initrd.gz!
EDIT: added auto detect modules directory on /initrd/pup_z
EDIT2: Just added reset password to woofwoof.
Code: Select all
#!/bin/sh
#original by nic007 heavily modified by StemSee
echo "Enter partition name of ext 2/3/4 partition for remaster folder eg sda2
or press enter for '/' in ram."
read drive
mount /dev/$drive /mnt/$drive
mkdir -p /mnt/$drive/puppyfilesystem/proc /mnt/$drive/puppyfilesystem/tmp /mnt/$drive/puppylivediscbuild
rm -f /var/cache/apt/archives/*.deb #for EmSeeV2+ apt/synaptic downloads delete.
cp -a /initrd/pup_ro2/var /dev /mnt/$drive/puppyfilesystem/
cp -a /root /etc /usr /lib /bin /sbin /opt /archive /include /srv /selinux /obexd-0.38 /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro1/usr /var /root /lib /bin /sbin /opt /archive /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro3/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro4/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro5/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro6/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro7/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro8/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_ro9/* /mnt/$drive/puppyfilesystem/
if [ ! -d /initrd/pup_z/lib/modules ]; then
cp -a /initrd/pup_z/* /mnt/$drive/puppyfilesystem/
else
echo "Not copying zdrv /initrd/pup_z files."
fi
cp -a /initrd/pup_a/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_y/* /mnt/$drive/puppyfilesystem/
cp -a /initrd/pup_rw/usr /var /root /lib /bin /sbin /opt /archive /mnt/$drive/puppyfilesystem/ #copied last so not overwritten
if [ -e /mnt/$drive/puppyfilesystem/etc/.XLOADED ]; then
rm -f /mnt/$drive/puppyfilesystem/etc/.XLOADED
fi
if [ -e /mnt/$drive/puppyfilesystem/root/.XLOADED ]; then
rm -f /mnt/$drive/puppyfilesystem/root/.XLOADED
fi
rm -f /mnt/$drive/puppyfilesystem/root/.bash_history .history .Trash/. .cache/chrome/default/cache/. .cache/mozilla/firefox/.
echo ""
echo "Chrooting into puppyfilesystem to reset password."
chroot /mnt/$drive/puppyfilesystem
echo -e "woofwoof\nwoofwoof" | (passwd --stdin $USER)
exit
echo "Password has been reset to 'woofwoof'."
cd /mnt/$drive/puppyfilesystem
find . -type f -name '.wh.*' -print -exec rm -rf {} \; #remove .wh. files
cd ..
mksquashfs puppyfilesystem puppylivediscbuild/puppy-remastered.sfs -noappend -comp xz -b 1024k -Xbcj x86
#rm /mnt/$drive/puppyfilesystem -r # left in existence for fixing simple errors and re-squash.
timelimit=60
echo "If you want to make an iso file then copy boot files (isolinux.bin,
isolinuz.cfg, initrd.gz, vmlinuz, grldr, boot.msg, help.msg, help2.msg, logo.16,
README.HTM) from cd or directory to /mnt/"$drive"/puppylivediscbuild."
echo -e "You have $timelimit seconds\n Type 'y' to create iso or 'n' to NOT create iso then press enter: \c"
answer=""
read -t $timelimit answer
if [ ! -z "$answer" ]; then
echo -e "\n You entered '$answer'"
else
echo -e "\n TIME OUT\n Assume no"
answer=n #because boot files not copied.
fi
case $answer in
y) mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -no-emul-boot -boot-load-size 4 -boot-info-table -o "puppy_remaster.iso" puppylivediscbuild
echo "'puppy_remaster.iso' is on drive /mnt/"$drive".";;
n) echo "'puppyfilesystem' directory left in existence.
Can be deleted for you if no longer needed.";;
*) echo "Sorry, unexpected input.'puppyfilesystem' and 'puppylivediscbuild'
directories left in existence. Exiting script! Have a nice one!";;
esac
echo -e "Enter 'k' to keep or 'd' to delete /mnt/"$drive"/puppyfilesystem. You have $timelimit seconds\n: \c"
choice=""
read -t $timelimit choice
if [ ! -z "$choice" ]; then
echo -e "\n You entered '$choice'."
else
echo -e "\n TIME OUT\n Assume keep"
choice=k
fi
case $choice in
k) echo "'puppyfilesystem' directory left in existence.";;
d) echo "Deleting '/mnt/"$drive"/puppyfilesystem"
rm -rf /mnt/$drive/puppyfilesystem
echo "DELETED! Byee!";;
*) echo "Unexpected input. Not deleting!";;
esac
exit 0
EDIT: added auto detect modules directory on /initrd/pup_z
EDIT2: Just added reset password to woofwoof.
Last edited by stemsee on Sat 02 Aug 2014, 06:14, edited 3 times in total.