ArchPup 12.12.2

For talk and support relating specifically to Puppy derivatives
Message
Author
rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#46 Post by rcrd »

Hi,

Thank you very much sigmargl!

This is my very first post. I've using puppy as my main OS for years now, but only Archpup has made come out of the shell and join the forum. Puppy and Arch... unbelieveable!! I'm really enjoying it. Thanks a lot for the excellent work.

One thing, urxvt didn't display or accepted special characters (accented characters (geany did), I wanted to write in Spanish in vim), so I had to generate new locale and add it to etc/profile. I don't know if that was the right thing to do, but it is working fine now.

I haven't manage to get the savefile working, but I'm enjoying myself remastering.

Thanks for the excellent work

simargl

#47 Post by simargl »

Hi rcrd,
Thanks for the comment, I'm glad you like ArchPup :D. For problem with save file please I will
need some more information, is it on hard disk or usb and during boot process do you
see message like loading personal save file. If not try to select root of your partition when
making savefile, it will be created in folder archpup.

rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#48 Post by rcrd »

Thanks for your help simargl

At the moment I have a frugal install of Archpup on HDD, Now, I have just created a savefile in root. I checked that the filesave was created, and it was, but when I rebooted, the boot process didn't find it, and then I checked but the directory Archpup and the savefile weren't there anymore.

In version 1204 I got kernel panic when creating a savefile in USB and HDD.

Thanks

rameshiyer

Arch Pup

#49 Post by rameshiyer »

I also have same problem. No save file after rebooting in frugal install. Another thing, my USB drive was also not detected.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#50 Post by mavrothal »

rameshiyer, rcrd, aand other with savefile problems try this:
On your first boot make your savefile either from the menu or typing "makepfile.sh" in the terminal.
Make sure you make the savefile it in a physical device partition and not in /root

Verify that your savefile is where it suppose to be. ie open Thunar and navigate to the mewly created savefile.
If not there, run again, preferably with the terminal command and look for errors.
If you can not make the savefile in a physical partition, look at the pup-volume-monitor, udev and kernel error logs for the root of the problem.

If the save file is OK, download archsnap.tar.gz
Open a terminal in the directory you downloaded archsnap.tar.gz and type

Code: Select all

