Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 May 2015, 10:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Installer by stemsee
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Mon 16 Feb 2015, 13:09    Post subject:  Installer by stemsee
Subject description: alternative non-method
 

Here is my rough and ready installation script. Install to a partition from running system or from remaster directory (apupsys - sfs-unattended-remaster). No removal of pre-existing files or directories, no reformatting, no free space check, no filesystem restrictions. Very dangerous! Who wants to test it?? Twisted Evil
stemstall.gz
Description  fake .gz. place in /root/my-applications/bin/ call stemstall in terminal.
gz

 Download 
Filename  stemstall.gz 
Filesize  1.95 KB 
Downloaded  63 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
slavvo67

Joined: 12 Oct 2012
Posts: 678
Location: The other Mr. 305

PostPosted: Mon 16 Feb 2015, 14:25    Post subject:  

Nice but.... I think I'll wait this one out for a while. Wink
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Mon 16 Feb 2015, 15:01    Post subject:  

I am only teasing....it isn't dangerous, only your mistakes are dangerous, same with any installerl. And there are enough prompts. I have tested it a few times.
Back to top
View user's profile Send private message MSN Messenger 
ASRI éducation


Joined: 09 May 2009
Posts: 3020
Location: France

PostPosted: Thu 19 Feb 2015, 14:17    Post subject:  

Hello stemsee

To help us better understand the functioning of your utility: have you some screen shots, or some additional explanation?

Regards

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Thu 19 Feb 2015, 18:07    Post subject:  

This install is basically rsync either with running system or from expanded .sfs dir with system tree (livecdbuild, apupsys) to partition. Excluding proc, tmp, mnt, media, aufs, initrd, sys, run, (forgot to exclude /var/tmp)) which are created after rsync -au completes, permissions for tmp and /var/tmp changed to 1777, then vmlinuz is copied to /boot after user provides 'path-to-vmlinuz'. Then grub4dos is invoked.

I hope this helps.
Back to top
View user's profile Send private message MSN Messenger 
ASRI éducation


Joined: 09 May 2009
Posts: 3020
Location: France

PostPosted: Thu 19 Feb 2015, 18:57    Post subject:  

stemsee wrote:
This install is basically rsync either with running system or from expanded .sfs dir with system tree (livecdbuild, apupsys) to partition. Excluding proc, tmp, mnt, media, aufs, initrd, sys, run, (forgot to exclude /var/tmp)) which are created after rsync -au completes, permissions for tmp and /var/tmp changed to 1777, then vmlinuz is copied to /boot after user provides 'path-to-vmlinuz'. Then grub4dos is invoked.

I hope this helps.

Thank you for this infos!
Regards

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 860
Location: nyc

PostPosted: Thu 19 Feb 2015, 19:55    Post subject:  

any chance it can be made to install to a folder on a partition rather than the whole partition?

and since i'm making requests, and since this reminds me of an already great tool, could you tweak RSH's AFI (automatic frugal installer) to allow installations to partitions other than the one it's booted from and/or incorporate its functionality into your installer?

thanks in advance, stemsee.

(trying to be helpful, but i can see this as

: anyone want to help with this?
: no.


which was not my intention Laughing )
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Thu 19 Feb 2015, 23:18    Post subject:  

@Puppus Dogfellow
Is AFI in your repo?

The install to folder (full install to folder I guess), is accommodted in sfs-unattended-remaster options 1,2,3, however it is now added to stemstall, simply specify folder when supplying partition e.g. 's sda9/frugal' . I will upload after adding a few more things.
Back to top
View user's profile Send private message MSN Messenger 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 860
Location: nyc

PostPosted: Thu 19 Feb 2015, 23:53    Post subject:  

stemsee wrote:
@Puppus Dogfellow
Is AFI in your repo?

The install to folder (full install to folder I guess), is accommodted in sfs-unattended-remaster options 1,2,3, however it is now added to stemstall, simply specify folder when supplying partition e.g. 's sda9/frugal' . I will upload after adding a few more things.



AFI.

