3 echo "----------------------------------------------------------------"
4 echo "Add nomodeset to your kernel line in /boot/grub/menu.lst , ie.:"
5 echo "kernel /boot/vmlinuz-linux root=/dev/sda1 ro nomodeset"
6 echo "-------------------------------------------- ^^^^^^^^^ ---------"
7 echo "If experiencing problems with building module or using more than"
8 echo "one kernel use catalyst_build_module command as root, more info:"
9 echo "# catalyst_build_module help"
10 echo "- ^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------"
11 echo "For more info and more troubleshooting visit:"
12 echo "http://wiki.archlinux.org/index.php/ATI_Catalyst"
13 echo "----------------------------------------------------------------"
15 echo "Now you MUST to run:"
16 echo "catalyst_build_module"
17 echo "Running this command as non-root is a better way"
32 rm -f var/log/catalyst-install.log
34 echo "----------------------------------------------------------------"
35 echo "Don't forget to remove fglrx from MODULES array of /etc/rc.conf"
36 echo "----------------------------------------------------------------"
38 echo "Manually remove (with pacman -R) those packages:"
39 for p in /lib/modules/*; do
40 if [[ ${p:13:3} != "ext" ]]; then
41 if [[ -e $p/video/fglrx.ko.gz ]]; then
42 echo "catalyst-${p##*lib/modules/}"
44 elif [[ ${p:13:3} = "ext" ]]; then
45 if [[ -e $p/fglrx.ko.gz ]]; then
46 echo "catalyst-${p##*/lib/modules/extramodules-}"