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 Wed 15 Aug 2018, 23:08
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
A Debian-Stretch-Live Starter Kit
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 9 [121 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 3211
Location: holland

PostPosted: Sat 24 Feb 2018, 05:04    Post subject:  

rcrsn51 wrote:
Download Chrome:
Code:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Start in an empty folder holding the repo2sfs script and the .deb file. Because you are working with a 3rd-party Debian package, you will run repo2sfs a bit differently:


Hi Bill, in case you don't realize, the google-chrome repository is included in your build of DebLive_Stretch-amd64-52.iso (see /etc/apt/sources.list.d/google-chrome.list), so just apt-get will do:
Code:
apt-get update
apt-get install google-chrome-stable


Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3211
Location: holland

PostPosted: Sat 24 Feb 2018, 05:15    Post subject:  

Moat wrote:
I just built a working Stellarium .sfs with AptToSfs! Initially, by it's description I thought it was something a bit different (i.e. - building an .sfs from already installed packages) - but now see that it's functionally nearly the same as repo2sfs.


Yes, functionality is the same, but works in a different manner, apt2sfs installs the packages in chroot and repo2sfs just simply extracts the packages before making sfs.

BTW, I tried repo2sfs creating .squashfs for gimp, ffmpeg, bleachbit and all work fine.

@backi, you may want to try repo2sfs in Xenialdog, it could be that apt2sfs does too much "configuring", which may result in the problems you talked about earlier (just guessing, should be tested to be sure)

EDIT: To clarify more about apt2sfs and "configuring":
Most Debian packages have "pre" or "post" install scripts that are executed when installing/configuring).
Apt2sfs simulates normal install in a chroot (jail) environment (outside the running system).
Specially with packages that have systemd dependency, then sometimes unexpected things can happen, specially when unloading an SFS (on Xenialdog, which runs with systemd boot enabled).
(I must add that Debian-Stretch-Live Starter Kit runs by default WITHOUT systemd boot, so I expect no problems then with apt2sfs, unless you enable systemd-boot)

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1516
Location: GERMANY

PostPosted: Sat 24 Feb 2018, 08:36    Post subject:  

deleted
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Sat 24 Feb 2018, 08:47    Post subject:  

Thanks everyone.

I am certainly aware of apt2sfs - I use it myself.

But I wanted a tool with a little more control over the build process.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Sat 24 Feb 2018, 09:56    Post subject:  

How to install Master PDF Editor

Go here and get a 32bit or 64bit Debian package.

You have two choices:

1. Do a regular install with Right-click > Install Deb. However, there is a missing dependency.
Code:
apt-get update #if needed
apt-get install libsane


2. Build a squashfs module.

a. Get repo2sfs from page 1.
b. Read the Chrome instructions (page 2) for doing a third-party build. Ignore the non-root stuff.
c. Add "libsane" to the EXTRAS list.
d. Load the module and run it from the Office menu.

Hint: This is a QT app. If your base setup already has the QT libs, you may want to omit them from the squash module.
At the first pause, go into /var/cache/apt/archives and delete their .deb files.

Here is another example: Some apps want ghostscript. But if you already have ghostscript via CUPS, there is no need to include it in the module.

-------------------

Last edited by rcrsn51 on Wed 30 May 2018, 11:08; edited 4 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Sat 24 Feb 2018, 11:37    Post subject:  

WiFi Drivers

The Starter Kit contains the drivers and firmware for many WiFi devices, except for Intel internal PCI adapters. Run:
Code:
apt-get update #if needed
apt-get install firmware-iwlwifi #for newer models
apt-get install firmware-ipw2x00 #for older models

I have a package of various third-party Broadcom and Realtek WiFi drivers for the k4.9.0-6 kernel in 32 and 64bit versions.

If someone asks, I will upload it and post a link.

------------------

Last edited by rcrsn51 on Tue 29 May 2018, 06:18; edited 5 times in total
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 138
Location: TAS

PostPosted: Sun 25 Feb 2018, 06:38    Post subject:  

Hi,
I like the concept that allows for a system set up with few applications which just meet my quite basic needs.
So I have tried the Debian-Stretch-Live Starter Kit.
I am having mixed success on different computers with a frugal basic install on an ext2 USB with only the palemoon....squashfs in the ‘modules’ directory.
I rename or delete the ‘changes’ directory when switching computers [so that a new ‘changes’ directory gets created].

Computer 1
: Lap top HP Elitebook 8460p, Intel core i5
no problem booting,
peasywifi detecting and connecting to wlan0

Computer 2: Lap top HP Elitebook 6930p, Intel core2
no problem booting,
peasywifi indicates:
Interface wlan0 is NOT active
Kernel module : unknown
I know from running a different system, that the built-in wifi is an Intel Ultimate N WiFi Link 5300 (8086:4236), which uses the iwlwifi driver.

When I plug in a TP-Link wifi dongle [instead of trying to use the built-in wifi], then peasywifi detects it correctly,
kernel module rt73USB is used, and the connection is working.

Computer 3: Lap top HP nc8000, Pentium M, no built-in wifi
no problem booting when using forcepae
peasywifi detecting and connecting via the TP-Link dongle, no problem

Computer 4
: Desktop HP P4, 2GB RAM
appears to be booting up ok but at the end fails to connect to the Xserver and stops at the command prompt.

On the screen I see [remaining]:
Server terminated with error (1)
Closing log file
Sending discover .....
Sending discover .....
Sending select for 10.1.1.243
Lease of 10.1.1.243 obtained, lease time 86400
SIOCDELERT: No such process
xinit: giving up
xinit: unable to connect to Xserver: Connection refused
xinit: server error
root@live:~#

See also the attached log file