^ one click install. i've used it as a safety valve--Possibly doing irreparable harm to your system? Have a new one to hop to if that's the case! over time they pile up, but it really seems to be the easiest way to install puppy. (too bad it's restricted to the partition the puppy using it booted from--not sure how it works with cd installs/boots.)
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Fri 20 Feb 2015, 04:50    Post subject:  

As for altering AFI, I think it would be best if you asked Lazy Puppy (RSH) directly first, as it would be easiest for him as he knows well his own script. Generally he always tells others to use his code and do what they want with it. I cannot follow the script! It would be easier for me to just write my own frugal installer! One which installs from iso or CD/DVD or from a frugal install or from a full install. Should be easy enough.
Back to top
View user's profile Send private message MSN Messenger 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 860
Location: nyc

PostPosted: Fri 20 Feb 2015, 06:27    Post subject:  

stemsee wrote:
As for altering AFI, I think it would be best if you asked Lazy Puppy (RSH) directly first, as it would be easiest for him as he knows well his own script. Generally he always tells others to use his code and do what they want with it. I cannot follow the script! It would be easier for me to just write my own frugal installer! One which installs from iso or CD/DVD or from a frugal install or from a full install. Should be easy enough.


cool. i'll post a link to this in his AFI/Lazy Fred thread and see if he's interested--greengreek visited recently and also suggested some changes--no feedback yet from RSH.

regardless, your version sounds awesome.

Last edited by Puppus Dogfellow on Sat 21 Feb 2015, 02:35; edited 1 time in total
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Fri 20 Feb 2015, 11:30    Post subject:  

stemsfrugalinstaller

Needs testing. All my iso files got wiped using LH64 remaster script, after adding custom mount script to rc.locl...no lh64 remaster script's fault. I am now downloading Lazy-Unicorn for the first test.
This is the first part of the script install from iso.
Depends on yad being installed. Which displays a list of iso files in given directory, choose one to install to /path/dir .
Code:
#!/bin/sh
#StemsFrugastall copyright (c) 2015 Marcos M Contant
echo "Enter path to iso files.
eg /mnt/sda9/Downloads/"
read path
ISO=$(ls "$path"*.iso | yad --title "Select ISO FIle" --list --center --height="400" --column="ISO List:" --print-column="1" --separator=" ")
ret=$?
[[ $ret -eq 1 ]] && exit 0
if [[ ! -z $ret ]]; then
echo $ISO
mkdir /$path/ISO
mount -o loop $ISO /$path/ISO
echo "Enter path including directory.
eg /mnt/sdb1/lupu/"
read dest
mkdir $dest
cp -rf /$path/ISO/* $dest
sync
umount $ISO
umount /$path/ISO
rm -r /$path/ISO
grub4dosconfig
fi
exit


Last edited by stemsee on Sun 22 Feb 2015, 11:32; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Fri 20 Feb 2015, 13:41    Post subject:  

Here is stemsfrugalstall with 4 options.

Let me know if there are any bugs.
capture13758.png
 Description   
 Filesize   10.91 KB
 Viewed   221 Time(s)

capture13758.png

stemsfrugalstall.gz
Description  fake .gz
gz

 Download 
Filename  stemsfrugalstall.gz 
Filesize  2.09 KB 
Downloaded  52 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 1185
Location: In The Way

PostPosted: Sat 21 Feb 2015, 10:07    Post subject:  

Stemsfrugalstall is now integrated into stemstall.
stemstall.gz
Description 
gz

 Download 
Filename  stemstall.gz 
Filesize  4.26 KB 
Downloaded  44 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 860
Location: nyc

PostPosted: Mon 02 Mar 2015, 11:34    Post subject:  

just used it to (maybe) install 3 isos (fatdog, april64, ~572) as frugals to sda3, booting/running from SD. i think something went wrong (haven't rebooted yet) because none showed up as entries on either the grub4dos gui or as text blocks in the menu.lst file.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0759s ][ Queries: 12 (0.0045s) ][ GZIP on ]