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 Thu 23 Oct 2014, 02:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
ArchPup - Puppy based on Arch Linux
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 12 of 14 [207 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1694

PostPosted: Thu 13 Dec 2012, 00:20    Post subject:  

stifiling wrote:

It FRIGGIN' works DUDE

Actually it does not!
Yes, does not crash but also will not save the data at shutdown since ArchPup does not have the snapmergepuppy and its associates.
Plan B below works (with caveats).

stifiling wrote:

But I myself like to remaster a 'clean base' arch-1204.sfs


For that you must also change the initrd/init and comment out lines 867-869 that read
Code:
[ "$REMOVABLEDRVSAVE" = "1"  -a  "$PMEDIA" != "usbhd" ] && PUPMODE=13  #110116 shinobar.
  [ "$PMEDIA" = "usbflash" ] && PUPMODE=13 #v404 fix classmate, with internal usb flash.
  [ "$PMEDIA" = "ataflash" ] && PUPMODE=13 #w019 constrain writes to internal flash drv.

and repackage the initrd.gz

However, in this cases removing the stick while working will crash the machine (will be like removing your hard drive!). That's why in pupmode 13 the RW layer is in tempfs and not in pupsave (and actually this is the reason that you get the kernel panic).

So despite oui's delirium, making the savefile process more puppy-like is the way to go here (and there are some nice pets to do that) if you want a USB-portable ArchPup.
But I'll leave that to simargl

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy

Last edited by mavrothal on Thu 13 Dec 2012, 04:20; edited 1 time in total
Back to top
View user's profile Send private message 
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Thu 13 Dec 2012, 02:45    Post subject:  

@mavrothal

hmm...the snapmergepuppy script is returning the error "find: unrecognized: -mount"

would u happen to know the way around that?

I'm presently using:
rsync -avz /initrd/pup_rw/* /initrd/pup_ro1
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1694

PostPosted: Thu 13 Dec 2012, 03:50    Post subject:  

stifiling wrote:
@mavrothal

hmm...the snapmergepuppy script is returning the error "find: unrecognized: -mount"


I can imagine that...
From the top of my head (unfortunately I will not be able to use archpup till next week), I would think you may need to rename the /bin/mount binary to /bin/mount-FULL (assuming that in ArchPup is the original and not a link to busybox) and copy the /bin/mount script from a recent puppy.
Also check if /bin/find is the full version or a symlink to busybox. You need the full version
In addition you may need aufs-utils.

Finally, snapmerge is using the ash shell. I'm not sure what is the status of ash in Archpup, but in puppy is a symlink to bash. You may want to change "#!/bin/ash" to "#!/bin/bash" at the first line of snapmerge script, to be sure.
Also change ~line 49
Code:
[ "`echo "$RUNPS" | grep 'pup_event_frontend_d'`" != "" ] && XRUNNING="yes" #v4.01 v409

to
Code:
[ "`echo "$RUNPS" | grep 'pup_volume_monitor'`" != "" ] && XRUNNING="yes" #v4.01 v409
(check with `ps' to make sure that "pup_volume_monitor" is the correct name)

While at it add also "set -x" as a second line in snapmerge. If you then run it from the terminal, will tell you exactly what it is doing and hopefully where the problem may be.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mrgreen

Joined: 28 May 2012
Posts: 7

PostPosted: Thu 13 Dec 2012, 12:18    Post subject: ArchPup  

Very interested to know how to get involved. Got linked to iso this morning on ArchBang forums. Currently ArchBang weighs in around ~571mb, imagine my shock at seeing a similar desktop at 78mb.

Are there any guides, link or tutorials to see how Archpup is created?

Am assuming you are running a custom kernel/udev and not running systemd
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2096
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Thu 13 Dec 2012, 16:02    Post subject: Re: ArchPup  

Hi mrgreen

mrgreen wrote:
Very interested to know how to get involved. Got linked to iso this morning on ArchBang forums. Currently ArchBang weighs in around ~571mb, imagine my shock at seeing a similar desktop at 78mb.

Are there any guides, link or tutorials to see how Archpup is created?

Am assuming you are running a custom kernel/udev and not running systemd


pls erase the content of one of both messages (you can!)

your question:

simargl wrote:
Hi, it's not made with woolf2 but use settings from rootfs-skeleton
inside woof.
To make it I used 3 scripts:
- spkg package manager which uses def-scripts to create packages
similiar to arch PKGBUILD or slitaz receipt
-paka is script to convert arch linux packages into spkg.
For all compiled or converted packages this creates folder inside
/var/lib/pacman/local in format $NAME-$VERSION-$REVISION,
so pacman will recognize them as installed.
-finally script called arch is used to extract packages,
create needed busybox links, move some libriaries to /lib,
split development files and create arch-1204.sfs

https://bitbucket.org/simargl


see also the next message from simargl at page 2

and see more here: https://bitbucket.org/simargl/archpup

Kind regards
Back to top
View user's profile Send private message 
simargl
Guest


PostPosted: Thu 13 Dec 2012, 19:06    Post subject:  

Just some quick notes to make thing clearer.
Arch Linux is rolling release, but ArchPup is not, it uses packages from rollback machine and
fixed date 2012/04/30. You could make it rolling release by changing /etc/pacman.d/mirrorlist,
but I would not suggest that, it could break your system, ask you to download 500MB of
packages etc.
New version will be 12.12, it's finished, but has some problems with udev (surprise Rolling Eyes )
not loading modules, that needs some investigating. For this release I had to recompile pango
and downgrade it to 1.30.1, to eliminate dependency on harfbuzz and icu or else it would add
7MB to iso. New openbox-menu package don't have option to hide menu icons, and sometimes
it just freeze openbox, mouse is not functional and only option is to change to tty2 and reboot.
For problems with save file on USB, I will need some help from experienced users, simply
because I can't fix it myself. You see that rc.shutdown in ArchPup is very different than in other
Puppy, my idea is to, from that file with if statement (PUPMODE=13) call other script and
make savefile (add data to it) only on reboot/shutdown, if someone needs to save on USB .
New version 12.12-alpha will be released when this is fixed, or maybe it will be 13.01, I'm not sure.
ArchPup 12.12 screenshot below. Smile
archpup-12.12.png
Description 
png

 Download 
Filename  archpup-12.12.png 
Filesize  843.84 KB 
Downloaded  429 Time(s) 
Back to top
bark_bark_bark

Joined: 05 Jun 2012
Posts: 837
Location: USA

PostPosted: Thu 13 Dec 2012, 21:02    Post subject:  

can you add an installer atleast?
_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
(Slacko) Puppy Arcade 11 on USB Stick
Back to top
View user's profile Send private message 
mrgreen

Joined: 28 May 2012
Posts: 7

PostPosted: Fri 14 Dec 2012, 03:34    Post subject:  

As Arch uses systemd by default now updating is going to break it. Still think its amazing just for its sheer small size Smile.

Going to sift through your git see if I can help.

Openbox-menu removed the option to turn off icons quite a while ago, I know the developer said it could be built with the option [not tried it!] Currently I use it as a daemon from autostart [due to recent menu-cache update]
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1694

PostPosted: Fri 14 Dec 2012, 04:37    Post subject:  

simargl wrote:

New version will be 12.12, it's finished, but has some problems with udev (surprise Rolling Eyes )

Couldn't see any kernel related info/changes in bitbucket.
Are you using the previous one?

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
simargl
Guest


PostPosted: Fri 14 Dec 2012, 09:06    Post subject:  

Problem with loading modules is that modprobe somehow don't find libkmod.so.2 which
is inside /lib as symlink to libkmod.so.2.2.1. If I add ldconfig in rc.sysinit, then it works, but that
command should be run only once (not on every boot like now) if you boot with save file, but
always if not using savefile. Also I added grub4dosconfig so installation to hard disk or usb (it supports usb also) will
now be possible, and moved squash-tools from arch-dev to arch-base to make it possible to remaster without dev sfs or using pacman..

edit: If someone is having problems with pwireless2, is there alternative program you can
suggest. I don't need just its name, but also you to test that program, and if you think that
it is better, I will add it, instead of pwireless2.
Back to top
T_Hobbit


Joined: 27 May 2006
Posts: 400
Location: Portugal - Lisbon

PostPosted: Fri 14 Dec 2012, 15:20    Post subject:  

simargl wrote:

edit: If someone is having problems with pwireless2, is there alternative program you can
suggest. I don't need just its name, but also you to test that program, and if you think that
it is better, I will add it, instead of pwireless2.

Why not use the original SNS from Puppy?

_________________
T_Hobbit
Idea Rebuilding old DOS Machine for Wing Commander Privateer and Puppy Exclamation Old spare parts to give away - anyone interested Question
Back to top
View user's profile Send private message 
stifiling

Joined: 29 Dec 2007
Posts: 388

PostPosted: Fri 14 Dec 2012, 16:54    Post subject:  

simargl wrote:
edit: If someone is having problems with pwireless2, is there alternative program you can
suggest. I don't need just its name, but also you to test that program, and if you think that
it is better, I will add it, instead of pwireless2.


my vote is for Frisbee...but i had problems getting it working. i had it working mostly though, kinda gave up too soon and installed wicd.
Back to top
View user's profile Send private message 
phil66


Joined: 25 Dec 2007
Posts: 42
Location: Texas

PostPosted: Fri 14 Dec 2012, 18:13    Post subject: Startup of archpup-1204-2 from cd  

Downloaded archpup-1204-2.iso
Checked md5sum matched
burn't to cd/rw

Starts to boot then I get the error

"arch-1204.sfs not found
dropping out to initial-ramdisk console
Then I get a prompt

Where did I go wrong on this download ???
Back to top
View user's profile Send private message 
simargl
Guest


PostPosted: Fri 14 Dec 2012, 18:38    Post subject:  

Hi phil,
I think it's probably disc-burning error, if you have windows os try to use unetbootin and
make bootable usb (that worked for me), or you can test iso in virtualbox.

@stifiling can you please do some more tests with Frisbee if you have time. I'm thinking to
add that instead of pwireless, because Frisbee is newer and it shows eth0 info correctly,
thats all I can test.
Back to top
anikin

Joined: 10 May 2012
Posts: 508

PostPosted: Fri 14 Dec 2012, 19:13    Post subject: frisbee  

Hi simargl,

regarding frisbee, let me quote pemasu's introduction to his newly released Upup Precise 5.4.X.5:

Quote:
Last but not the least is the new Frisbee - dhcpcd - sns integrated network manager-connectivity framework, created by rerwin, using Jemimah`s work, existing puppy scripts with modifications.


Please, read more here:http://murga-linux.com/puppy/viewtopic.php?p=671061#671061
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 12 of 14 [207 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1084s ][ Queries: 13 (0.0203s) ][ GZIP on ]