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 Fri 22 Aug 2014, 04:10
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 167 of 232 [3472 Posts]   Goto page: Previous 1, 2, 3, ..., 165, 166, 167, 168, 169, ..., 230, 231, 232 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Wed 30 Apr 2014, 09:11    Post subject:  

Hi, Ether.

Copy - paste: mark the text in Xterm and just press the scroll wheel mouse button to paste it where you need. And the opposite.
To select all or part of the content in Xterm mark small part and start scroll the mouse button. When you click right mouse button the text is selected to the point where the cursor is.
Press Ctrl and right mouse button and see what menu will appear.

Also you can install rxvt like in puppy or lxterminal.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Wed 30 Apr 2014, 09:21    Post subject:  

mcewanw wrote:
I thought I'd try playing with xorg.conf, but when I drop out of X and enter:

Code:
Xorg -configure


I'm getting error message:

Quote:
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modsetting.
Number of screens does not match the number of detected devices.
Configuration failed


It's just my Pentium M laptop and no extra monitor attached to it. I'm still trying to chase down my mplayer cpu load situation, which was why I was planning to experiment with xorg.conf

Hi, William.
It should be related with you graphic card model. Try to boot with nomodeset and see if this works.
Just few links from google with the same message:
http://crunchbang.org/forums/viewtopic.php?id=16403
http://ubuntuforums.org/showthread.php?t=1613132
http://www.linuxine.com/story/debian-live-cd-video-settings

Till you find the problem use only live-boot-2 or live-boot-3
nomodeset maybe will not work with porteus boot.
Fred wrote nonetworking for example does not work with DebianDog porteus-boot but it works with debian boot:
http://murga-linux.com/puppy/viewtopic.php?p=774472#774472

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Ether

Joined: 21 Aug 2013
Posts: 60

PostPosted: Wed 30 Apr 2014, 14:00    Post subject:  

saintless wrote:
Hi, Ether.

Copy - paste: mark the text in Xterm and just press the scroll wheel mouse button to paste it where you need. And the opposite.
To select all or part of the content in Xterm mark small part and start scroll the mouse button. When you click right mouse button the text is selected to the point where the cursor is.
Press Ctrl and right mouse button and see what menu will appear.


That worked, thank you.

Is there a FAQ or something where I could get this info for myself? I hate to take up bandwidth here asking such basic questions, but I don't know where else to get answers.

On a separate topic:

I'm trying to learn my way around Debian Dog. I have it frugal-installed in sda1 with GRUB4DOS on an old Dell Dimension E310 and it's working great so far.

I'm trying to config it so that I don't have to run apt-get update every time I power-up. Here's what I tried:

- boot v2 persistent
- apt-get update
- RemasterDog and save as 01-filesystem.squashfs in sda3 ext partition
- replace the existing 01-filesystem.squashfs in the /live folder with the new one
- re-boot

It didn't work (as evidenced by the fact that when I did apt-get update, it downloaded all the files again).

What am I doing wrong?
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Wed 30 Apr 2014, 14:40    Post subject:  

Hi, Ether.

Feel free to ask anything DebianDog related. The answers will be usefull for others reading this thread. Xterm howto:
https://wiki.archlinux.org/index.php/Xterm
Ether wrote:
- boot v2 persistent
- apt-get update
- RemasterDog and save as 01-filesystem.squashfs in sda3 ext partition
- replace the existing 01-filesystem.squashfs in the /live folder with the new one
- re-boot

It didn't work (as evidenced by the fact that when I did apt-get update, it downloaded all the files again).

What am I doing wrong?

Nothing wrong but if you try to save apt-get downloaded database and downloaded deb packages it will not happen this way.
Remasterdog (as also RemasterCow) make some extra cleaning in order to keep your system small as possible.
It will not save the files for apt-get update information in:
/var/cache/apt - 39Mb
/var/cache/apt/archives - all downloaded packages with apt-get (this folder easy can become 200-300 Mb and more. After installing the packages you do not need this deb packages anymore).
/var/lib/apt/lists - 48 mb.
All this files will be created again after running apt-get update.
If you like to keep them use live-rw save file. For example use this 1Gb for testing:
http://smokey01.com/saintless/1gb-example-save-file.zip
Extract it on top of any ext or vfat partition and use live-boot-2 persistent
The boot code should have persistent in kernel line and initrd line to use initrd1.img. Example for DebianDog frugal on sda1:
Code:
title DebianDog (sda1)
root=(hd0,0)
kernel /live/vmlinuz1 boot=live config persistent swapon quickreboot noprompt autologin
initrd /live/initrd1.img

