How to install linux mint on hp
I’ve run into a problem — had a lot of error logging saying «PCIe Bus Error: severity=Corrected, type=Physical Layer», «AER Corrected error received», and similar.
The problem is that it fills all the log space and the installation process cannot finish.
You can run into it on HP laptops on monoblocks.
What you can do.
1. On a boot screen asking of what you want to do with your bootable USB drive, select «Compatibility mode», then press «e» which lets you alter boot command.
There you should add to a line starting with «linux …» following parameter: «pci=noaer».
Then press F10.
And you can start the installation process.
2. When you finished this, you need to boot into your brand new linux system, open terminal and run
1 |
sudo nano /etc/default/grub |
Then find the line with «GRUB_CMDLINE_LINUX_DEFAULT» and add the following inside the quotes: » pci=noaer».
Then update grub with
1 |
sudo update-grub |
3. There could be a problem as this process takes a while and at this time you still have problems with logging all the time.
The process can freeze.
Then you need to boot again with your bootable USB stick.
Then mount the drive you want with the following command
1 2 3 4 5 6 7 |
sudo touch /mnt sudo mount -t ext4 /dev/sda2 /mnt # you can check the drives with sudo fdisk -l sudo mount --bind /dev /mnt/dev sudo mount --bind /sys /mnt/sys sudo mount --bind /proc /mnt/proc sudo chroot /mnt |
Then execute the same instructions described in paragraph 2, but while booting from your usb stick (but for now /etc/...
should be prefixed with /mnt
).
4. If you see a login screen, but fail to start linux, probably you have too many logs.
(if you try startx manually, it could log something similar to Could not write pid to lock file
)
Please do this
Ctrl+Alt+F1→login
1 2 |
sudo rm /var/log/kern.log sudo rm /var/log/syslog |
Then Ctrl+Alt+F7.
If it’s still not working, try to reboot.
It should work then.
Further reading:
https://askubuntu.com/questions/771899/pcie-bus-error-severity-corrected
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter
https://ubuntuforums.org/showthread.php?t=2381339
https://askubuntu.com/questions/145241/how-do-i-run-update-grub-from-a-livecd
https://raspberrypi.stackexchange.com/questions/44199/could-not-write-pid-to-lock-file
Similar Posts
LEAVE A COMMENT
Для отправки комментария вам необходимо авторизоваться.