The Debian-Stretch-Live Starter Kit

A home for all kinds of Puppy related projects
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#261 Post by rcrsn51 »

Removed.
Last edited by rcrsn51 on Fri 08 Feb 2019, 12:26, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#262 Post by rcrsn51 »

How to build a squashfs module for 32bit Wine

I don't know much about Wine, but this worked with some basic apps. Details from here. Build the module in a CleanMode environment so you get all the dependencies.

1a. Go to /etc/apt. Open the file sources.list.
1b. Add this line: deb https://dl.winehq.org/wine-builds/debian/ stretch main
1c. Run: apt-get update

2a. Run: wget --no-check-cert https://dl.winehq.org/wine-builds/winehq.key
2b. Run: apt-key add winehq.key

3. Run repo2sfs. Use the Package name: winehq-stable

4a. Load the Wine module.
4b. To start the Wine configuration, run: winecfg
4c. To start a Wine app, run: wine xxx.exe

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#263 Post by dancytron »

rcrsn51 wrote:How to build a squashfs module for 32bit Wine

I don't know much about Wine, but this worked with some basic apps. Details from here. Build the module in a CleanMode environment so you get all the dependencies.

1a. Go to /etc/apt. Open the file sources.list.
1b. Add this line: deb https://dl.winehq.org/wine-builds/debian/ stretch main
1c. Run: apt-get update

2a. Run: wget --no-check-cert https://dl.winehq.org/wine-builds/winehq.key
2b. Run: apt-key add winehq.key

3. Run repo2sfs. Use the Package name: winehq-stable

4a. Load the Wine module.
4b. To start the Wine configuration, run: winecfg
4c. To start a Wine app, run: wine xxx.exe
This might be of some interest. It shows how I (and RSH) put all the wine configuration files into the sfs file after winecfg runs.

http://www.murga-linux.com/puppy/viewtopic.php?t=84557

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#264 Post by rcrsn51 »

I expect that repo2sfs could do this.

At Pause B, go to /tmp/repo2sfs. Make a "root" folder. Drop the .wine folder into it.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#265 Post by rcrsn51 »

For those users who are switching their hard drives to GPT, I have updated the information here.

Be aware that the above does NOT apply to UEFI-based systems. But you can still multi-boot a UEFI machine using the same general principles.

Read here and here for examples.

----------------
Last edited by rcrsn51 on Thu 28 Feb 2019, 12:15, edited 2 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#266 Post by rcrsn51 »

How to install TeamViewer 15 for Linux

These steps will launch the TeamViewer GUI. I didn't actually attempt a remote connection.

1. You may want to create a special frugal install just for running TeamViewer.

2. In the Starter Kit, TeamViewer needs to run through systemd and a login manager.