Now all your changes will be saved inside the extracted live-rw save file without any extra cleaning.
If you prefer to edit /opt/bin/remsterdog script not to do apt-get information extra cleaning comment lines 80, 82, 84. But you will include inside the main module the size of the files I pointed above.

Toni
Back to top
View user's profile Send private message MSN Messenger 
Ether

Joined: 21 Aug 2013
Posts: 60

PostPosted: Wed 30 Apr 2014, 15:04    Post subject:  

saintless wrote:
Hi, Ether.

Feel free to ask anything DebianDog related. The answers will be usefull for others reading this thread.
I appreciate your patience and helpfulness.

saintless wrote:
Nothing wrong but if you try to save apt-get downloaded database and downloaded deb packages it will not happen this way.
Remasterdog (as also RemasterCow) make some extra cleaning in order to keep your system small as possible.
It will not save the files for apt-get update information in:
/var/cache/apt - 39Mb
/var/cache/apt/archives - all downloaded packages with apt-get (this folder easy can become 200-300 Mb and more. After installing the packages you do not need this deb packages anymore).
/var/lib/apt/lists - 48 mb.
All this files will be created again after running apt-get update.
If you like to keep them use live-rw save file. For example use this 1Gb for testing:
http://smokey01.com/saintless/1gb-example-save-file.zip
Extract it on top of any ext or vfat partition and use live-boot-2 persistent
The boot code should have persistent in kernel line and initrd line to use initrd1.img. Example for DebianDog frugal on sda1:
Code:
title DebianDog (sda1)
root=(hd0,0)
kernel /live/vmlinuz1 boot=live config persistent swapon quickreboot noprompt autologin
initrd /live/initrd1.img

Now all your changes will be saved inside the extracted live-rw save file without any extra cleaning.
If you prefer to edit /opt/bin/remsterdog script not to do apt-get information extra cleaning comment lines 80, 82, 84. But you will include inside the main module the size of the files I pointed above.

I am going to study the above very carefully and do some experimenting. I think part of the challenge facing me is that I don't yet have a framework of understanding about what the squashfs files do and how they are used. I'm just making guesses at this point based on hunches. Is there a beginner-level FAQ that you might recommend to get me started down the right path toward understanding? I have a feeling that once I get a foundation to build on the learning will happen a lot faster. I'll bet this is a hurdle that many new users stumble on and give up. I'm determined not to give up... I think the rewards will be worth the effort.

EDIT1: re-reading your post, I just realized something: "apt-get update" does not actually update the installed OS with patches and updates, right? It just downloads an updated copy of the repo database?


.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Wed 30 Apr 2014, 15:16    Post subject:  

Ether wrote:
...I don't yet have a framework of understanding about what the squashfs files do and how they are used. I'm just making guesses at this point based on hunches. Is there a beginner-level FAQ that you might recommend to get me started down the right path toward understanding?...

Hi, Ether.
Same with me at first. This is what happen when you use puppy linux only for too long Smile Squashfs is nothing else but SFS files you use with puppy. Just Barry named them different i guess. Some info links:
http://www.tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
http://squashfs.sourceforge.net/
http://www.tldp.org/HOWTO/html_single/SquashFS-HOWTO/
Keep on mind you are using Debian Live CD now and it is really very similar to Puppy but words like SFS and frugal install are not known in Debian. This why it seems strange at first.

Toni
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Wed 30 Apr 2014, 15:18    Post subject:  

Ether wrote:
EDIT1: re-reading your post, I just realized something: "apt-get update" does not actually update the installed OS with patches and updates, right? It just downloads an updated copy of the repo database?

Yes, this is correct.
Back to top
View user's profile Send private message MSN Messenger 
fredx181

Joined: 11 Dec 2013
Posts: 733
Location: holland

PostPosted: Wed 30 Apr 2014, 16:05    Post subject:  

Toni wrote:
Double work if we start with jessie now - we do not know when it will become stable. There are still bugs in already added packages from sid to jessie repositiry. We are not sure what kernel to use as default yet and few more upgrades will be needed at least till it gets stable version.
.......


Thanks for the info, I'm beginning to understand now. Shocked

Fred
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2297
Location: New Zealand

PostPosted: Wed 30 Apr 2014, 23:20    Post subject:  

Toni, Fred:

