Difference between revisions of "Kernel Fails to Load (pata acpi error)"

Marked this version for translation
(added languages and translate tags)
(Marked this version for translation)
Line 2: Line 2:
__TOC__
__TOC__
<translate>
<translate>
= Overview =
= Overview = <!--T:1-->


<!--T:2-->
{{tip|'''Parallel ATA''' ('''[http://en.wikipedia.org/wiki/Parallel_ATA PATA]''') is an interface standard to connect storage devices, and the '''Advanced Configuration and Power Interface''' ('''[http://en.wikipedia.org/wiki/Acpi ACPI]''') is used for device configuration and power management.}}
{{tip|'''Parallel ATA''' ('''[http://en.wikipedia.org/wiki/Parallel_ATA PATA]''') is an interface standard to connect storage devices, and the '''Advanced Configuration and Power Interface''' ('''[http://en.wikipedia.org/wiki/Acpi ACPI]''') is used for device configuration and power management.}}




<!--T:3-->
This problem may affect particular computer systems using the '''[http://en.wikipedia.org/wiki/JMicron JMicron PATA Controller chipset]''', which is used to control and access storage devices, such as Solid State Drives ('''[http://en.wikipedia.org/wiki/Solid-state_drive SSD]'''). More specifically, it may be due to the '''PATA ACPI driver''' being loaded by the GRUB ('''GR'''and '''U'''nified '''B'''ootloader), which has consequently resulted in a conflict with the ''JMicron'' chipset. Should this indeed be the case, then an error message similar - or identical - to the example provided below should be displayed upon attempting to boot the affected kernel version(s):
This problem may affect particular computer systems using the '''[http://en.wikipedia.org/wiki/JMicron JMicron PATA Controller chipset]''', which is used to control and access storage devices, such as Solid State Drives ('''[http://en.wikipedia.org/wiki/Solid-state_drive SSD]'''). More specifically, it may be due to the '''PATA ACPI driver''' being loaded by the GRUB ('''GR'''and '''U'''nified '''B'''ootloader), which has consequently resulted in a conflict with the ''JMicron'' chipset. Should this indeed be the case, then an error message similar - or identical - to the example provided below should be displayed upon attempting to boot the affected kernel version(s):


  ERROR: device 'UUID=......' not found. Skipping FSCK'
  <!--T:4-->
ERROR: device 'UUID=......' not found. Skipping FSCK'
  ERROR: Unable to find root device 'UUID=......'
  ERROR: Unable to find root device 'UUID=......'
  You are being dropped to the recovery shell
  You are being dropped to the recovery shell
Line 21: Line 24:




<!--T:5-->
If so, then the solution is to simply stop the ''PATA ACPI'' driver from being loaded in the first place. This is a simple task, undertaken by amending a single line in the '''default grub''' file.
If so, then the solution is to simply stop the ''PATA ACPI'' driver from being loaded in the first place. This is a simple task, undertaken by amending a single line in the '''default grub''' file.




= Opening the Default GRUB File =  
= Opening the Default GRUB File = <!--T:6-->


<!--T:7-->
{{warning|'''DO NOT edit the ''grub.cfg'' file'''. This is not the same as the ''grub'' file, which does not have an extension at the end of its name.}}
{{warning|'''DO NOT edit the ''grub.cfg'' file'''. This is not the same as the ''grub'' file, which does not have an extension at the end of its name.}}




<!--T:8-->
The syntax of the command to open the grub file is:
The syntax of the command to open the grub file is:
   
   
Line 34: Line 40:




<!--T:9-->
For example, if you wish to edit the file within the terminal using nano (a standard terminal-based text editor) then enter:
For example, if you wish to edit the file within the terminal using nano (a standard terminal-based text editor) then enter:
   
   
Line 39: Line 46:




<!--T:10-->
If you have installed the full version of Manjaro, not the NET-Edition, you may find it easier to use the pre-installed ''gedit'' text editor instead. This will open the file up as a document, making it easier to read and edit. To use ''gedit'' instead, enter:
If you have installed the full version of Manjaro, not the NET-Edition, you may find it easier to use the pre-installed ''gedit'' text editor instead. This will open the file up as a document, making it easier to read and edit. To use ''gedit'' instead, enter:
   
   
  sudo gedit /etc/default/grub
  sudo gedit /etc/default/grub


= Editing the Default GRUB File =
= Editing the Default GRUB File = <!--T:11-->


<!--T:12-->
Once the ''default grub'' file has been opened, it will be necessary to amend the '''GRUB_CMDLINE_LINUX=""''' command, which is itself located near the top of the file. An example has been provided below, with the appropriate line '''<font color="green">highlighted in green</font>''' below for illustrative purposes:
Once the ''default grub'' file has been opened, it will be necessary to amend the '''GRUB_CMDLINE_LINUX=""''' command, which is itself located near the top of the file. An example has been provided below, with the appropriate line '''<font color="green">highlighted in green</font>''' below for illustrative purposes:


  GRUB_DEFAULT=saved
  <!--T:13-->
GRUB_DEFAULT=saved
  GRUB_TIMEOUT=5
  GRUB_TIMEOUT=5
  GRUB_DISTRIBUTOR="Manjaro"
  GRUB_DISTRIBUTOR="Manjaro"
Line 54: Line 64:




<!--T:14-->
To prevent the ''PATA ACPI'' driver from being loaded, '''modprobe.blacklist=pata_acpi''' must be added in between the otherwise empty speech marks. An example of the necessary amendment has been provided below, which has again been '''<font color="green">highlighted in green</font>''' for illustrative purposes:
To prevent the ''PATA ACPI'' driver from being loaded, '''modprobe.blacklist=pata_acpi''' must be added in between the otherwise empty speech marks. An example of the necessary amendment has been provided below, which has again been '''<font color="green">highlighted in green</font>''' for illustrative purposes:


  GRUB_DEFAULT=saved
  <!--T:15-->
GRUB_DEFAULT=saved
  GRUB_TIMEOUT=5
  GRUB_TIMEOUT=5
  GRUB_DISTRIBUTOR="Manjaro"
  GRUB_DISTRIBUTOR="Manjaro"
Line 63: Line 75:




<!--T:16-->
Once you have completed the amendments, save the change and close the file by:
Once you have completed the amendments, save the change and close the file by:


<!--T:17-->
* '''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
* '''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
* '''gedit''': Select the 'save' option and then close the window.
* '''gedit''': Select the 'save' option and then close the window.




<!--T:18-->
Now all that is necessary is to '''update the GRUB''' before rebooting.
Now all that is necessary is to '''update the GRUB''' before rebooting.




= Updating the GRUB =
= Updating the GRUB = <!--T:19-->


<!--T:20-->
To update the GRUB, ensure that the terminal is open, and enter the folliwing command:
To update the GRUB, ensure that the terminal is open, and enter the folliwing command:


  sudo update-grub
  <!--T:21-->
sudo update-grub




<!--T:22-->
Once complete, reboot your system for the change to take effect.
Once complete, reboot your system for the change to take effect.
</translate>
</translate>