Linux mint 19.1 und nvidia Treiber

lspci -nnk sagt:
bernd@bernd-desktop:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec2] (rev 07)
Subsystem: ASRock Incorporation Device [1849:3ec2]
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller [8086:a2af]
Subsystem: ASRock Incorporation 200 Series PCH USB 3.0 xHCI Controller [1849:a2af]
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation 200 Series PCH Thermal Subsystem [8086:a2b1]
Subsystem: ASRock Incorporation 200 Series PCH Thermal Subsystem [1849:a2b1]
00:16.0 Communication controller [0780]: Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
Subsystem: ASRock Incorporation 200 Series PCH CSME HECI [1849:a2ba]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
Subsystem: ASRock Incorporation 200 Series PCH SATA controller [AHCI mode] [1849:a282]
Kernel driver in use: ahci
Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #17 [8086:a2e7] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #1 [8086:a290] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #2 [8086:a291] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #5 [8086:a294] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #9 [8086:a298] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c9]
Subsystem: ASRock Incorporation Device [1849:a2c9]
00:1f.2 Memory controller [0580]: Intel Corporation 200 Series PCH PMC [8086:a2a1]
Subsystem: ASRock Incorporation 200 Series PCH PMC [1849:a2a1]
00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
Subsystem: ASRock Incorporation 200 Series PCH HD Audio [1849:1220]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation 200 Series PCH SMBus Controller [8086:a2a3]
Subsystem: ASRock Incorporation 200 Series PCH SMBus Controller [1849:a2a3]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
Subsystem: ASRock Incorporation Ethernet Connection (2) I219-V [1849:15b8]
Kernel driver in use: e1000e
Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1e87] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f8] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.2 USB controller [0c03]: NVIDIA Corporation Device [10de:1ad8] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel driver in use: xhci_hcd
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device [10de:1ad9] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
Subsystem: ASRock Incorporation Motherboard [1849:0612]
Kernel driver in use: ahci
Kernel modules: ahci
05:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:2142]
Subsystem: ASRock Incorporation Device [1849:2142]
Kernel driver in use: xhci_hcd
bernd@bernd-desktop:~$

GPU Treiber sagt:
bernd@bernd-desktop:~$ sudo add-apt-repository ppa:graphics-drivers/ppa
[sudo] Passwort für bernd:
Sie sind dabei das folgende PPA hinzuzufügen:
Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

Current long-lived branch release: `nvidia-410` (410.66)
Dropped support for Fermi series (List of Fermi series GeForce GPUs | NVIDIA)

Old long-lived branch release: `nvidia-390` (390.87)

For GF1xx GPUs use `nvidia-390` (390.87)
For G8x, G9x and GT2xx GPUs use `nvidia-340` (340.107)
For NV4x and G7x GPUs use `nvidia-304` (304.137) End-Of-Life!

Support timeframes for Unix legacy GPU releases:
Support timeframes for Unix legacy GPU releases | NVIDIA

## What we're working on right now:

- Normal driver updates
- Help Wanted: Mesa Updates for Intel/AMD users, ping us if you want to help do this work, we're shorthanded.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging before you dive in here:

Volunteers welcome!

### How you can help:

## Install PTS and benchmark your gear:

sudo apt-get install phoronix-test-suite

Run the benchmark:

phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley

and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you're using it might preferable for you to grabs PTS from upstream directly: Phoronix Test Suite - Download

## Share your results with the community:

Post a link to your results (or any other feedback to): Testers of the graphics-driver PPA in Launchpad

Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.

If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.

If someone wants to go ahead and start prototyping on `software-properties-gtk` on what the GUI should look like, please start hacking!

## Help us Help You!

We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you're loving this PPA:

Thank you for your contribution | Ubuntu
Mehr Informationen: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Zum Fortfahren bitte Eingabetaste drücken oder Strg+C zum Abbrechen
 
