0

I am new to linux. Yesterday I installed Ubuntu thru a flash drive, it worked pretty smoothly and was easy. But when it said to restart, it wasn't smooth afterwards. Its saying OS not found, install an OS on you harddrive. This is my first day on Linux and its not a good start at all for a newbie.

I saw many questions related to this but nothing works

Laimid
  • 1

1 Answers1

0

Download the Ubuntu 24.04.2 ISO: https://ubuntu.com/download/desktop/thank-you?version=24.04.2&architecture=amd64&lts=true

Burn the ISO to a USB drive with enough space.

Disable secure boot.

Start a live Ubuntu session.

Once booting is complete, open a terminal and run:

sudo apt update
sudo apt install --reinstall gparted
sudo gparted

From gparted, select the hard drive.

Unmount the existing partitions from the last to the first.

Create a new gpt partition table.

In the free space, create a 512-megabyte partition, the EFI-System partition (Fat32) if it's a UEFI boot partition, or the EFI-Boot partition if it's a legacy BIOS.

Next, create an 80-gigabyte ext4 partition.

Create another 8-gigabyte swap partition.

Create another ext4 partition that you plan to use for the Linux system.

Apply the changes.

Close gparted.

Close the terminal.

Start the installation.

Choose manual partitioning and select:

Default Grub on the hard drive.

The 80-gigabyte partition for /

The 8-gigabyte swap partition

The remaining partition for /home.

Apply

Complete the installation.

kyodake
  • 17,808