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 Tue 29 Jul 2014, 01:11
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Remember underdog?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Sun 17 Dec 2006, 18:11    Post subject:  Remember underdog?
Subject description: small script for starting and removing underdog
 

Remember underdog? This is a very handy device for running programs in Puppy from another Linux distro whose partition Puppy Linux shares. Doesn't seem to merit much attention these days - I can't understand why that is - it's very nifty!

For example I have Vector Linux installed underneath Puppy in partition "hda"and have direct access to all these handy utils that Vector has which could be extremely useful in Puppy were they available - e.g. rpm2tgz, pkgtool, installpkg, slapt-get to name but a few.

This little script will enable underdog for you or remove the connection as required. It works by creating the file "underdog.lnx" containing a single line "hda1" (no quotes). The PC will the reboot with this file now in place in the home partition - i.e.
where your pup_save.3fs resides. If you use option 2 to remove the connection without there being an existing underdog.lnx file in the home partition, the script will simply exit without a reboot. Otherwise the script removes the file and reboots Puppy back to normal. Alter the value of variable string1 to whatever your home partition is called.

#!/bin/sh
#tronkel
#this little bash script when run from a terminal will start or remove underdog.
#system reboots after completion of script if "underdog.lnx" is present otherwise will simply #exit the shell. System will also reboot if "Start" option is selected



string1="hda1"
select item in Start Remove
do
if [ $item = "Start" ];then
touch /mnt/home/underdog.lnx
echo $string1 >> /mnt/home/underdog.lnx
/usr/X11R7/bin/wmreboot
elif [ $item = "Remove" ];then
if [ ! -e /initrd/mnt/dev_save/underdog.lnx ];then
echo "underdog.lnx does not exist"
exit
else
rm /initrd/mnt/dev_save/underdog.lnx
echo "underdog removed"
/usr/X11R7/bin/wmreboot
fi
else
break
fi
done


I also attach the script as a file

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 28 Jan 2012, 14:46    Post subject:  

Hi tronkel

Remember underdog? - er, no!

sorry about reviving an old thread, but a search trail led me here

Does this still work in modern puppies, [I'm using noryb's win32 installer of slacko 530scsi-pae] or is there an easier way......I was looking at researching chroot.......?
basically thinking how to access other linux files on my drive from puppy, as I'm experimenting with mint and bodhi

...or does just mounting [other] partitions allow the same thing?

Aitch Smile
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 28 Jan 2012, 21:40    Post subject:  

Underdog is described here:

http://puppylinux.com/development/howpuppyworks.html

Yes, it is a very interesting idea, but has died through lack of interest.

Puppy no longer supports 'underdog.lnx', but I could bring it back.

_________________
http://bkhome.org/news/

Last edited by BarryK on Mon 30 Jan 2012, 04:02; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sun 29 Jan 2012, 03:23    Post subject:  

Wow

I don't understand the lack of interest.....I'd like to see a revival of the underdog

thanks for that link....I'm a bit puzzled that I've never come across that page before.......shame that the quality of description got lost, too, as many people don't seem to understand the file structure, nor the boot process

The link to the boot page is broken, Barry....have you still got the info, or did it die with hostgator...? - or did you write a later version?

and at the end....what was Step 3?

thanks

Aitch Smile
Back to top
View user's profile Send private message 
tronkel


Joined: 30 Sep 2005
Posts: 1101
Location: Vienna Austria

PostPosted: Sun 29 Jan 2012, 04:08    Post subject:  

Underdog goes so far back in PuppyTime that I had forgotten about it myself.

I always thought though, that it (underdog) was a fiendishly clever Puppy feature that ranks along with Multissesion etc for making Puppy Linux stand out from the crowd. With the recent proliferation of Puppy versions in recent times, it's no wonder things can get forgotten about. I wonder what other stuff could be brought back in from the cold as well. Maybe now a good time to revisit old haunts - just to see if anything interesting is lurking there, that has been quietly forgotten in the meantime.

Quote:
@Barry, I'm using Slacko 5.3.1 at this time - it suits my hardware at the moment. Waiting for the next Racy to appear. Maybe it'll play better with my new ATI Radeon 6450 video card that is giving problems with many versions of both Puppy and other Linuces. I've always got to use the FGLRX proprietary driver to get up and running - whereas I'd rather use the open source driver, but that appears not to support this card (as yet anyway).


I'd also like to see underdog reintroduced into the current series of Puppies. I reckon many Puppy users save their persistent pup_save to a Linux partition that has useful programs included that could run inside a Puppy installation.

@Aitch

Well spotted! historical research is worthwhile.

