Thursday, May 14, 2020

Install Ubuntu and Windows along each other



Set up:

2 hard drives:
1. Toshiba: Windows installed ~128 Gb
2. ATA: Empty ~ 1 Tb


Burn an Ubuntu iso to a USB

In installation, you will have to define 3 partitions

1. Root partition
Size; As much as you wish
Use as: ext4 journaling file
Mount to /

2. Linux Swap
Size: Same as RAM
Use as: swap

3. EFI
Use as EFI
Size: ~280 Mb

I chose the empty drive to install Ubuntu (ATA)


After clicking next, you might have a problem 'Cannot install Grub2 this is a fatal error'

Source:  https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/


Instructions to solve:
1. Reboot without USB plugged in
2. Ubuntu will open, in Terminal type

sudo apt-add-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install -y boot-repair

boot-repair


Follow instructions in the source link above.


Now Ubuntu should work through grub on the drive it is installed on (ATA).

To make Windows boot:
Source: https://h30434.www3.hp.com/t5/Notebook-Operating-System-and-Recovery/Changing-UEFI-mode-to-Legacy-mode/td-p/5650742

On startup:

hit F10 to open menu
Go to boot order
Disable UEFI and enable Legacy boot






No comments:

Post a Comment

Loud fan of desktop

 Upon restart the fan of the desktop got loud again. I cleaned the desktop from the dust but it was still loud (Lower than the first sound) ...