lspci -nnk sagt:
bernd@bernd-desktop:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec2] (rev 07)
Subsystem: ASRock Incorporation Device [1849:3ec2]
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 USB controller [0c03]: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller [8086:a2af]
Subsystem: ASRock Incorporation 200 Series PCH USB 3.0 xHCI Controller [1849:a2af]
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation 200 Series PCH Thermal Subsystem [8086:a2b1]
Subsystem: ASRock Incorporation 200 Series PCH Thermal Subsystem [1849:a2b1]
00:16.0 Communication controller [0780]: Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
Subsystem: ASRock Incorporation 200 Series PCH CSME HECI [1849:a2ba]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
Subsystem: ASRock Incorporation 200 Series PCH SATA controller [AHCI mode] [1849:a282]
Kernel driver in use: ahci
Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #17 [8086:a2e7] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #1 [8086:a290] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #2 [8086:a291] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #5 [8086:a294] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #9 [8086:a298] (rev f0)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a2c9]
Subsystem: ASRock Incorporation Device [1849:a2c9]
00:1f.2 Memory controller [0580]: Intel Corporation 200 Series PCH PMC [8086:a2a1]
Subsystem: ASRock Incorporation 200 Series PCH PMC [1849:a2a1]
00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
Subsystem: ASRock Incorporation 200 Series PCH HD Audio [1849:1220]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation 200 Series PCH SMBus Controller [8086:a2a3]
Subsystem: ASRock Incorporation 200 Series PCH SMBus Controller [1849:a2a3]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
Subsystem: ASRock Incorporation Ethernet Connection (2) I219-V [1849:15b8]
Kernel driver in use: e1000e
Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1e87] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f8] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.2 USB controller [0c03]: NVIDIA Corporation Device [10de:1ad8] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel driver in use: xhci_hcd
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device [10de:1ad9] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
Subsystem: ASRock Incorporation Motherboard [1849:0612]
Kernel driver in use: ahci
Kernel modules: ahci
05:00.0 USB controller [0c03]: ASMedia Technology Inc. Device [1b21:2142]
Subsystem: ASRock Incorporation Device [1849:2142]
Kernel driver in use: xhci_hcd
bernd@bernd-desktop:~$
 
desktop:~$ dpkg -l |grep nvidia
ii nvidia-prime-applet 1.0.7 all An applet for NVIDIA Prime
bernd@bernd-desktop:~$

habe aber immer noch die Bildeinstellung für den Laptop, kann nichts ändern.


lspci sagt nach Neustart:
desktop:~$ lspci -nnk | grep -i "VGA\|'Kern'\|3D\|Display" -A2
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1e87] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:1e87]
Kernel modules: nvidiafb, nouveau


Treiberverwaltung sagt immernoch: keine proprietären Treiber .....


jetzt habe ich mal die iGPU dran und da kann ich alle Auflösungen aus wählen. ... und auch verändern.
 
Zuletzt bearbeitet:
Der Treiber ist noch nicht installiert.
Zeige
sudo add-apt-repository ppa:graphics-drivers/ppa
Drücke nach Aufforderung ENTER.
Dann
sudo apt update
Dann
sudo apt install nvidia-graphics-drivers-415
Bitte die Ausgaben des Terminals hier im Forum posten, damit wir sehen, was passiert.
 
sudo add:
bernd@bernd-desktop:~$ sudo add-apt-repository ppa:graphics-drivers/ppa
[sudo] Passwort für bernd:
Sie sind dabei das folgende PPA hinzuzufügen:
Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

Current long-lived branch release: `nvidia-410` (410.66)
Dropped support for Fermi series (List of Fermi series GeForce GPUs | NVIDIA)

Old long-lived branch release: `nvidia-390` (390.87)

For GF1xx GPUs use `nvidia-390` (390.87)
For G8x, G9x and GT2xx GPUs use `nvidia-340` (340.107)
For NV4x and G7x GPUs use `nvidia-304` (304.137) End-Of-Life!

Support timeframes for Unix legacy GPU releases:
Support timeframes for Unix legacy GPU releases | NVIDIA

## What we're working on right now:

- Normal driver updates
- Help Wanted: Mesa Updates for Intel/AMD users, ping us if you want to help do this work, we're shorthanded.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging before you dive in here:

Volunteers welcome!

### How you can help:

## Install PTS and benchmark your gear:

sudo apt-get install phoronix-test-suite

Run the benchmark:

phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley

and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you're using it might preferable for you to grabs PTS from upstream directly: Phoronix Test Suite - Download

## Share your results with the community:

Post a link to your results (or any other feedback to): Testers of the graphics-driver PPA in Launchpad

Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.

If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.

If someone wants to go ahead and start prototyping on `software-properties-gtk` on what the GUI should look like, please start hacking!

## Help us Help You!

We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you're loving this PPA:

Thank you for your contribution | Ubuntu
Mehr Informationen: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Zum Fortfahren bitte Eingabetaste drücken oder Strg+C zum Abbrechen

Executing: /tmp/apt-key-gpghome.xi49eNohZk/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 2388FF3BE10A76F638F80723FCAE110B1118213C
gpg: key FCAE110B1118213C: 12 Beglaubigungen wegen fehlender Schlüssel nicht geprüft
gpg: Schlüssel FCAE110B1118213C: "Launchpad PPA for Graphics Drivers Team" nicht geändert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg: unverändert: 1
 
sudo apt:
bernd@bernd-desktop:~$ sudo apt update
[sudo] Passwort für bernd:
OK:1 Index of /ubuntu bionic InRelease
Holen:2 Index of /graphics-drivers/ppa/ubuntu bionic InRelease [21,3 kB]
Holen:3 Index of /ubuntu bionic-security InRelease [83,2 kB]
OK:4 Index of /ubuntu bionic InRelease
Holen:5 Index of /ubuntu bionic-updates InRelease [88,7 kB]
Ign:6 http://packages.linuxmint.com tessa InRelease
Holen:7 Index of /graphics-drivers/ppa/ubuntu bionic/main Sources [6.464 B]
Holen:8 Index of /ubuntu bionic-backports InRelease [74,6 kB]
Holen:9 Index of /graphics-drivers/ppa/ubuntu bionic/main i386 Packages [15,7 kB]
OK:10 http://packages.linuxmint.com tessa Release
Holen:11 Index of /graphics-drivers/ppa/ubuntu bionic/main amd64 Packages [18,8 kB]
Holen:12 Index of /graphics-drivers/ppa/ubuntu bionic/main Translation-en [5.372 B]
Es wurden 314 kB in 1 s geholt (542 kB/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 179 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

nvidia driver:
aketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket nvidia-graphics-drivers-415 kann nicht gefunden werden.
bernd@bernd-desktop:~$
 
Ich danke für eure Geduld .... :schief:

.. ich glaube es ist geschafft, der 415 ist drauf und tut seinen Job ...:daumen:

... meine anderen Festplatten angeklemmt und die werden angezeigt und ich habe Zugriff.

Ich glaube ich kann jetzt mit dem Studium von Linux mint beginnen.

Wenn es zusagt und Spiele auch funktionieren, dann habe ich bestimmt wieder viele Fragen, wo ich Windows10 hinpacke, damit der Systemstart es
mir anzeigt und ich nicht mehr die Bootfolge im UEFI ändern muss.

Soll ich noch Listen posten?
 
Zuletzt bearbeitet:
Ich würde es in den GRUB integrieren. Dann wirst du beim Start gefragt, ob du Ubuntu oder Windows 10 starten willst.
Dazu machst du im Ubuntu ein
sudo update-grub
 
Vergiss grub2. Meine SSDs starten autark, weil die UEFI GPT eingerichtet sind. Mit F11 nach dem Anschalten kann ich wählen, welche autarke SSD startet.

Bootmanager wie Grub sind Kot in den Zeiten von UEFI. Bei MBR gings nicht anders. Kompletter Kot bei modernen Workstations, die Bootmanager.


Linux Mint 19.1 Cinnamon hat das auch endlich geblickt, die Windows SSD in Ruhe zu lassen. Vorher musste ich die immer abstöpseln vor einem Upgrade, weil sudo update-grub mir die Windows SSD gefickt hat.

Ich dann immer. grub2, wenn Du noch einziges mal meine Windows SSD fickst Du Sau, dann hol ich dich händisch.


Der Installer fragt auch, soll ich Windows platt machen ? Ganz schön frech son Installer. Ich so Mint, reichen Dir denn eine leere 256GB SSD Pro 850 nicht, willst Du wieder Windows ******. Du lässt Windows in Ruhe, habe ich als admin gerade befohlen :-)
 