_________________
Life is too short to spend it in front of a computer
Back to top
View user's profile Send private message Visit poster's website AIM Address 
Ray MK


Joined: 05 Feb 2008
Posts: 760
Location: UK

PostPosted: Sun 29 Jan 2012, 07:41    Post subject:  

Hi

Tronkel said
"I'd also like to see underdog reintroduced into the current series of Puppies. I reckon many Puppy users save their persistent pup_save to a Linux partition that has useful programs included that could run inside a Puppy installation."

Me too - would be just fantastic to be able to use "underdog" feature.

Many thanks and very best regars - Ray
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4229
Location: Gatineau (Qc), Canada

PostPosted: Sun 29 Jan 2012, 12:46    Post subject:  

@ tronkel:

In view of the fast-changing pace of Puppy, could your underdog script be used to incorporate an older Puppy into your current one?

Thanks in advance for your answer.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 30 Jan 2012, 02:06    Post subject:  

Used it. Forgot it. Welcome its return.
http://puppylinux.info/topic/underdog

How do we forget stuff like this?
I don't have another distro on my HD at the moment . . .
Decisions, decisions . . .

m m m . . . would it be possible to run a 64bit OS (eg Fatdog) from a 32bit?
How about running a BSD?
. . . how about the Underdog distro which boots Puppy and uses a script to install a variety of big dog Linux?

Seems like a job for Superpup

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Mon 30 Jan 2012, 04:12    Post subject:  

Ha ha, when I posted above, I didn't realise that tronkel's post was in 2006! I was puzzled and asked what Puppy he was using -- I have edited that post and removed the question!

Anyway, yes, Underdog has made a return:
http://bkhome.org/blog/?viewDetailed=02668

It remains to be seen how well it will work. We might need to put in some hack code in the 'init' script to take care of some details.

One thing it doesn't do is update the menu. Normally, when an SFS file is added, the 'init' script notes the change in the layers, and the JWM (or whatever) menu gets updated. But I left the Underdog out of that. But, that could be modified so that the Underdog Linux gets treated like any other SFS layer and menu updates, also updates upon remove.

I can make some changes after testers have tried it.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 30 Jan 2012, 08:30    Post subject:  

Thanks Barry

I have to admit to surprisingly never having seen this referenced before, and am amazed it got 'lost'...it seems to me that puppy is the only linux distro to make use of this utility? Very Happy

thanks tronkel, also

Who wrote the original code?

Aitch Smile
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 30 Jan 2012, 10:40    Post subject:  

Jack (Tronkel) wrote the original code
Code:
touch /mnt/home/underdog.lnx

touch is the magic bit

I thought it was excellent, I was just gobsmacked [surprised] at the time
of using it with Vector Linux

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 30 Jan 2012, 11:26    Post subject:  

MMM...I await Barry's response as his news of Jan 30th 2006 would seem to suggest prior art.... Wink

http://puppylinux.com/news/news2006a.htm

Barry, perhaps you would also offer explanation why it needed deleting, if upgrading, as mentioned several times up to May24th 2006
Quote:
UPGRADING: If you have tested a previous puppy2 alpha CD, please get rid of any pup_save.3fs file, wherever it is on the hard drive. Also delete a underdog.lnx file if it exists. This is important!


Did something break/has this modern relevance?

Aitch Smile
Back to top
View user's profile Send private message 
shadower_sc

Joined: 21 Apr 2010
Posts: 129
Location: Texas

PostPosted: Mon 30 Jan 2012, 12:38    Post subject: underdog  

I will have to try this some time. It sounds cool, but it sounds like all kinds of things could go wrong. Smile
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2373
Location: UK

PostPosted: Mon 30 Jan 2012, 13:24    Post subject:  

BarryK wrote:
Normally, when an SFS file is added, the 'init' script notes the change in the layers, and the JWM (or whatever) menu gets updated. But I left the Underdog out of that. But, that could be modified so that the Underdog Linux gets treated like any other SFS layer and menu updates, also updates upon remove.

I can make some changes after testers have tried it.

This may be off topic a bit, I don't know the underlying code, but goingnuts has done something similar with pUpnGo, linking in a whole other distro on top of (underneath?) pupngo... It may be worth checking out some of that ...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4109
Location: Earth

PostPosted: Mon 30 Jan 2012, 15:29    Post subject: A better way to deploy and use a RAM based OS  

This brings into Puppyland a revolutionary view of the PUPPY distro(s) and its future.

Hope the community can affect this strategy because of so many paths that would be good for distro development.

This should not need community support. This is visionary.

Hope this helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0900s ][ Queries: 12 (0.0041s) ][ GZIP on ]