I'm still struggling away trying to get efficient mplayer performance on my old Pentium M laptop. Today I tried DpupWheezy to see what the result would be and to my surprise mplayer ran efficiently (three times less CPU than DebianDog on my system) - almost as good as GuyDog. And this apparently without mesa. So then I checked with lsmod what modules were being loaded, and lo and behold, like GuyDog, it had agpgart and intel_agp and intel_gtt all available as modules under /lib/modules/kernel/drivers/char/agp (I think that's where it was anyway - no longer running to check location). And all three of these were being auto-loaded on my machine at boot-time. On DebianDog, on the otherhand, there is no such directory of modulesm, instead they are listed as module.builtins for the kernel - that seems to be the key difference (and yes I do see agpgart when checking dmesg, but still mplayer runs rubbish on this machine unless they are loaded as modules, which I can't do with DebianDog).

Then, I backtracked, since I had a recollection the first Porteus-Wheezy, using Porteus kernel worked better on this machine. And sure enough, great mplayer performance on this machine again, and also agpgart.ko, intel_agp.ko and intel_gtt.ko all available and loaded automatically as modules. So that is what I need... But how do I get these modules for DebianDog or can I use that old Portues kernel/modules/firmware somehow on latest DebianDog - I think that would solve it for me?! :-) Might well also solve similar issue for anyone else with a problem when that /lib/modules/kernel/drivers/char/agp directory doesn't exist on their system but instead all built into the official Debian kernel.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Thu 01 May 2014, 01:54    Post subject:  

mcewanw wrote:
...But how do I get these modules for DebianDog or can I use that old Portues kernel/modules/firmware somehow on latest DebianDog - I think that would solve it for me?! Smile Might well also solve similar issue for anyone else with a problem when that /lib/modules/kernel/drivers/char/agp directory doesn't exist on their system but instead all built into the official Debian kernel.

Hi, William.
You can have this very easy:
Download 3.9.11 porteus archive and extract it inside /live
http://smokey01.com/saintless/DebianDog/System-modules/023-kernel-3.9.11-porteus.zip
If you like to have also the porteus firmware download this module and place it inside /live
http://smokey01.com/saintless/DebianDog/System-modules/031-firmware-porteus.squashfs
Change in your boot code initrd1.xz with initrd3.xz and vmlinuz1 with vmlinuz3 and reboot.
Now you are running DebianDog with porteus kernel:
Code:
root@debian:~# uname -r
3.9.11-porteus
root@debian:~# uname -a
Linux debian 3.9.11-porteus #1 SMP PREEMPT Mon Jul 22 23:09:06 UTC 2013 i686 GNU/Linux

Code:
root@debian:~# lsmod
Module                  Size  Used by
i915                  375014  0
video                   8730  1 i915
i2c_algo_bit            3426  1 i915
drm_kms_helper         25483  1 i915
drm                   153298  2 i915,drm_kms_helper
mperf                    727  0
speedstep_lib           2104  0
cpufreq_userspace       1108  0
cpufreq_stats           2248  0
cpufreq_powersave        492  0
cpufreq_conservative     2060  0
ipv6                  160644  20
snd_intel8x0           18536  1
snd_ac97_codec         68805  1 snd_intel8x0
snd_pcm                40415  2 snd_ac97_codec,snd_intel8x0
snd_page_alloc          4786  2 snd_intel8x0,snd_pcm
snd_seq                31616  0
snd_seq_device          3185  1 snd_seq
snd_timer              10826  2 snd_pcm,snd_seq
e100                   19420  0
snd                    28377  8 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_seq_device
8250                   17747  0
mii                     2704  1 e100
i2c_i801                6984  0
soundcore                520  1 snd
parport_pc             12161  0
processor              21719  0
i2c_core               11947  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
mousedev                6572  0
evdev                   5856  4
ac97_bus                 560  1 snd_ac97_codec
floppy                 39017  0
intel_agp               6564  1 i915
parport                12085  1 parport_pc
serial_core            12472  1 8250
shpchp                 17379  0
thermal_sys            10673  2 video,processor
intel_gtt               7529  3 i915,intel_agp
agpgart                17239  4 drm,intel_agp,intel_gtt
button                  3102  1 i915
hwmon                    866  1 thermal_sys
pci_hotplug            16054  1 shpchp
rng_core                2080  0
root@debian:~#


If you like to go further just remove the official debian kernel:
Code:
root@debian:~# apt-get purge linux-image-3.2.0-4-486
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-image-3.2.0-4-486*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 80.5 MB disk space will be freed.
Do you want to continue [Y/n]?

And use RemasterDog to remaster the system. The size will be at least 10Mb smaller because of the size of kernel 3.9.11 module.
You can reverse the official debian kernel very easy the same way by downloading this module:
http://smokey01.com/saintless/DebianDog/System-modules/021-kernel-486.zip

Toni
Back to top
View user's profile Send private message MSN Messenger 
mcewanw

Joined: 16 Aug 2007
Posts: 2297
Location: New Zealand

PostPosted: Thu 01 May 2014, 07:51    Post subject:  

