Thứ Ba, tháng 4 10, 2007

Linux lại chạy

Hùm, tìm đủ mọi cách để chữa nhưng không được, đành cài lại, cũng là để thử cách cài từ đĩa cứng, đỡ phải ghi đĩa.
Công việc đầu tiên là backup thằng /etc. Sau đó bung mấy cái file iso ra đĩa, rồi chạy DOS, dùng loadlin để khởi động cài đặt bằng cái lệnh tương tự vầy:


loadlin D:\kernels\sata.i\bzImage initrd=D:\isolinux\initrd.img

Việc tiếp theo là cài.
Cài xong, cài luôn thằng 2.6.17.13 có trên đĩa 2 của Slackware. Cài xong startx không được, thử cài lại driver cho NVIDIA thì gặp lỗi:

ERROR: Unable to load the kernel module 'nvidia.o'. This happens most
168 frequently when this kernel module was built against the wrong or
169 improperly configured kernel sources, with a version of gcc that differs
170 from the one used to build the target kernel, or if a driver such as
171 rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
172 obtaining ownership of the NVIDIA graphics device(s).
173
174 Please see the log entries 'Kernel module load error' and 'Kernel
175 messages' at the end of the file '/var/log/nvidia-installer.log' for
176 more information.

Xài tạm lynx để vô net, tìm phát, may mà vớ được cái này, chạy phát thế này là cài ngon lành:

sh NVIDIA-blahblah -k $(uname -r)

Mọi cái đều đã chạy tốt, cái máy trở lại như cũ, có mỗi Gmail nitifer for Linux còn chưa chạy, lỗi:

Traceback (most recent call last):
File "/bin/notifier", line 6, in ?
import gtk
File "/usr/local/src/Development/pygtk-PACKAGE/layout/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ?
File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1, in ?
from _cairo import *
ImportError: /usr/lib/python2.4/site-packages/cairo/_cairo.so: undefined symbol: cairo_pdf_surface_set_dpi

0 bình loạn:

Đăng nhận xét | Feed



 
^

Powered by Bloggerblogger addicted por UsuárioCompulsivo
original Washed Denim por Darren Delaye
Creative Commons License