Zuletzt bearbeitet:
Jo, würde dir auch empfehlen, zumindest den OS-Prober von Grub zu deaktivieren. Dann brauchst dir keine Sorgen bei einem Update machen, dass es Probleme mit der Windows Partition gibt, oder musst diese nicht vor jedem Update zur Sicherheit abhängen. Auswahl über EFI würde ich auch bevorzugen. Hatte da leider auch schon ein paar mal Ärger.

In die Datei /etc/default/grub das hinzufügen: GRUB_DISABLE_OS_PROBER=true
Und um sicher zu gehen kannst du auch noch sudo chmod a-x /etc/grub.d/30_os-prober im Terminal ausführen.

Ach ja, und Glückwunsch zum installierten Treiber. :daumen:
 
Zuletzt bearbeitet:
Jo, würde dir auch empfehlen, zumindest den OS-Prober von Grub zu deaktivieren. Dann brauchst dir keine Sorgen bei einem Update machen, dass es Probleme mit der Windows Partition gibt, oder musst diese nicht vor jedem Update zur Sicherheit abhängen. Auswahl über EFI würde ich auch bevorzugen. Hatte da leider auch schon ein paar mal Ärger.

In die Datei /etc/default/grub das hinzufügen: GRUB_DISABLE_OS_PROBER=true
Und um sicher zu gehen kannst du auch noch sudo chmod a-x /etc/grub.d/30_os-prober im Terminal ausführen.

Ach ja, und Glückwunsch zum installierten Treiber. :daumen:

Danke ....
...ich finde Grub bei mir nicht. (habe es gefunden) Habe das im Terminal eingegeben .... danach Enter .... Passwort ... Enter .... und es kam wieder die Standartzeile ... keine Reaktion.

/etc/ default/ steht nirgends was ....

Ich glaube das wäre zu gefährlich:
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment
. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

.... dann das:
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
 
Zuletzt bearbeitet:
Ja, daran solltest du dich gewöhnen. Linux geht mal davon aus, dass man weis, was man tut. Ergo, keine Nachfrage, keine Rückmeldung. Darauf sollte man auch besonders beim löschen acht geben. Da wird nicht nochmal gefragt "Willst du wirklich ALLES löschen oder war das ein Tippfehler?!" Beim Kopieren werden vorhandene gleichnamige Dateien auch gandenlos überschrieben, ohne Nachfrage, ohne Rückmeldung. :ugly:

Im Verzeichnis /etc/default sollte die Datei grub zu finden sein.
Code:
w00t@that ~ $ ls -al /etc/default/
insgesamt 40
drwxr-xr-x   2 root root  4096  9. Jan 12:54 .
drwxr-xr-x 117 root root 12288 18. Jan 22:56 ..
-rw-r--r--   1 root root  2532 13. Mai 2018  ._cfg0000_grub
-rw-r--r--   1 root root  2527 10. Jan 2018  grub
-rw-r--r--   1 root root    49 31. Dez 2017  sixad
-rw-r--r--   1 root root   190  8. Jan 06:11 syslog-ng@default
-rw-------   1 root root    96 13. Mai 2018  useradd
-rw-r--r--   1 root root   143  9. Jan 12:54 xpra