saintless wrote:
mcewanw wrote:
...But how do I get these modules for DebianDog or can I use that old Portues kernel/modules/firmware somehow on latest DebianDog - I think that would solve it for me?! :-) Might well also solve similar issue for anyone else with a problem when that /lib/modules/kernel/drivers/char/agp directory doesn't exist on their system but instead all built into the official Debian kernel.

Hi, William.
You can have this very easy:
Download 3.9.11 porteus archive and extract it inside /live


Thanks Toni, I am currently using porteus kernel per your instructions. Very nice and easy to do. Unfortunately, it proves my theory wrong (hmmm, my theories are currently letting me down, one after the other! I was genuinely surprised on this occasion) - mplayer still consuming same amount of CPU... But now I'm confused because the old Porteus-Wheezy of Dec 2013 definitely resulted in mplayer using one third of that CPU on this machine. So why, I wonder is that not the case in DebianDog with the Porteus kernel (I assume it is the same kernel)? I'm running out of ideas. I presume Xorg is the same?

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Thu 01 May 2014, 08:07    Post subject:  

Hi, William.
The kernel is the same as the one from Porteus Wheezy on the site now. I don't know about xorg in first Porteus-Wheezy.. Only Fred can answer in details about this. It was replaced with new one here later:
http://smokey01.com/saintless/Porteus-Wheezy/

Ally is collecting all versions. You can check out here for older version:
https://ia801005.us.archive.org/27/items/Puppy_Linux_Light-Debian-Core-Live-CD/

Edit: If you like to confirm if the kernel is the real problem or not you can make easy test like this one:
http://murga-linux.com/puppy/viewtopic.php?p=764921&sid=a1cec17d7ecdfc4c032cc3d49c25d138#764921
Download this default DebianDog kernel separate archive and extract it in /live.
http://smokey01.com/saintless/DebianDog/System-modules/021-kernel-486.zip
Then rename GuyDog main module to 01-filesystem.squashfs and replace the original one. Use live-boot-2. I haven't test porteus-boot this way yet.

Toni
Back to top
View user's profile Send private message MSN Messenger 
fredx181

Joined: 11 Dec 2013
Posts: 733
Location: holland

PostPosted: Thu 01 May 2014, 10:53    Post subject:  

Hi William,
I had a look at the initrd3.xz and noticed there's unneeded module loading in the linuxrc script (it's only needed for use with the debian stable kernel)
I took it out, so here's different initrd3.xz, maybe it helps.

EDIT: Link removed.

It should be the same now as the initrd from first porteus-wheezy apart from the changes that are made to use .squashfs instead of .xzm.
Btw, adding a module at boot always gives more pressure on the system, so that could also be the reason for more cpu usage.
To really compare better: do a remaster to use only one squashfs.

EDIT: Stupid me, just looked at it better: there are no kernel modules inside initrd3.xz, so nothing to load. Removed the link because it's useless.

Fred
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 733
Location: holland

PostPosted: Thu 01 May 2014, 15:30    Post subject:  

Hi Toni, All,
For testing a new debdog-install:
- added syslinux and extlinux as options for choosing bootloader.
- fixed showing (sometimes) wrong label (showing from previous plugged in usb drive).

It will check filesystem type and then give the possible options to choose from a bootloader.
Included is: 'opt/apps/syslinux' folder which has the needed binaries and portable scripts 'syslinuxinst' and 'extlinuxinst' which are executed when the user choose extlinux or syslinux as bootloader.

The folder 'syslinux' will be copied to the install partition.
The scripts inside can also be used for manually install (execute from inside folder 'syslinux' on your flash drive}

As always, I'm open for any suggestions and wishes.
Just a little to large to attach here so here's link to gdrive:
https://drive.google.com/file/d/0ByBgCDlZZ8K5UUZMOUI5MG1mN3M/edit?usp=sharing

Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2354
Location: Bulgaria

PostPosted: Thu 01 May 2014, 16:05    Post subject:  

fredx181 wrote:
For testing a new debdog-install:

Thank you, Fred!
I will test it proper tomorrow morning and write back.

William,
Just tested Dpup-Wheezy and it uses different gnome-mplayer 1.0.7 and it needs different dependencies than the one we use. To work on DebianDog gsettings-desktop-schemas package is needed for example and also few libs missing. I don't know if this affects the result.
BTW tested Dpup-Wheezy with 486 kernel module and live-boot-v2 and boots fine.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 167 of 232 [3472 Posts]   Goto page: Previous 1, 2, 3, ..., 165, 166, 167, 168, 169, ..., 230, 231, 232 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.1664s ][ Queries: 12 (0.0402s) ][ GZIP on ]