corepup

A home for all kinds of Puppy related projects
Message
Author
wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#481 Post by wanderer »

thanks fredx181

corepup uses an old version of jwm
that I compiled to have no support for any additions
it is very small 90k
and only uses a single .jwmrc file
so you have to manually add to the menu

in my other setup it has some stuff not added in this corepup
like geany and link-root
which is a script to link to your root directory
so the root setting are saved
and the exit to prompt doesn't work correctly

emelfm aterm and leafpad are run as root from the menu
(sudo emelfm) so you don't need to sudo to them

it provides the window manager and bottom panel
but I like the wbar so I put it on top

will correct the entries in jwmrc in my next corepup iso
but also will change how jwmrc is loaded
so it does not interfere with tinycore's jwm

there are lots of stuff in my other setup
that I will eventually add
like scripts run from jwm
and a linked uncompressed image
and linked uncompressed directories
etc

and then there is futwerks beautiful artwork

as I said this is an incredibly flexible and powerful system

will add all this to the corepup.tcz
(which is still listed as c2.tcz in onboot.lst)
when I update it

thanks again fredx181
for your help and interest

wanderer

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#482 Post by fredx181 »

Hi wanderer, regarding your earlier question:
wanderer wrote:the sfs files use multiple kinds

in fact just a script to determine the squashfs version
and unsquashing it would be enough
You can use unsquashfs with the -s switch to get info, for example for dillo.tcz:
EDIT: Or did I misunderstood what you are trying to achieve ?

Code: Select all

# unsquashfs -s dillo.tcz
Found a valid SQUASHFS 4:0 superblock on dillo.tcz.
Creation or last append time Sun Oct  4 01:20:04 2015
Filesystem size 484.53 Kbytes (0.47 Mbytes)
Compression gzip
Block size 4096
Filesystem is exportable via NFS
Inodes are compressed
Data is compressed
Fragments are compressed
Always-use-fragments option is not specified
Xattrs are not stored
Duplicates are removed
Number of fragments 2
Number of inodes 46
Number of ids 1 

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#483 Post by wanderer »

thanks again fredx181

that's exactly what I needed


wanderer

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#484 Post by Terry H »

Tried Coreplus 9.0 after not being able to get to desktop with corepup, still can't get to a graphical desktop. I added details from fred's boot stanza, but still only a command line. This is on my core i3-5005 laptop.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#485 Post by wanderer »

try typing in

startx at the prompt

if that doesn't work you may have to ask at the tinycore forum

wanderer

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#486 Post by fredx181 »

Terry H wrote:Tried Coreplus 9.0 after not being able to get to desktop with corepup, still can't get to a graphical desktop. I added details from fred's boot stanza, but still only a command line. This is on my core i3-5005 laptop.
Can you give more details about how you set it up ? (e.g. menu.lst entry)
I found by experimenting, that if there's something's wrong, the system boots, but can't find the apps (in cde folder), the "showapps" parameter make it show at boot, if you don't see all the apps listed at boot (in yellow), it indicates that these are not loaded (and X cannot start).

Fred

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#487 Post by Terry H »

fredx181 wrote:
Terry H wrote:Tried Coreplus 9.0 after not being able to get to desktop with corepup, still can't get to a graphical desktop. I added details from fred's boot stanza, but still only a command line. This is on my core i3-5005 laptop.
Can you give more details about how you set it up ? (e.g. menu.lst entry)
I found by experimenting, that if there's something's wrong, the system boots, but can't find the apps (in cde folder), the "showapps" parameter make it show at boot, if you don't see all the apps listed at boot (in yellow), it indicates that these are not loaded (and X cannot start).

Fred
Thanks Fred, I didn't post it because I use UEFI to boot and didn't want to confuse the issue. So I added the "showapps" parameter and now boot to desktop successfully.

The grub.cfg stanza I am using now for coreplus 9.0 is:

Code: Select all

menuentry "CorePup" {

search --set -f /corepup/boot/vmlinuz
 
linux /corepup/boot/vmlinuz showapps tce=sdb2/corepup/cde desktop=jwm waitusb=5
initrd /corepup/boot/core.gz
}


Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#488 Post by Terry H »

when I click to go to apps , I get a message that cde is not writable. I'm not sure what I have to do. The backup works when i shutdown/reboot, so I assume that is writing to the cde directory. As per my boot stanza, tce=/sdb2/corepup/cde

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#489 Post by wanderer »

the cde directory is not writable on a cd

the way to save your apps and other stuff
is to make a tce and a home directory
on a linux partition on a hard drive

when you boot
press tab at the menu
type in tce=sda1 home=sda1
or whatever the partition name is

this will make home and tce directories
on the hard drive
and everything will be saved

when you reboot
press tab at the menu
and type home=sda1 tce=sda1
and everything will be recovered

even though it seems more work
there are a lot of advantages to this method

I do not use the backup function
because you can end up saving a lot of stuff in home
and it will take an enormous amount of time
to save and recover each time

the backup file is saved to the tce directory
if I remember correctly
but like I said I don't use it

wanderer

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#490 Post by Terry H »

Wanderer, thanks for the reply. I'm not booting from a cd, I have manual install on a usb flash drive, so I'm not following when you refer to pressing Tab.

The odd thing is that when I shutdown, the mydata.tgz is updated with changes from the session, which exists in the cde directory. So the shutdown process can create a backup writing the the same directory, but the apps processing can't.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#491 Post by wanderer »

I always either create a live usb or cd
and save my data on a hard drive

so I don't know your system

I never use the backup data file
because it can take a long time

so alas I cannot be of any help to you
you may have to ask on the tinycore forum

