Hướng dẫn fix lỗi bị đen màn hình sau khi cài Ubuntu trên một số dòng máy

Xin chào các bạn !
Sau khi du hí một vòng trên Facebook, mình có thấy có một bài đăng về lỗi đen màn hình sau khi boot vào ubuntu, k thể chạy Live hay vào màn hình load để install được ! =,=
(Mình chưa gặp máy nào bị lỗi như trên nên khá quan tâm cách fix :v )
và có một bạn đã đưa ra cách xử lý sau !
Khá ổn nên mình sẽ viết lại cách này để sau này nếu bạn nào gặp lỗi tương tự có thể tìm thấy bài này qua gg !

Đầu tiên là lỗi sẽ như sau :

Và đây là cách xử lý !
Chúng ta cần boot vào Ubuntu với 2 flag tùy chọn là : nolapic và nomodeset như hình :

Cách làm như sau :
+ Bước 1 : ta boot bình thường vào bộ cài usb để hiện lên mình hình chọn live, install ...
+ Bước 2 : Tại màn hình trên, ta bấm phím "e" trên bàn phím để edit code boot của config ubuntu !
ta thu được dòng sau :


Lúc này các bạn chú ý đến vị trí tô màu đỏ, đưa con trỏ đến vị trí đó và điền thêm "nolapic nomodeset" kết quả sẽ như sau :



Sau khi sửa xong như trên ! Bấm F10 để bắt đầu boot !
Và ta đã boot được thành công :

Tuy nhiên !!!
Như vậy chưa phải đã xong ! sau khi sửa như vậy và cái đặt thành công Ubuntu, bạn cần xóa noalpic để máy chạy hết được số nhân CPU !
Đây là cách làm !

Bước 1: Đầu tiên bạn sẽ cài đặt Grub Customizer qua lệnh
  • sudo add-apt-repository ppa:danielrichter2007/grub-customizer
Nhập mật khẩu => enter

Tiếp theo :
  • sudo apt-get update
Sau đó ta chạy lệnh để cài đặt Grub Customize !

  • sudo apt-get install grub-customizer
Ta thu được màn hình sau, bấm y rồi enter để cài đặt !


Sau khi cài đặt hoàn tất ! Tìm và mở Grub Customizer tại lauchpad !!!
 Ta sẽ được màn hình sau !


Chuột phải vào menu Ubuntu chọn edit, ta thu được bảng sau :


Hãy chú ý đến chỗ tô màu đỏ, hãy xóa nolacpi nhé :)_
Bấm OK và Save lại ...
DONE !!!
Nguồn: 
Ảnh lỗi - bạn Phạm Đạt
Hướng dẫn sửa lỗi - bạn Trần Đức Anh
Viết bài : Qynklee
#LinuxTeamVN
***
Các bạn có thể tham khảo thêm cách tạo menu boot UEFI cho Linux và windows qua clover sau khi fix qua bài viết sau :
>>>>>>>>.<<<<<<<<

[Hướng dẫn] Sử dụng Clover để quản lý Multiboot Windows và Linux ở chế độ UEFI ( không có Hackintosh )

------------------------------------------------------------------------------------------------
Bổ đề :  Ý nghĩa nolacpi và nomodeset !!!
Giống như Unix, Lunix cũng có cơ chế quản lý năng lượng. (Nếu bạn nào qua hackintosh rồi sẽ hiểu ACPI ấy :v)
và đây :

nolapic

In general, such boot parameters are not needed unless there is a problem with your BIOS and how it handles these standards, or it just might be old enough where these standards were not fully implemented properly.
ACPI (Advanced Configuration and Power Interface) is a standard for handling power management. Older systems may not support ACPI full, so sometimes it helps to give the kernel a hint to not use it. "acpi=off"
APIC (Advanced Programmable Interrupt Controller) is a kind of feature found on newer systems. The "local" version is called "LAPIC". What this controller can do is be set up to generate and handle interrupts, a signal the hardware uses to pass messages. Again, some implementations of APIC can have problems on older system, and so it is useful to disable it. "noapic" and "nolapic".
Sometimes the APIC is working, but it slows things down by getting in the middle of messages being passed around. This can mess with audio and video processing, for example. Folks might disable it for that reason as well.


nomodeset

The newest kernels have moved the video mode setting into the kernel. So all the programming of the hardware specific clock rates and registers on the video card happen in the kernel rather than in the X driver when the X server starts.. This makes it possible to have high resolution nice looking splash (boot) screens and flicker free transitions from boot splash to login screen. Unfortunately, on some cards this doesn't work properly and you end up with a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.

OK ! Kết thúc :)

Nhận xét