Falls nicht, spricht nichts dagegen sie zu erstellen, kann man zB mit sudo touch /etc/default/grub machen, und die Zeile dann einzufügen. Oder mit sudo echo "GRUB_DISABLE_OS_PROBER=true" >> /etc/default/grub in einem Schritt. Das echo gibt einfach einen String (in diesem fall das GRUB_DISABLE_OS_PROBER=true) aus, das >> leitet die Ausgabe in die Datei /etc/default/grub um. Einmal > bedeutet schreib das in die Datei, egal was vorher drin stand, >> bedeutet hängs bitte hinten an die Datei an.

Das sudo chmod a-x /etc/grub.d/30_os-prober entfernt nur das Executable Bit für das Script 30_os-prober, es kann also nicht mehr ausgeführt werden. Da gibts auch keine Rückmeldung. Wenn du jetzt allerdings ein ls -al /etc/grub.d/ ausführst, siehst du, dass bei 30_os-prober bei den Zugriffsrechten kein "x" mehr steht, die Datei also nicht mehr ausführbar ist.

Sollte so aussehen:

Code:
w00t@that ~ $ ls -al /etc/grub.d/
insgesamt 76
drwxr-xr-x   2 root root  4096 12. Jun 2018  .
drwxr-xr-x 117 root root 12288 18. Jan 22:56 ..
-rwxr-xr-x   1 root root  8684 12. Jun 2018  00_header
-rwxr-xr-x   1 root root 10007 12. Jun 2018  10_linux
-rwxr-xr-x   1 root root 10455 12. Jun 2018  20_linux_xen
-rw-r--r--   1 root root 11301 12. Jun 2018  30_os-prober
-rwxr-xr-x   1 root root   214 12. Jun 2018  40_custom
-rwxr-xr-x   1 root root   216 12. Jun 2018  41_custom
-rw-r--r--   1 root root   483 12. Jun 2018  README
w00t@that ~ $


Dazu würde ich dir das als Lektüre empfehlen Rechte › Wiki › ubuntuusers.de

Linux behandelt einige Dinge grundlegend anders als zB Windows. Alles, auch Systemschnittstellen sind "Dateien", und jede Datei, egal ob sie .com .exe .bin oder .bat heißt, ist grundsätzlich ausführbar, wenn man sie ausführbar macht. Dateiendungen sind auch nicht so gebräuchlich oder notwendig wie bei Microsoft. Klingt alles wahrscheinlich etwas komisch, is aber so. ;)

Hilfreich dabei, rauszufinden was genau jetzt eine Datei ist, ob binary, script, text oder was auch immer, ist der befehl file /pfad/zu/der/zu/indetifizierenden/datei.

Beispiel:
Code:
[I]
w00t@that ~ $ file /bin/bash
/bin/bash: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped
[/I]
 
Zuletzt bearbeitet:
... bei mir steht beim Ordner "Grub" schreibgeschützt.

... na da brauche ich wohl vorher ein "Wässerchen" ... ein wenig erinnert es mich an die Anfänge.
Da haben wir mit "Basic" und "Maschine" den PC programmiert. Ich glaube Mitte der 80er.
Anschließend haben wir das programmierte aufgerufen und konnten beim Linien ziehen zusehen, so schnell war das Gerät.:lol:

