# Preparing the Computer for Installation

#### Backup Recommendations

> ⚠️ Warning: Installing an operating system involves formatting disk partitions. Back up all essential files, SSH keys, and code repositories to an external drive or cloud storage before proceeding.

#### Disk Partitioning Basics

When installing Ubuntu, you can either erase the whole disk or create manual partitions. For developers, manual partitioning is highly recommended:

* EFI (`/boot/efi`): \~500MB. Required for UEFI systems to boot the OS.
* Root (`/`): \~40GB - 60GB. The core system where Ubuntu and your apps are installed.
* Home (`/home`): The remaining space. Where your personal files, projects, and custom configurations live.

#### Booting from USB via Advanced Startup (Windows)

Modern Windows PCs boot so fast you might miss the BIOS key.

1. Go to **Settings → System → Recovery** and click **Restart now** under **Advanced startup**.\
   After the PC restarts, open **Troubleshoot → Advanced Options → UEFI Firmware Settings** to disable **Secure Boot**, or choose **Use a Device** and select your **USB drive**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shankar-lab.gitbook.io/mylearning/ubuntu-installation-guide/preparing-the-computer-for-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