a. Go here and read how to enable systemd in your GRUB menu (item #2).

b. Install the slim login manager. Run: apt install slim
The default slim setting (auto-login as root) appears to be OK. Otherwise, create a "guest" user for running TeamViewer.

3. Get a TeamViewer deb package and right-click install it.

4. Reboot.

5. Run TeamViewer from the Internet menu or from the command line with: teamviewer
Last edited by rcrsn51 on Sun 22 Mar 2020, 15:51, edited 2 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#267 Post by rcrsn51 »

Updates:

PeasyScale updated here.
PeasyPrint updated here.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#268 Post by rcrsn51 »

Here is the Dell 3020 desktop box again. This time it has a Broadcom PCIe WiFi adapter and an old nVidia PCIe graphics card with a DVI-VGA plug. The setup is easy:

1. Run: apt-get install linux-headers-$(uname -r)
2. Run: apt-get install nvidia-detect
3. Run: nvidia-detect
4. Run: apt-get install <the recommended nvidia driver>
5. Run: apt-get install broadcom-sta-dkms
6. Reboot.

All of the blacklisting is handled automatically. You need to run Sound-Card-Selector to set the internal audio as default over the nVidia audio on the card.

Prior to installing the nvidia driver, the nouveau modesetting driver was adequate. After loading mesa, it could run Google Earth fairly well.

As would be expected, the nvidia driver is much faster. It doesn't require mesa.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#269 Post by rcrsn51 »

This is an old Thinkpad X130e netbook. It has an AMD 1.3GHz CPU, 4GB RAM and Radeon graphics.

It was originally a Win7 machine, but the BIOS had been upgraded to UEFI. Initially, I reverted to Legacy Mode and booted off a Grub4Dos flash drive. But I could NOT get it to boot off a conventional hard drive setup.

So I switched back to UEFI and built the hard drive as GPT with a FAT32 EFI system partition and a GRUB2 menu. That worked. Now it multi-boots a collection of frugal installs and big-boy Linuxes.

The UEFI firmware has a quirk when you subsequently boot off a UEFI flash drive. It enumerates the hard drive first and uses its GRUB menu instead. So you need to run "Manually specify location of grub.cfg" and select the flash drive as "(hd1,1)/grub.cfg".

All the hardware works, including HDMI, Bluetooth and card slot, EXCEPT for the track pointer. On some Thinkpads, it behaves as a regular mouse. But on this model it appears to need a proprietary driver. The touchpad is functional, but small.

I installed a 64bit Starter Kit and tried to run Google Earth through the Chrome browser. But the machine doesn't have enough horse-power to start it. So I switched to the Pro desktop version (with mesa), which works.

As usual, be VERY careful when installing a big-boy Linux. Do NOT accidentally put its GRUB bootloader on sda! This hooks into UEFI and disables your own bootloader. It will take some surgery with the efibootmgr tool to fix it.
Attachments
snappie2.png
(121.9 KiB) Downloaded 621 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#270 Post by rcrsn51 »

This is the Gigabyte Brix from page 8, now with an SSD formatted as GPT/EFI. It has a collection of frugal installs and big-boy Linuxes.

The attached screenshot is Slacko 5.9.3 with a kernel upgrade to k4.1.11. It is using the savefile from an old Slacko 5.6 converted to a save folder.

The kernel upgrade was required to handle the newer hardware in the Brix.
Attachments
snappie2.png
(104.09 KiB) Downloaded 514 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#271 Post by rcrsn51 »

How to make a squashfs module of the Calibre ebook manager

1. Go to the Calibre website and download a .txz package. Look under "Manual binary install". These packages appear to be complete, with all the required dependencies.
2. Extract the package into a temporary folder named "Calibre".
3. Download and rename the attached deb package. It contains a .desktop file for Calibre.
4. Do a repo2sfs third-party build: repo2sfs calibre-desktop_1.0_all.deb
5. At Pause B, go to /tmp/repo2sfs/opt. Drop in the Calibre folder from Step 2.
6. Finish the build. Look for Calibre in the Accessories menu.
Attachments
calibre-desktop_1.0_all.deb.gz
Remove the fake .gz extension
(818 Bytes) Downloaded 215 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#272 Post by rcrsn51 »

This is the Lenovo single-core netbook from page 8, now with a GPT-formatted hard drive booted through Legacy GRUB. The browser is Palemoon-28 with the 20-intel.conf patch for old video.
Attachments
snappie2.png
(165.56 KiB) Downloaded 1131 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#273 Post by rcrsn51 »

BT4Stretch updated here.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#274 Post by backi »

Hi Everybody !
Bought me a new Machine .
A refurbished one ,second Hand from well reputed Shop here in Germany .
https://www.greenpanda.de/refurbished/d ... ok/?page=1

A Dell Prceision M6600 for 300 Bucks (Euro) ......dont know if this is a good Deal...but i am quite happy with it .......this Devil really rocks compared to my old Clunker a Toshiba L40 (....something).

So what`s up?
Can not startx .......somehow Desktop wont boot....
Message .....something like
-----discover..... bla...bla ...bla .....

and never stops

Can anybody help ?

Thanks in Advance !

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#275 Post by rcrsn51 »

backi wrote:Can not startx .......somehow Desktop wont boot....Message .....something like
-----discover..... bla...bla ...bla .....and never stops
It is trying to make an automatic network connection over Ethernet. Assuming that you are NOT connected by Ethernet, it will eventually stop.

It appears that this laptop has built-in nVidia graphics. The Starter Kit should load the nouveau modesetting driver, which usually works well.

But in your case, it does not. With version -71 of the Starter Kit, it should automatically fall back to vesa mode and boot to a desktop.

For older versions, read here.

I notice in your post about XenialDog that it successfully loaded the nouveau driver. [Edit] But it may also have automatically fallen back to VESA.
Last edited by rcrsn51 on Tue 19 Feb 2019, 15:58, edited 4 times in total.

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#276 Post by backi »

Hi ....me again !

Inserting xserver-xorg-video-vesa_1%3a2.3.4-1+b2_i386.squashfs into live Folder did help .
No need for adding nouveau.modeset=0. to the Kernel Line in menu.lst .

Adding firmware.squashfs Module also did help getting wireless Connection which could not be established before without .......
Success :lol: :lol:

Thanks a lot !

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#277 Post by rcrsn51 »

Excellent. But because you are using VESA, you won't get the maximum video performance.

Read here for how to install the "genuine" nvidia driver.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#278 Post by rcrsn51 »

PeasyScale updated here.

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

#279 Post by fredx181 »

rcrsn51 wrote:PeasyScale updated here.
Thanks, added to custom Stretch repo (and also your updated bt4stretch packages)

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#280 Post by rcrsn51 »

In the latest -71 version of the Starter Kit, there were updates to libcrypto and libssl that affect certain locally built packages. These include the SANE scanner driver in hplip-print-scan and the 64bit version of Evince PDF viewer. Here are some patches.

1. Download the required attachment and remove the fake .gz extension.
2. Open a terminal and run: sh libcrypto-71-xxbit-patch.sh

Important: The Buster Starter Kit uses a different version of these patches.
Attachments
libcrypto-71-32bit-patch.sh.gz
(122 Bytes) Downloaded 182 times
libcrypto-71-64bit-patch.sh.gz
(124 Bytes) Downloaded 203 times
Last edited by rcrsn51 on Thu 16 Jan 2020, 10:27, edited 2 times in total.

Post Reply