Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Hi Bill,
I think you will run in trouble sooner or later the way you did, simple example: failed to install libc6-dev because of libc6 v 2.28-10 installed (see pic).
(I did immediately remove the beowulf lines and apt-get update)
Better use the stretch-backports repo instead.
Fred
I think you will run in trouble sooner or later the way you did, simple example: failed to install libc6-dev because of libc6 v 2.28-10 installed (see pic).
(I did immediately remove the beowulf lines and apt-get update)
Better use the stretch-backports repo instead.
Fred
- Attachments
-
- failed.png
- (93.71 KiB) Downloaded 677 times
Could you give me some instructions for using the backports kernel? I believe that I tried this once and failed.
Regarding DevuanDog: I still have problems on some bleeding-edge machines with video. Part way through the boot sequence, I get a black screen of death.
But using the 01-filesystem.squashfs from Stretch works. I suspect some little problem with the X in Devuan.
Bill
Regarding DevuanDog: I still have problems on some bleeding-edge machines with video. Part way through the boot sequence, I get a black screen of death.
But using the 01-filesystem.squashfs from Stretch works. I suspect some little problem with the X in Devuan.
Bill
This is not a big problem. I am interested in kernel upgrades because some of my machines have hardware (touchpads, wifi) that are not supported by the 4.9.x kernel.
In the past, I have found work-arounds by dropping in a Puppy kernel or hand-compiling drivers. But using a Debian 4.19.x kernel makes it far easier.
On my nvidia machines, nouveau+mesa is usually adequate, and those machines don't really need a kernel upgrade anyway. So people who want the nvidia Xorg driver can stick with k4.9.x or try my procedure above.
In the past, I have found work-arounds by dropping in a Puppy kernel or hand-compiling drivers. But using a Debian 4.19.x kernel makes it far easier.
On my nvidia machines, nouveau+mesa is usually adequate, and those machines don't really need a kernel upgrade anyway. So people who want the nvidia Xorg driver can stick with k4.9.x or try my procedure above.
Nvidia driver install didn't work by keeping the beowulf kernel and use backports linux-headers
Here's fixed upgrade-kernel-bpo:
https://fredx181.github.io/StretchDog/a ... .5_all.deb
I tested only by choosing the "unsigned" kernel. on 64 and 32 bit and works.
EDIT: e.g: linux-image-4.19.0-0.bpo.6-amd64-unsigned
For the rest I'm not sure if the backports repo has the nvidia driver you need.
Fred
Here's fixed upgrade-kernel-bpo:
https://fredx181.github.io/StretchDog/a ... .5_all.deb
I tested only by choosing the "unsigned" kernel. on 64 and 32 bit and works.
EDIT: e.g: linux-image-4.19.0-0.bpo.6-amd64-unsigned
For the rest I'm not sure if the backports repo has the nvidia driver you need.
Fred
I did the backports upgrade on my nvidia machine and it worked.
But I can't figure out what to put in the /etc/apt/sources.list that will find the backports kernel when I run
Update with the correct procedure: I used
and
This installed nvidia correctly.
But I can't figure out what to put in the /etc/apt/sources.list that will find the backports kernel when I run
Code: Select all
apt-get install linux-headers-$(uname -r)
Code: Select all
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
Code: Select all
apt-get update
apt-get install linux-headers-$(uname -r) -t stretch-backports
apt-get install nvidia-detect
nvidia-detect
apt-get install nvidia-xxx -t stretch-backports
Last edited by rcrsn51 on Tue 01 Oct 2019, 13:34, edited 3 times in total.
Yes, for me also, message about linux-compiler-gcc-6-x86 not installable
Took me a while to figure out how, added this to sources.list:
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
And point it explicitly to stretch-backports (don't know why that's needed):
Probably for the nvidia driver install you need to do that too (-t stretch-backports)
EDIT: just see your update,black screen strange...
The nvidia install went for the backports kernel ? And did you use -t stretch-backports?
Fred
Took me a while to figure out how, added this to sources.list:
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
And point it explicitly to stretch-backports (don't know why that's needed):
Code: Select all
apt-get install linux-headers-$(uname -r) -t stretch-backports
EDIT: just see your update,black screen strange...
The nvidia install went for the backports kernel ? And did you use -t stretch-backports?
Fred
That was it! I had to also use
Now it works.
This machine also has a Broadcom wifi card. So I ran
That worked too.
Code: Select all
apt-get install nvidia-xxx -t stretch-backports
This machine also has a Broadcom wifi card. So I ran
Code: Select all
apt-get install broadcom-sta-dkms -t stretch-backports
Ok! Better this way than a system containing beowulf binaries that is brokenrcrsn51 wrote:That was it! I had to also useNow it works.Code: Select all
apt-get install nvidia-xxx -t stretch-backports
Fred
I have posted here a .deb driver package for some nVidia video cards. It is intended for 64bit Stretch setups with the k4.19.0-6-amd64 upgrade. I built the package against a GeForce 310 card which uses nVidia's combo 340.107 driver. It also supports a variety of other cards. Provided that it matches your hardware, it is much easier to use than the "official" Debian install procedure.
As with all nVidia drivers, you should back up your changes folder before proceeding. If something goes wrong, you may not be able to restore the nouveau driver.
After installing, X may not immediately start and drops out to a prompt. Run "nvidia-xconfig" and "startx".
------------------------
As with all nVidia drivers, you should back up your changes folder before proceeding. If something goes wrong, you may not be able to restore the nouveau driver.
After installing, X may not immediately start and drops out to a prompt. Run "nvidia-xconfig" and "startx".
------------------------
Last edited by rcrsn51 on Fri 04 Oct 2019, 12:37, edited 3 times in total.
For people who are still having problems with Mozilla browsers and certain streaming content (like mp4/h.264), here is a solution.
a. Install the package libavcodec57 from the Debian repo.
b. Or convert it to a squashfs module and load it as needed.
a. Install the package libavcodec57 from the Debian repo.
b. Or convert it to a squashfs module and load it as needed.
Last edited by rcrsn51 on Thu 12 Dec 2019, 12:01, edited 2 times in total.
They might also try libavcodec-extra57.rcrsn51 wrote:For people who are still having problems with Mozilla browsers and certain YouTube content, here is a solution.
a. Install the package libavcodec57 from the Debian repo.
b. Or convert it to a squashfs module and load it as needed.
This package[libavcodec-extra57] replaces the libavcodec57 package and contains the following additional codecs:
* OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band (Encoder/Decoder)
* OpenCORE Adaptive Multi-Rate (AMR) Wide-Band (Decoder)
* Android VisualOn Adaptive Multi-Rate (AMR) Wide-Band (Encoder)
I have posted here a k4.19.0-6-amd64 driver for the Realtek rtl8821ce PCI WiFi card. This driver is not yet in the mainstream kernel.
NOTE: Although the drivers in the rtl-wifi series are intended for dual-antenna cards, some laptop vendors have cheaped-out and only provided one antenna. So if the driver on your system happens to pick the absent antenna, WiFi will fail.
1. Run the "lsmod" command to find the exact name of your driver.
2. Go to /etc/modprobe.d
3. Create a file like "rtl8723be.conf" that matches the driver name.
4. Insert the line "options rtl8723be ant_sel=1"
5. Do a COLD reboot.
If that doesn't help, try "ant_sel=2".
NOTE: Although the drivers in the rtl-wifi series are intended for dual-antenna cards, some laptop vendors have cheaped-out and only provided one antenna. So if the driver on your system happens to pick the absent antenna, WiFi will fail.
1. Run the "lsmod" command to find the exact name of your driver.
2. Go to /etc/modprobe.d
3. Create a file like "rtl8723be.conf" that matches the driver name.
4. Insert the line "options rtl8723be ant_sel=1"
5. Do a COLD reboot.
If that doesn't help, try "ant_sel=2".
*** Updated mklive-stretch ***
Download (and make executable) then run 'mklive-stretch' script , from terminal e.g,
From partition (Linux filesystem formatted, e.g. ext3 or ext4) with at least 3GB free space.
This script can be used best from a 'Dog' based OS, see below for running from a Puppy OS (appimages, dependencies are included).
Changes and fixes:
Fixed that the script ended with failure because kernel 4.9.0-9 not found (removed from Debian repo) Major change is that the kernel (at this time 4.9.0-11) is pre-built in the form of a .squashfs module, vmlinuz1, initrd.img and initrd1.xz.
These files are now downloaded by the script and added to the 'live' folder (instead of installing the kernel by apt-get in chroot)
Appimages. For use on most modern Puppies (dependencies included), make executable before running:
32-bit appimage: mklive-stretch32
64-bit appimage: mklive-stretch64
Run e.g.:
From partition (Linux filesystem formatted, e.g. ext3 or ext4) with at least 3GB free space.
Also updated: upgrade-kernel (v2.0.1) for to upgrade the kernel to v4.9.0-11, install with synaptic or from terminal using apt:
Another way to upgrade the kernel (to v4.9.0-11) is to download one of these archives and extract in the 'live' directory, replacing vmlinuz1, initrd.img and initrd1.xz
https://debiandog.github.io/MakeLive/ke ... pae.tar.gz
https://debiandog.github.io/MakeLive/ke ... d64.tar.gz
Or the kernel from stretch-backports (v4.19):
https://debiandog.github.io/MakeLive/ke ... pae.tar.gz
https://debiandog.github.io/MakeLive/ke ... d64.tar.gz
Fred
Download (and make executable) then run 'mklive-stretch' script , from terminal e.g,
Code: Select all
./mklive-stretch -gui
This script can be used best from a 'Dog' based OS, see below for running from a Puppy OS (appimages, dependencies are included).
Changes and fixes:
Fixed that the script ended with failure because kernel 4.9.0-9 not found (removed from Debian repo) Major change is that the kernel (at this time 4.9.0-11) is pre-built in the form of a .squashfs module, vmlinuz1, initrd.img and initrd1.xz.
These files are now downloaded by the script and added to the 'live' folder (instead of installing the kernel by apt-get in chroot)
Appimages. For use on most modern Puppies (dependencies included), make executable before running:
32-bit appimage: mklive-stretch32
64-bit appimage: mklive-stretch64
Run e.g.:
Code: Select all
./mklive-stretch32 -gui
Also updated: upgrade-kernel (v2.0.1) for to upgrade the kernel to v4.9.0-11, install with synaptic or from terminal using apt:
Code: Select all
apt update
apt install upgrade-kernel
https://debiandog.github.io/MakeLive/ke ... pae.tar.gz
https://debiandog.github.io/MakeLive/ke ... d64.tar.gz
Or the kernel from stretch-backports (v4.19):
https://debiandog.github.io/MakeLive/ke ... pae.tar.gz
https://debiandog.github.io/MakeLive/ke ... d64.tar.gz
Fred