wanderer

AndresC2
Posts: 76
Joined: Sun 09 Jul 2017, 02:12

#492 Post by AndresC2 »

Hi Terry H

Rename cde to tce this is my menu

LABEL TinyCore 9 JWM
KERNEL /TinyCore-9/vmlinuz
INITRD /TinyCore-9/core.gz
APPEND loglevel=3 waitusb=10 nozswap tce=sdb1/TinyCore-9/tce vga=788 multivt desktop=jwm

good luck!

Terry H
Posts: 708
Joined: Sun 29 Mar 2009, 16:48
Location: The Heart of Muskoka, ON Canada

#493 Post by Terry H »

Thanks AndresC2, unfortunately still the same result after renaming cde to tce. I'm not overly concerned, as I was only trying it to check what tinycore is about, as there has been a lot of input on this thread. I will probably try it again when there is some more progress on corepup.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#494 Post by wanderer »

hi terry h

thanks for your interest and input

try to make a live usb

in my opinion
that is the best way to use it

wanderer
Last edited by wanderer on Sat 16 Jun 2018, 16:11, edited 1 time in total.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#495 Post by wanderer »

hi all

have uploaded corepup-5.iso

to smokey01 site

deleted the older ones
as this is the bug fix for them

this is the base
now further mods will be on the corepup.tcz

wanderer

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#496 Post by wanderer »

hi all

the purpose of this thread is to provide an alternative way
as opposed to woof-ce and remaster
of building a puppy like distro
that even a person with the most limited skills can use

it has a great many other advantages as well
such as being made up of modules
that snap in and out
but doesnt have all of the cool things puppy has
however all of these things can be added
(and then removed and added again as desired)
in a simple modular fashion

in addition the system can be expanded
in other simple but powerful ways

i have long been working on a system
where uncompressed directories on a hard drive
are symlinked to a ramdrive

for example an uncompressed /usr on the hardrive
is symlinked to /usr in the ramdrive

and this will work with corepup
because it uses symlinks and not a unionfs

so the roadmap for corepup
is to develop these modifications

the best way to use corepup
is to make a live usb or cd
and have home tce and opt folders
in a linux partion on a hard drive

other methods may not work with all the mods

to be continued

wanderer
Last edited by wanderer on Sun 17 Jun 2018, 17:15, edited 1 time in total.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#497 Post by wanderer »

some of the things i am working on for corepup

1. boot menu syslinux.cfg isolinux.cfg
- done for the time being

2. boot functions tc-config
- done for the time being

3. corepup-jwm a stripped down jwm as corepups desktop
- done for the time being

4. mkcore a system to open and close the core
-done for the time being

5. mktcz a system to open close and make corepup tcz
a simpler form of tcz
-done for the time being

6. a process to make sfs pets and deb files into tcz
- a complex process only in its infancy

7. a script to make and use link-dirs
uncompressed dirs linked in to the ramdrive
- in process

8. a script to make a link root directory
to save /root setting
-in process (essentially completed)

9. a process to transfer cde tcz files to tce
so that the usb or cd can be removed
when the system is running
-in process (essentially completed)

10. mult home tce and opt files on the hard drive
so that multiple versions of corepup
can be booted in to as desired
-in process (essentially completed)

11. a process to mount -o loop and symlink
an uncompressed image file
so it can be used as a writable tcz or save file
- in process

12. a script to setup-mods.sh in the mods dir in home
so that internal changes can be made
to the ramdive or hard drive directories
after everything is loaded
(i used to call this copy2home.sh)
-in process and use

i guess thats pretty much my list for now

will continue to update everyone
ad infinitum ad nauseum

have a nice life

wanderer
Last edited by wanderer on Mon 18 Jun 2018, 01:32, edited 2 times in total.

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#498 Post by wanderer »

hi all

i think i will also try to modify the code in corepup-jwm
to get it to look for corepup-jwmrc instead of jwmrc
this way it wont interfere with other implementations of jwm

i will also post the source and build stuff
for corepup-jwm on smokey01 site
so other people can modify it

will try to post it now

done

wanderer

wanderer
Posts: 1098
Joined: Sat 20 Oct 2007, 23:17

#499 Post by wanderer »

hi all

if necessary the corepup iso will be modified

if necessary the core.gz in corepup will be modified

if necessary the corepup.tcz will be modified
or a new tcz will be made

however there is a much easier way to add stuff

and that is to simply add them to a directory in home/tc
and copy or link them appropriately

so this is the next level in the system

to do this i have made a directory called mods-1

in it i have placed gtkedit
which i like and whose dependencies are met
because corepup uses emelfm
which is a gtk1 app

i have also placed futwerks beautiful artwork in it

and a little script called setup-mods.sh
which will copy the stuff to where it should be

i have tarred mod-1
and placed mod-1.tar.gz
on the smokey01 site

just download it to the home/tc dir
untar it
cd into the dir
and run the script
and you now have gtkedit and futwerks art in corepup

i invite you to give it a try

each new corepup will get the next number corepup-5
each new mods directory will get the next number mods-1

excelsior

wanderer

User avatar
nosystemdthanks
Posts: 703
Joined: Thu 03 May 2018, 16:13
Contact:

#500 Post by nosystemdthanks »

which packages does corepup use now? if i have a dotpet does it load that? if i have to make a tcz instead what are the steps to make one for corepup?
[color=green]The freedom to NOT run the software, to be free to avoid vendor lock-in through appropriate modularization/encapsulation and minimized dependencies; meaning any free software can be replaced with a user’s preferred alternatives.[/color]

Post Reply