Kali 2.0にAMDドライバをインストールする

Kali 2.0にAMDドライバをインストールする

Kali 2.0にAMD Catalystをインストールしようとしています。いくつかの調査を行った結果、最も役に立ったと思ったのはこれフォーラムでここに投稿されました。 Kali 2.0 32ビットを使用しているにもかかわらず、次の手順を実行しました。ただし、インストールコマンドを実行すると

sh ati-installer.sh 15.20 --install

インストール中にエラーが発生します。これは fglrx-install.log です。

Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

lib/modules/4.6.0-kali1-686-pae/build/include/linux/version.hこのパスは私のシステムには存在しません。私はこれが次のパスを意味すると信じています/lib/modules/4.8.0-kali2-686-pae/build/include/linux/version.h

現在のバージョンをインポートするようにそのパスを変更するにはどうすればよいですか?

編集する:パスを作成し、その中にversion.hファイルを追加しました。これは新しいものですfglrx-install.log

Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Errors during DKMS module removal
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0

Creating symlink /var/lib/dkms/fglrx/15.20.1046/source ->
                 /usr/src/fglrx-15.20.1046

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
cd /var/lib/dkms/fglrx/15.20.1046/build; sh make.sh --nohints --uname_r=4.6.0-kali1-686-pae --norootcheck...(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-15.20.1046 with DKMS
[Error] Kernel Module : Removing fglrx-15.20.1046 from DKMS

------------------------------
Deleting module version: 15.20.1046
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs

ベストアンサー1

fglrx installation requires that the system have kernel headers.

まず、次の手順を実行してKaliをアップグレードします。

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

次に、システムを再起動して実行します。

sudo apt-get install linux-headers-$(uname -r)

今インストールしてみてください。頑張ってください。

おすすめ記事