title Testing (sda2)
root (hd0,1)
kernel /testing/vmlinuz pmedia=atahd pdev1=sda2 psubdir=testing
initrd /testing/initrd.gz
This part is a good one for puppy.
psubdir=testing That allow it to boot the sfs within that subdir
because some puppies looks for that sfs file on all drives it can mount.
And pmedia and pdev tell it to narrow down to atahd and not look on CD?
Or maybe it set the pupmode level? How often to save to that media?
IIRC there are 12 different modes?
greengeek, as you see I know almost nothing.
When I wrote what you cited that where a kind of relapse
into "Want to help out even if I know almost nothing mode"
I trust that you and I need to learn more how linux boots.
But first how bootloaders boot and when they let the linux take over
the boot.
One can see that sometimes if one look at the text that flies by. bye?
Suddenly it change from one resolution to another. My wild guess
is that that maybe indicate that it went over to the linux script inside
initrd.gz and then it is too late to give it order unless one set up
break points that stop the boot process?
Antix had such Over at their forum they gave example
if one put a 3 on the kernel line then it stop at a specific time
in the script and you can do adjustment of parameters. Going in and
tell it specific things. Using a 9 stop it at a later point and you can
tell the script something else.
I don't know if that is exclusive for that distro or that version even.
Now I need to find where I wrote that text so I can try to recall
what was on my mind at that time. Wish me luck
http://murga-linux.com/puppy/viewtopic. ... 669#583669
I gave example
Here is a starter that allow you test some 95% of all variations of Ubuntu.
I give example for a few.
title Netrunner 2011 frugal iso boot of netrunner-3.2.iso
find --set-root --ignore-floppies --ignore-cd /netrunner-3.2.iso
kernel /netrunner/casper/vmlinuz rw file=/cdrom/preseed/netrunner.seed boot=casper iso-scan/filename=/netrunner-3.2.iso noeject noprompt quiet splash --
initrd /netrunner/casper/initrd.lz
title Linux Mint 12 RC works ramdisk_size=1048576 root=/dev/ram
find --set-root --ignore-floppies --ignore-cd /linuxmint-12-gnome-dvd-32bit-rc.iso
kernel /LM12/casper/vmlinuz rw file=/cdrom/preseed/mint.seed boot=casper iso-scan/filename=/linuxmint-12-gnome-dvd-32bit-rc.iso ramdisk_size=1048576 root=/dev/ram noeject noprompt quiet splash --
initrd /LM12/casper/initrd.lz
title Bodhi Linux boots from bodhi_1.2.1.iso lacks mediaplayer
find --set-root --ignore-floppies --ignore-cd /bodhi_1.2.1.iso
kernel /bodhi/casper/vmlinuz file=/cdrom/preseed/custom.seed boot=casper persistent iso-scan/filename=/bodhi_1.2.1.iso quiet splash --
initrd /bodhi/casper/initrd.gz
All these three are variations of Ubuntu but they differ in preseed name.
And they differ how they treat the initrd two of them lz and one gz
only two different ways to pack them as small as possible.
such details are important. Another important thing is to not include the
hidden directory named .dist or similar name that one most often makes
it fail in an important way for my purpose.
Now what I want goes against the policy of Ubuntu so never mention
that on their forums. Not on linux mint either or other such forums.
that could result in you getting banned for being illoyal to their agenda.
They want to protect every user from doing fatal mistake and the way
I boot allow those mistakes so people tell me to not share thus glitch
in the armor.
But I am not sure what I wanted to tell you. I trust it was just my inner
emotional need to be of help that got me carried away. So sorry.
Back on topic. What you ask for is maybe partially dealt with using
something they named Underdog?
Barry had a blog entry about it recently. I try to find it.
Remember Underdog?
http://murga-linux.com/puppy/viewtopic.php?t=13750
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
I screamed Wow Jay more of such things when I read it.
rcrsn51 most likely understand what it is all about.
I wish I could get it too. It is close to what we want is it not?
Barry wrote an answer linking to the blog entry
Posted: Sun Jan 29, 2012 3:40 am Post subject: Reply with quote
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.