My questions:
Computer 2: How do I get the built-in wifi to work ?
Computer 4: Is a fix possible for the Xserver problem or do I have to accept that the P4 simply is too old for the task at hand ?

Thanks for any help,
regards
proebler
Xorg.0.log.gz
Description  Xorg.0.log from Computer 4 P4
gz

 Download 
Filename  Xorg.0.log.gz 
Filesize  5.67 KB 
Downloaded  106 Time(s) 
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Sun 25 Feb 2018, 08:21    Post subject:  

Thanks for testing.

Computer #2 is probably a firmware problem with the Intel WiFi. Run dmesg and check for errors. Using your USB adapter, run
Code:
apt-get update
apt-get install firmware-iwlwifi

Otherwise, download and install it manually from https://packages.debian.org/stretch/firmware-iwlwifi
The Starter Kit has some older Intel firmware. I was reluctant to include the whole package.

I don't know much about video, but computer #4 is probably a video driver problem. Your log has a reference to "mga" A google search of "debian stretch mga video" finds the package "xserver-xorg-video-mga"

So at the console prompt, try
Code:
apt-get update
apt-get install xserver-xorg-video-mga

Then try "startx" or reboot.

------------------
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 138
Location: TAS

PostPosted: Mon 26 Feb 2018, 08:03    Post subject:  

@rcrsn51
The suggestion has worked for computer 2.
peasywifi now uses wilwifi; auto connect also works when so set.

I applied what was suggested for computer 4.
Instead of ending up at the command prompt, I now get to a blank [black] screen, no prompt.
Not what is wanted, but I guess it is one step closer to a working screen.
Alt+Ctrl+Del does what it is supposed to do.

I attach the new Xorg.0.log file [Xorg.0.log_stretch-live.gz] together with the corresponding log file from booting radky's Dpup Stretch 7.5 CE (RC-2), which DOES boot to a working screen on computer 4.
Thanks for helping.
proebler
Xorg.0.log_Dpup-Stretch-7.5.gz
Description  successful boot
gz

 Download 
Filename  Xorg.0.log_Dpup-Stretch-7.5.gz 
Filesize  35.87 KB 
Downloaded  102 Time(s) 
Xorg.0.log_stretch-live.gz
Description  unsuccessful boot to black screen
gz

 Download 
Filename  Xorg.0.log_stretch-live.gz 
Filesize  39.73 KB 
Downloaded  99 Time(s) 
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Mon 26 Feb 2018, 08:50    Post subject:  

Line 471 of Dpup-Stretch loads swrast. The Starter Kit does not have it. So it may have something to do with accelerated video.

Code:
apt-get install libgl1-mesa-dri
startx


If that fails, run dmesg from the console. Maybe there are some hints.
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 138
Location: TAS

PostPosted: Mon 26 Feb 2018, 20:16    Post subject:  

Trying to apply the suggestion resulted in: Unable to locate package libgll-mesa-dri

I have however found a different solution.
Instead of installing xserver-xorg-video-mga, I have installed xserver-xorg-video-vesa.
That works.

I have now made a frugal install to the HDD of computer 4
It boots in approx. 35 sec from the moment Debian-Stretch-Live is selected on the Grub menu on this P4, not bad !

I note that the 'changes' directory size is 121MB after doing the apt-get update, apt-get install for vesa and setting some desktop preferences.
I assume that this is typical ?
I still only have Palemoon in the 'modules' directory, not using wifi.
Thanks again.
proebler
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Mon 26 Feb 2018, 20:30    Post subject:  

proebler wrote:
Trying to apply the suggestion resulted in: Unable to locate package libgll-mesa-dri

The correct spelling is libgl"ONE"-mesa-dri.

However, it's good to know that you can still install vesa as a fall-back driver.

Quote:
I note that the 'changes' directory size is 121MB after doing the apt-get update, apt-get install for vesa and setting some desktop preferences. I assume that this is typical ?

Debian tends to chew up a lot of space. That's why the Starter Kit only supports save folders.

Check out /var/cache/apt/archives. You can empty this with
Code:
apt-get clean


Thanks for testing.

[Edit] I looked at the Dpup Xorg again. I can't tell if it actually used the mga driver or if it also fell-back to vesa.

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


Joined: 11 Dec 2013
Posts: 3211
Location: holland

PostPosted: Tue 27 Feb 2018, 04:29    Post subject: 'changes' directory size is 121MB  

proebler wrote:
I note that the 'changes' directory size is 121MB after doing the apt-get update, apt-get install for vesa and setting some desktop preferences.
I assume that this is typical ?


The most part of that is from the files generated by apt-get update (cache and package lists, +/- 120MB).
That doesn't grow any further , see it just as "first time investment" in the save storage.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
proebler

Joined: 24 Jan 2012
Posts: 138
Location: TAS

PostPosted: Tue 27 Feb 2018, 07:56    Post subject:  

I tried once more libgl1-mesa-dri together with the mga video driver.
It is a no-go combination in my case.

Dpup uses the mga driver, it does not fall back to vesa.

Have installed and successfully used the Pet2Stretch tool to install Figaro's pw manager.

proebler
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12272
Location: Stratford, Ontario

PostPosted: Tue 27 Feb 2018, 08:32    Post subject:  

proebler wrote:
I tried once more libgl1-mesa-dri together with the mga video driver. It is a no-go combination in my case. Dpup uses the mga driver, it does not fall back to vesa.

I am now out of my depth on video issues. Maybe woof has some legacy version of the Xorg mga driver that still works?

Quote:
Have installed and successfully used the Pet2Stretch tool to install Figaro's pw manager.

All Pet2Stretch does is unpack the PET, copy its contents into the file system and run the pinstall script. Don't expect miracles from it. Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 9 [121 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0662s ][ Queries: 12 (0.0116s) ][ GZIP on ]