Search This Blog

2015/11/08

Installation of Debian 8 (jessie) on HCL Leaptop



Installation of Debian 8 Gnome on HCL leaptop succeds but GUI doesn't load due to lack of drivers for

Ralink Wireless Network Adapter & Lack of Nvidia Drivers.Boot into recovery mode then go to terminal as root.

Error due to missing Ralink Driver that I got
firmware: failed to load rt73.bin (-2)

Check Display Manager
cat /etc/X11/default-display-manager
Output
/usr/sbin/gdm3

Here gnome display manager is current manager

Check Recent error during boot

tail Xorg.0.log -n 100
tail syslog -n 100

Restart Network
/etc/init.d/networking restart
/etc/init.d/networking start
/etc/init.d/networking stop

Check Connectivity

cat /etc/X11/default-display-manager

List of available interfaces to connect to internet
ifconfig -a

Output

eth0 Link encap:Ethernet HWaddr 00:22:20:03:f4:69
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::222:20ff:fe03:f469/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:674 errors:0 dropped:0 overruns:0 frame:0
TX packets:691 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:432835 (422.6 KiB) TX bytes:85747 (83.7 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:123 errors:0 dropped:0 overruns:0 frame:0
TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12109 (11.8 KiB) TX bytes:12109 (11.8 KiB)

wlan0 Link encap:Ethernet HWaddr 00:10:60:34:aa:42
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:428 errors:0 dropped:0 overruns:0 frame:0
TX packets:119 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:108130 (105.5 KiB) TX bytes:20333 (19.8 KiB)

Check which interafce is currently in Use
cat /etc/network/interfaces

Output
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto eth0
iface eth0 inet dhcp

here ethernate card is in use i.e. connectivity through lan cable

Add Non Free Repository

su nano /etc/apt/sources.list

now add if not already exist below repository

#nonfree software
deb http://http.us.debian.org/debian jessie main contrib non-free

save and perform

apt-get update


Installing Ralink Firmware(Wifi)
apt-get install firmware-ralink

Check Nvidia Video Card exist or not

lspci -nn | grep VGA
Output
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation MCP79 [GeForce 8200M G] [10de:086f] (rev b1)

install nvidia-detect using apt-get

detect Nvidia GPU
apt-get install nvidia-detect

Output
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation MCP79 [GeForce 8200M G] [10de:086f] (rev b1)
Your card is supported by the default drivers and legacy driver series 304.
It is recommended to install the
nvidia-driver
package.

Install the appropriate linux-headers and kernel module packages required for Nvidia & X

aptitude update
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
Install nvidia-xconfig that needed to create Xorg configuration file at /etc/X11/xorg.conf. 
Run  nvidia-xconfig as su
su apt-get install  nvidia-xconfig
Try to restart normally and check if GUI comes or not.

No comments:

Post a Comment