bernd@bernd-desktop:~$ sudo touch /etc/default/grub
[sudo] Passwort für bernd:
bernd@bernd-desktop:~$ file /pfad/zu/der/zu/indetifizierenden/datei
/pfad/zu/der/zu/indetifizierenden/datei: cannot open `/pfad/zu/der/zu/indetifizierenden/datei' (No such file or directory)
bernd@bernd-desktop:~$

... ich glaube ich hab es .... kein X

bernd@bernd-desktop:~$ sudo chmod a-x /etc/grub.d/30_os-prober
[sudo] Passwort für bernd:
bernd@bernd-desktop:~$ ls -al /etc/grub.d/
insgesamt 96
drwxr-xr-x 2 root root 4096 Dez 17 14:41 .
drwxr-xr-x 146 root root 12288 Jan 20 12:41 ..
-rwxr-xr-x 1 root root 9783 Nov 8 16:53 00_header
-rwxr-xr-x 1 root root 6258 Jul 13 2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 Nov 8 16:53 10_linux
-rwxr-xr-x 1 root root 11298 Nov 8 16:53 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rw-r--r-- 1 root root 12059 Nov 8 16:53 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 8 16:53 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 8 16:53 40_custom
-rwxr-xr-x 1 root root 216 Nov 8 16:53 41_custom
-rw-r--r-- 1 root root 483 Nov 8 16:53 README
bernd@bernd-desktop:~$
 
Zuletzt bearbeitet:
... bei mir steht beim Ordner "Grub" schreibgeschützt.

... na da brauche ich wohl vorher ein "Wässerchen" ... ein wenig erinnert es mich an die Anfänge.
Da haben wir mit "Basic" und "Maschine" den PC programmiert. Ich glaube Mitte der 80er.
Anschließend haben wir das programmierte aufgerufen und konnten beim Linien ziehen zusehen, so schnell war das Gerät.:lol:

Na denn Prost... war wohl ein bisschen viel Info auf einmal :D

bernd@bernd-desktop:~$ sudo touch /etc/default/grub
[sudo] Passwort für bernd:

Bevor man eine Datei verändern oder erstellen will, lieber erstmal gucken ob sie da ist. Siehe vorheriger Post ls -al /etc/default
Mit dem touch hast du sie jetzt auf jeden fall erstellt, wenn sie noch nicht da war.
Die gewünschte Zeile einfügen kannst du, wenn nicht vorhanden wird die Datei grub damit erstellt, aber haben wir ja schon, hiermit: sudo echo "GRUB_DISABLE_OS_PROBER=true" >> /etc/default/grub
Ob die gewünschte Zeile auch da ist wo sie hinsoll, kannst du mit cat /etc/default/grub prüfen.
bernd@bernd-desktop:~$ file /pfad/zu/der/zu/indetifizierenden/datei
/pfad/zu/der/zu/indetifizierenden/datei: cannot open `/pfad/zu/der/zu/indetifizierenden/datei' (No such file or directory)
bernd@bernd-desktop:~$

Versuchs mal mit file /du/musst/schon/angeben/was/er/für/dich/checken/soll/nicht/einfach/stur/kopieren ;)

... ich glaube ich hab es .... kein X

bernd@bernd-desktop:~$ sudo chmod a-x /etc/grub.d/30_os-prober
[sudo] Passwort für bernd:
bernd@bernd-desktop:~$ ls -al /etc/grub.d/
insgesamt 96
drwxr-xr-x 2 root root 4096 Dez 17 14:41 .
drwxr-xr-x 146 root root 12288 Jan 20 12:41 ..
-rwxr-xr-x 1 root root 9783 Nov 8 16:53 00_header
-rwxr-xr-x 1 root root 6258 Jul 13 2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 Nov 8 16:53 10_linux
-rwxr-xr-x 1 root root 11298 Nov 8 16:53 20_linux_xen
-rwxr-xr-x 1 root root 1992 Jan 28 2016 20_memtest86+
-rw-r--r-- 1 root root 12059 Nov 8 16:53 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 8 16:53 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 8 16:53 40_custom
-rwxr-xr-x 1 root root 216 Nov 8 16:53 41_custom
-rw-r--r-- 1 root root 483 Nov 8 16:53 README
bernd@bernd-desktop:~$

Ja, das hat schon mal geklappt. :daumen:

PS: Wenn dir Linux gefällt, und du tiefer ins System einsteigen und mit der Konsole fit werden willst, kleine Lesestoff Empfehlung: LPIC-1: Sicher zur erfolgreichen Linux-Zertifizierung. Aktuell zu den Pruefungszielen von 2018 Version 5 .: Amazon.de: Harald Maassen: Buecher

Ist, meiner Meinung nach, super geschrieben und erklärt, und deckt so ziemlich alles ab, was man so für den Hausgebrauch wissen sollte, und auch noch einiges mehr.
 
Zuletzt bearbeitet:
Zurück