You are not logged in.

#1 2014-03-27 21:16:27

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

[SOLVED] Grub freeze after Catalyst install

Hello guys,
I tried to switch from free to proprietary driver (Catalyst) but, despite I set the option nomodeset in the grub, the shell is frozen and I can't access anymore to my system.
How can I install again the free driver and be again operative?

Thanks.

Last edited by Astroarch (2014-03-28 17:20:34)

Offline

#2 2014-03-27 22:05:16

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED] Grub freeze after Catalyst install

Question: Did you run the following command as suggested by the Wiki to configure X to work after installing Catalyst?:

sudo aticonfig --initial

Question 2: Did you install the correct versions of X and Catalyst for your card?

Now for your issue: I would suggest booting with the kernel parameter

target=multi-user.target

Last edited by clfarron4 (2014-03-27 22:06:24)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-03-28 06:37:24

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Re: [SOLVED] Grub freeze after Catalyst install

Sorry If I answer now.
And yes, I run the command

sudo aticonfig --initial

and installed the correct version of Catalyst, not the legacy because I have an ATI Radeon 5650.
I chrooted, removed the Catalyst, installed again the open source driver but nothing, the process is blocked after some seconds I select the GRUB voice and starts to charge the modules.
How can I ripristine again the previous configuration?
I am lost now.

One thing more.
I noticed that, despite I removed Catalyst, when I run

atinconfig

still works, it is not saying that is not in the system anymore.
And this is strange.

Update:
as you requested, I try to explaine better what I exactly did.
I start from a system with the open source driver (xf86-video-ati). Yesterday I decided to switch to the proprietary for gaming reasons.
Then I followed the wiki:
I added the repository of Vi0l0, updated pacman and then:

sudo pacman -S catalyst-hook catalyst-utils catalyst-libgl opencl-catalyst lib32-catalyst-utils lib32-catalyst-libgl lib32-opencl-catalyst 

The installation seemed to go correctly but maybe an error could have come here, I am not sure.
The I run:

aticonfig --initial

blacklisted radeon editing the file

sudo nano /etc/modprobe.d/modprobe.conf

adding the line
blaclklist fglrx

and I checked into the directory /etc/modules-load.d/, there it was a file called aticonfig with a single line containing fglrx .
I rebooted my system, adding the option nomodeset in the linux line of my crug configuration and since then it froze.
The system starts to load but after few processes the cursors stops to blink and then it is blocked.
I remember that it happens after it is loading some video driver regarding screen backlight.
I also noticed that when I chroot and then start an X session, it is unable to start it, so there is an error in the video driver.
Now my target should be to ripristine the previous open driver.
Then I removed Catalyst but still aticonfig is working.
What shall I do?

PS.
Going back from work, later today, I will post my xorg.config file.

Last edited by Astroarch (2014-03-28 08:13:20)

Offline

#4 2014-03-28 16:40:58

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Re: [SOLVED] Grub freeze after Catalyst install

I think I've got the problem:
I looked at the Xorg.conf file and it is still populated by aticonfig.
Then I looked at the log and here it is.
Xorg log

So, how to generate a new correct Xorg.conf file?

Last edited by Astroarch (2014-03-28 17:21:19)

Offline

#5 2014-03-28 17:19:50

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Re: [SOLVED] Grub freeze after Catalyst install

I finally solved it, here I explain why, for those interested.
Firstly chroot from another distro, here I used the same live-cd of Archlinux.

lsblk /dev/sda 

to identify your linux and home partition

mkdir /mnt/arch
mkdir /mnt/home 

create your chrooting directory

mount /dev/sdaX /mnt/arch

with X the number of your linux partition

mount /dev/sdaY /mnt/home 

with Y the number of your home partition

cd /mnt/arch 
mount -t proc proc proc/
mount --rbind /sys sys/
mount --rbind /dev dev/
chroot /mnt/arch /bin/bash

and finally you chrooted.
Usually any network connection should work, if you set it previuosly.
Then I removed every trace of catalyst running

 pacman -Rdd...

and every package of catalyst like utils, hook, lib32 and so on.
Then generate a new xorg.conf file

X -configure 

It will create a file called xorg.conf.new in the root directory, check it.
Now reboot and chroot again and then install the xf86-video-ati drivers.
Run again

 X -configure

go to the root directory and copy this file to the proper directory

cp xorg.conf.new /etcX11/xorg.conf
cp xorg.conf.new /etc/X11/xorg.conf,d

Now reboot again and your system will start normally.

Offline

#6 2014-03-28 17:25:23

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Grub freeze after Catalyst install

Also, "Driver" was spelled wrong in that old config. Maybe that wasn't helping you either.


Matt

"It is very difficult to educate the educated."

Offline

#7 2014-03-28 17:34:26

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Re: [SOLVED] Grub freeze after Catalyst install

mrunion wrote:

Also, "Driver" was spelled wrong in that old config. Maybe that wasn't helping you either.

Yes, I did a lot of mistakes.
But, for the first time, I was able to solve a linux problem from myself, instead of reinstall again.

Offline

Board footer

Powered by FluxBB