multiple puppies and sfs files; psubdir

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
dio444
Posts: 33
Joined: Thu 20 Nov 2008, 11:57

multiple puppies and sfs files; psubdir

#1 Post by dio444 »

My puppy boot config looks like this:

Code: Select all

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'.  Fri Sep 11 08:31:22 2009
#
# The backup copy of the MBR for drive '/dev/sdb' is
# here '/boot/grub/mbr.sdb.14086'.  You can restore it like this.
# dd if=/boot/grub/mbr.sdb.14086 of=/dev/sdb bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Linux bootable partition config begins

title Puppy 421 Frugal - Nvidia dri
	root (hd0,4)
	kernel /pup421/vmlinuz ro vga=normal pmedia=atahd psubdir=pup421 nosmp
	initrd /pup421/initrd.gz

title Puppies431 (ttuuxxx's puplet)
	root (hd0,4)
	kernel /tux431/vmlinuz ro vga=normal pmedia=atahd psubdir=tux431 nosmp
	initrd /tux431/initrd.gz
	
 title Puppy 430 Frugal (mesa X)
	root (hd0,4)
	kernel /pup430/vmlinuz ro vga=normal pmedia=atahd psubdir=pup430 nosmp
	initrd /pup430/initrd.gz
	
 title Upup 476 Frugal
	root (hd0,4)
	kernel /upup476/vmlinuz ro vga=normal pmedia=atahd psubdir=upup476 nosmp
	initrd /upup476/initrd.gz

 title Dpup 477 Frugal
	root (hd0,4)
	kernel /dpup476/vmlinuz ro vga=normal pmedia=atahd psubdir=dpup476 nosmp
	initrd /dpup476/initrd.gz

 title NOP 413 r1 Frugal
	root (hd0,4)
	kernel /nop413/vmlinuz ro vga=normal pmedia=atahd psubdir=nop413 nosmp
	initrd /nop413/initrd.gz

 title TOP-Unlimited 421 Frugal
    root (hd0,4)
	kernel /top421/vmlinuz ro vga=normal pmedia=atahd psubdir=top421 nosmp
	initrd /top421/initrd.gz

 title Puppy 412 Frugal (pfix=ram)
	root (hd0,4)
	kernel /pup412/vmlinuz ro vga=normal pmedia=atahd psubdir=pup412 nosmp pfix=ram
	initrd /pup412/initrd.gz

 title SourceMage (on /dev/sdb3)
	root (hd1,2)
	kernel /boot/vmlinuz root=/dev/sdb3 ro vga=normal 
	initrd /boot/initrd.gz
	
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd1,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sdb1)
root (hd1,0)
setup (hd1,0)
pause Press enter to continue.
title -     For help press 'c', then type: 'help'
root (hd0)
title -     For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
and my / looks like this:

Code: Select all

# ls
devx_412.sfs
devx-NOP_413.sfs
devx_421.sfs
devx_430.sfs
devx-SFS3_430.sfs
dpup477
jre1.6.0_12_412.sfs
jre1.6.0_12_413.sfs
jre1.6.0_12_421.sfs
jre1.6.0_12_430.sfs
jre1.6.0_12_476.sfs
jre1.6.0_12_k2.6.25_430.sfs
kernel_src-2.6.30.5-patched_430.sfs
lost+found
nop413
pup412
pup421
pup430
top421
tux431
ulmt_421.sfs
upup476
upup_devx_476.sfs
wine-NOP_413.sfs
wine_421.sfs
wine_430.sfs
wine_476.sfs
wine_k2.6.25_430.sfs
So anyway, the question/suggestion is: Why don't we have puppy respect the psubdir setting with respect to sfs files?

I'd really like to be able to put them in the psubdir to clean up that setup and reduce the conflicts that can develop in this situation (I MUST make use of the boot manager in many of the puppies to specifically set which sfs files load, rather than relying on the fallback of letting it load all present sfs files. I'm currently digging around in the scripts to see if I can find where I might be able to change this, but I'm not at all sure how I would get the psubdir to the script even if I do find it.

Any pointers would be useful...

Tom

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#2 Post by sunburnt »

HI dio444; Short of modding Barry`s boot code, there`s not much that you can do...

But on the same idea: How about: "psfsdir= " to point to a /sfs-4xx dir.?
It would be in the root of any partition on any drive and used by all Puppies.
The version number is so Puppies would know which /sfs dir. to use for compatible sfs files.

This would organize and clean up the mess... ( You`re not the first one to comment on this...)

vg1
Posts: 142
Joined: Sun 02 Dec 2007, 18:56

#3 Post by vg1 »

If those are your pup_xxx.sfs files you could move them to their respective folders and at least reduce the mess in /.
Or are those your folders?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#4 Post by sunburnt »

vg1; I don`t know about other SFS files and where they need to be.
But the devx_xxx.sfs file as I understand it must be in the root of "home".

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Or are those your folders?
I think they must be the folders :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#6 Post by artifus »

sorry to dig up an old thread, i'm hoping someone more experienced and knowledgeable than myself can help out.

i notice in lupu 525 that i may only select up to six sfs to load. is there any way around this? thanks.
ohm's where the art is

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#7 Post by disciple »

You really need to start a new thread if you want to ask a new question like that. But today you might be lucky.

It is possible that newer puppies/puplets have this enabled already, and you just need to use the max_loop= kernel parameter. Otherwise you can modify your initrd to enable it:
http://www.murga-linux.com/puppy/viewto ... 610#246610
Some of these might be interesting too.
http://www.murga-linux.com/puppy/viewtopic.php?t=35266
http://bkhome.org/blog/?viewDetailed=00593
http://www.murga-linux.com/puppy/viewtopic.php?t=36733
Some people also use some other system that just mounts the .sfs and creates lots of symlinks instead of unioning it.
Last edited by disciple on Sat 28 May 2011, 00:04, edited 1 time in total.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

Re: multiple puppies and sfs files; psubdir

#8 Post by jrb »

dio444 wrote:So anyway, the question/suggestion is: Why don't we have puppy respect the psubdir setting with respect to sfs files?
artifus wrote:i notice in lupu 525 that i may only select up to six sfs to load. is there any way around this? thanks.
With SFS-TCZ_Linker you can load as many sfs's as you wish from any directory you wish at bootup or on-the-fly. Most sfs's work fine, a few require some slight mods.

"Try it, You'll like it" J :D

Post Reply