Install Ubuntu 20.04 LTS on HP Pavilion Desktop

- Download Ubuntu 20.04 LTS iso for Desktop
- Prepare bootable media (USB Stick or CD/DVD)
- Shrink Windows Partition for extra space
- Change BIOS Settings
- Disable Secure Boot
- (No option for fast boot)
- Change boot order
- Boot with prepared media (USB Stick or CD/DVD)
- [Problem] May not pass the logo screen. (hangs forever)
- At the grub screen, press 'e' then add 'pci=noacpi' option before '---' (after 'splash')
- Continue installation
- [Problem] May face grub installation failure, with 'Operation not permitted' message.
- In this case, just follow the instruction to boot into the Live session (the same as 'Try Ubuntu')
- Install and use boot-repair to try fixing the problem. But again, may face error saying file /boot/grub/x86_64-efi/normal.mod not found error.
- Boot into the Live session again, then open terminal and use following lines of code to install grub again. (/dev/nvme0n1p1 is the EFI partition, /dev/nvme0n1p4 is the partition where Ubuntu is installed.)
sudo mkdir /mnt/ubuntu
sudo mount /dev/nvme0n1p4 /mnt/ubuntu
sudo mkdir /mnt/ubuntu/boot/efi # not required if already present
sudo mount /dev/nvme0n1p1 /mnt/ubuntu/boot/efi
sudo apt-get install grub-efi
sudo grub-install --target=x86_64-efi --boot-directory=/mnt/ubuntu/boot --no-nvram /dev/nvme0n1
- Shuntdown Live session and reboot to Ubuntu
- [Problem] May not pass the logo screen, AGAIN. (hangs forever)
- At the grub screen, press 'e' then add 'pci=noacpi' option before '---' (after 'splash')
- Then continue booting.

- In order to apply kernel boot parameter permanently, modify /etc/default/grub file, then run update-grub.


- [Problem] i801_smbus -> Update BIOS ??

- [Problem] NVRM: Can't find an IRQ for your NVIDIA card. 

댓글

댓글 쓰기

이 블로그의 인기 게시물

[DevTip] Windows에서 tail 쓰기...

환경개선부담금

Electropermanent Magnets: Programmable Magnets with Zero Static Power Consumption Enable Smallest Modular Robots Yet