tar xvzf archsnap.tar.gz
cp -aR archsnap/* /
When you finish your work, just shutdown. Your data should be saved.
Works in 1212 and I believe should work with 1204 too.

Notice that if you have problems making the save file, archsnap is not going to help.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#51 Post by simargl »

Can you, after creating save file, run this command

Code: Select all

blkid -o list
to see if your partitions are mounted. Script makepfile.sh should automatically
mount all of your partitions, /dev/sda1 on /mnt/sda1, /dev/sda2 on /mnt/sda2...,
so check in that location, in folder archpup will be craeated file archsave.2fs.
Last edited by simargl on Thu 20 Dec 2012, 18:25, edited 1 time in total.

rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#52 Post by rcrd »

mavrothal, thanks for your advice. I followed your instructions and created the file in sda3 partition, where my archpup-1212 resides, and the file exists. But when I reboot, it is not picked up.
The I saw simargl post (thanks for the tip) and after creating the savefile all my partitions get mounted, including sda3, where the filesave is. I rebooted and the savefile doesn't get picked up. I decide to run blkid -o list just after the reboot, before doing anything else and I see sda3 (where archpup-1212 and /archpup/savefile reside) is not mounted automatically. So I guess the file is not read because the partition is not mounted at boot time.
So, I decide to boot puppy 528, which also resides on sda3, and I see that puppy 528 mounts sda3 automatically.
Why is archpup not mounting sda3 at boot time? Do I need to include the mount code in .start?
Also, and this is most peculiar, after creating the savefile I decide to change the wallpaper, I go to /usr/share/backgrounds and select a different image I put there when I remastered the original archpup. The wallpaper doesn't change and the file disappear from /usr/share/backgrounds, I choose another image and the same thing happens, eventually all my image files disappear.
I am going to try with the original livecd just in case something went wrong when remastering.

Thanks a lot for your help

simargl

#53 Post by simargl »

rcrd wrote:I rebooted and the savefile doesn't get picked up. I decide to run blkid -o list just after the reboot, before doing anything else and I see sda3 (where archpup-1212 and /archpup/savefile reside) is not mounted automatically. So I guess the file is not read because the partition is not mounted at boot time.
So you have inside /mnt/sda3, folder archpup and inside that folder:
archpup-1212.sfs, vmlinuz, initrd.gz and archsave.2fs.
There's no reason to not work this way because I have exactly same
setup only in sda6. Perhaps you have pfix=ram in bootloader menu.lst

rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#54 Post by rcrd »

These are my lines in the menu.lst

Code: Select all

title Archpup 1212 frugal in sda3 dir archpup1212
rootnoverify (hd0,2)
kernel /archpup1212/vmlinuz psubdir=archpup1212
initrd /archpup1212/initrd.gz
I'll play around with the a non remastered iso, see what happens.

Thanks

oui

#55 Post by oui »

Hi

Try better don't to use some save file at all!

It is very easy to remaster your archpup-1212.sfs exact as you need to work or play as comfortable as possible! after that, you have an high performance system with great advantages!

the starting level of your system is always in /initrd/pup_ro2 ! This is the picture of the content of your actual archpup-1212.sfs.

open thunar and test in /root if you see the hidden files, then open with thunar you partition sda2. after that:

copy it on the hard disk easily in a new subdir /mnt/sda2/archpup1212/install

Code: Select all

cd /mnt/sda2/archpup
ls
mkdir install
cp -a /initrd/pup_ro2/* /mnt/sda2/archpup/install
and can add, erase or change all what you want to get this high performance system!

for example parts of hidden documents and subdirs found in your /root dir.

or links in /usr/bin or /usr/lib to bind external things (for ex. the most actual version of your lovely mozilla).

etc.

is that done, prepare the next level of your archpup-1212.sfs:

Code: Select all

mv /mnt/sda2/archpup/archpup-1212.sfs /mnt/sda2/archpup/archpup-1212.last1
ls
mksquashfs install archpup-1212.sfs -comp xz -b 524288 -Xbcj x86


learn to play with those matter! it is easy!

test to do that in a first time without any changes: only rebuild your archpup-1212.sfs without any changes to get experience. if you reduce the last line as follow
mksquashfs install archpup-1212.sfs
the time to compress your new file will be dramatic shorter (but the size of the file about 1/3 bigger! it also starts at this other size!)
see also http://murga-linux.com/puppy/viewtopic. ... 325#672325

rgds

oui

#56 Post by oui »

Hi simargl

Special thank for the superb application «scrot»! Do you know if it would be possible to shrink (all) pictures of a pictures directory instead to make screen shots?

rgds

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#57 Post by darkcity »

I'm liking Archpup's minimal approach and looking forward to trying pacman.

I've got stuck at the setting up wireless. I wonder if someone can point me in the right direction. I need to setup this up before I can connect to the net.

I've loaded the Frisbee sfs, but no wireless is detected, see pic.

I've tried modprobe b43 but no luck with Frisbee or Pwireless 2. I wonder if a later version of Frisbee is needed.

my card is pci broadcom BCM4318

here's some outputs-

Code: Select all

## Problems in Archpup
[root@archpup ~]#  lspci | grep -i net
04:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
04:03.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
[root@archpup ~]# 
[root@archpup ~]#  lsmod | grep -i b43
b43                   275782  0 
ssb                    35140  1 b43
mac80211              157757  1 b43
cfg80211              122652  2 b43,mac80211
mmc_core               57795  2 b43,ssb
[root@archpup ~]# 

## Working in Slacko 5.3.1
# lsmod | grep b43
b43                   132145  0 
mac80211              123470  1 b43
cfg80211               98953  2 b43,mac80211
ssb                    29319  2 b43,b44
Attachments
no wireless screeny.jpg
(39.07 KiB) Downloaded 1038 times

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#58 Post by stifiling »

@darkcity

I was never able to get frisbee working correctly. the included pwireless2 seems to work fine though...i myself though am using wicd on 1204.

but for that wireless issue u're having, i'm thinking u're missing the firmware. i resolved it by copying out of another current pup...like precise or saluki the folder /lib/firmware to /lib/firmware on archpup...after rebooting and 'modprobe b43' it's working for me.

Image

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#59 Post by mavrothal »

rcrd wrote:These are my lines in the menu.lst

Code: Select all

title Archpup 1212 frugal in sda3 dir archpup1212
rootnoverify (hd0,2)
kernel /archpup1212/vmlinuz psubdir=archpup1212
initrd /archpup1212/initrd.gz
So is your archsave.2fs in /archpup1212, in /archpup or in /archpup1212/archpup ?
The first (ie savefile and main sfs, vmlinuz and initrd in the same folder) works for me. The other 2, no.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

oui

#60 Post by oui »

hi darkcity

archpup is so much different as other Puplets as that, what we urgently need, would be a good Wiki page with all the hints from the 2 threads as far as always convenient for Archpup-12.12 :lol:
darkcity wrote:I'm liking Archpup's minimal approach and looking forward to trying pacman.

I've got stuck at the setting up wireless. I wonder if someone can point me in the right direction.
and of course the connecting to wired or wireless network and eventually adding of firmware is an important figure in such a wiki page (I am sorry, I would really well help but as my internet box is recognized by all linux and I use wired connecting, I have no experience... I goes immediately perfectly!)

kind rgds

rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#61 Post by rcrd »

Success!!

@mavrothal
Thanks for your advice. I had the savefile in /archpup so I moved it to /archpup1212 and it works!! Thanks a lot.

@oui
I had remastered archpup to suit my needs, ie Spanish kb layout, utf-8 for terminal, software installed via pacman, and I like ii... but it bugged me that the savefile was nott working. I think both options, remaster and savefile have a place and I will use them both as needed.

Thanks everybody for your help!

simargl

#62 Post by simargl »

For new release I plan to add help section in the menu. It will be under System --> How-to, and
for now has 3 items:
  • Install ArchPup to USB or HDD
    Manage packages with pacman
    Use ArchPup specific scripts
That will be simple txt files located in /usr/share/archpup/doc and opened with geany. If someone wants to help
and make guide for wireless connection or something else, just post on this forum and I will add them too.
Also there will be new script called arch2sfs, that will convert all Arch packages inside curent folder to SFS module.

oui

#63 Post by oui »

Hi
simargl wrote:For new release I plan to add help section in the menu. It will be under System --> How-to, and
for now has 3 items:
  • Install ArchPup to USB or HDD
    Manage packages with pacman
    Use ArchPup specific scripts
That will be simple txt files located in /usr/share/archpup/doc and opened with geany. If someone wants to help
and make guide for wireless connection or something else, just post on this forum and I will add them too.
Also there will be new script called arch2sfs, that will convert all Arch packages inside curent folder to SFS module.
really good. especially arch2sfs (as we already have pet2sfs!)!

perhaps an HOWTO install grub2 (simplified installation) and then start Archpup frugal with it?

menuentry "archpup (on /dev/sda5)" {
set root='(hd0,5)'
linux /archpup/vmlinuz pdev1=sda5 psubdir=archpup
initrd /archpup/initrd.gz
}

rgds

PS: you also can "feed" /root/.history with adequate commands and include an /root/archpuppy-links.html that the user can (or not) declare as his home page after that in his lovely browser after installation! a /mnt/home also would be useful (a lot more if it would be automatic recognized)!

rcrd
Posts: 6
Joined: Thu 20 Dec 2012, 14:11

#64 Post by rcrd »

Hi all,

I decided to try and use a tiling window manager in Archpup. I downloaded i3 with dmenu via pacman and installed it modified the xinitrc (comented out the openbox line and added an exec i3 command). It works absolutely fine apart from the fact that it didn't reboot or poweroff. I had a look at the wmreboot and wmpoweroff scripts and saw it gets the parameter from /etc/windowmanager, which after installing i3 still said "openbox". So I changed it to i3. It now reboots almost fine. When it reboots I get 3 small and very distorted pictures of what I recognized as the background, and after a couple of seconds it reboots. Would anybody know why I these three very distorted images? My other question is, is the content of etc/windowmanager static or does it get read from somewhere else?
Also, when I tell i3 to end the x session, it does ended it, but then restarts a new one straight away. Any idea where I should look in archpup to sort out this behaviour?

You can see a screenshot of i3 working in archpup here http://ge.tt/6g6pH3U/v/0

Thanks, and sorry if my question turn out to be dumb, I'm only trying to learn.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#65 Post by Keef »

rcrd

I get a similar effect even with Openbox - a distorted picture of what looks like the last desktop setup appears ( (or probably when the last snapmerge happened ), and then X restarts and it is back to normal. I've had this behaviour every time since making a savefile.

It does not seem possible to exit X easily - logout in Openbox restarts X, and Ctrl-Alt-Backspace doesn't work either, although this may have been disabled in the kernel according to the Arch wiki.

Post Reply