{"id":19915912,"url":"https://github.com/chrisae9/installubuntu","last_synced_at":"2026-03-03T21:02:19.887Z","repository":{"id":123288255,"uuid":"127330775","full_name":"Chrisae9/installUbuntu","owner":"Chrisae9","description":"How to easily install Ubuntu alongside Windows 10.","archived":false,"fork":false,"pushed_at":"2018-04-03T19:01:46.000Z","size":2209,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T09:27:45.332Z","etag":null,"topics":["boot-priority","disk","disk-partition","installation","tutorial","ubuntu","ubuntu-installation"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chrisae9.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-29T18:21:16.000Z","updated_at":"2020-12-22T07:39:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1bc37fe-5ae7-4f4d-94fd-bd0b43efb25f","html_url":"https://github.com/Chrisae9/installUbuntu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chrisae9/installUbuntu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisae9%2FinstallUbuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisae9%2FinstallUbuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisae9%2FinstallUbuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisae9%2FinstallUbuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chrisae9","download_url":"https://codeload.github.com/Chrisae9/installUbuntu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chrisae9%2FinstallUbuntu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30060641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boot-priority","disk","disk-partition","installation","tutorial","ubuntu","ubuntu-installation"],"created_at":"2024-11-12T21:42:52.705Z","updated_at":"2026-03-03T21:02:19.867Z","avatar_url":"https://github.com/Chrisae9.png","language":null,"readme":"# Dual Booting Ubuntu\n![Laptop](https://assets.ubuntu.com/v1/b0b06642-Laptop.png?w=654)\n\n##\n\n# Overview\n\n1. [Pre-Installation](#pre-installation)\n2. [Download](#download)\n3. [Make Room](#make-room)\n4. [Successful USB Boot](#successful-usb-boot)\n5. [Install](#install)\n6. [Boot Ubuntu](#boot-ubuntu)\n\n## Pre-Installation\nBefore starting, make sure that you have the following:\n- A computer with a **[UFEI boot mode](https://itsfoss.com/check-uefi-or-bios/)** and at least **16GB** of free space.\n- A Backup of Windows and all your files.\n- A seperate USB stick **2GB** or more.\n\n## Download\nDownload the files on this **[Page](https://github.com/Chrisae9/installUbuntu/archive/master.zip)** or follow these links:\n\n### **[Rufus](https://rufus.akeo.ie/)** and **[Ubuntu](https://www.ubuntu.com/download/desktop)**.\nStart Rufus as Administrator select the Ubuntu.iso file.\n\n![Rufus](pictures/rufus.png)\n\n## Make Room\nThere are multiple ways to open *Disk Partition* on Windows:\n1. Open the start menu \u003ckbd\u003e⊞ Win\u003c/kbd\u003e and type ***Disk Partition***.\n2. Press \u003ckbd\u003e⊞ Win\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e to open the run dialog, then type `diskmgmt.msc` and hit enter.\n\n### Find the disk for your Ubuntu installation *(Recommended to install on [SSD](https://en.wikipedia.org/wiki/Solid-state_drive) for better performance)*\nInstalling on the same drive as windows is perfectly normal. In this case, **Right Click** on the slice that says **\"(C:)\"** and `Shrink Volume...`.\n\n![Shrink Volume](pictures/disk1.png)\n\n### Important!\nIf you get the message below, go to the [solutions tab](#disable-the-unmovable-files).\n\n![Shrink Volume error](pictures/disk3.png)\n\n### Enter a size in MB for your Ubuntu installation. \n\n![Shrink Volume size](pictures/disk2.png)\n\n*CAUTION: 1 Gigabyte is 1,024 Megabytes!*\n- 16GB is 16384MB\n- 30GB is 30720MB\n- 50GB is 51200MB\n- 64GB is 65536MB\n- 100GB is 10240MB\n\n## Successful USB Boot\n\nIf you already know how to boot into a USB you can **[Skip](##Install)** past this section.\n\n1. [Fast Boot](#disabling-fast-boot)\n2. [Secure Boot](#disabling-secure-boot)\n3. [Boot Priority](#boot-priority)\n\n\n### Disabling Fast Boot\nBefore you restart, you must disable **Fast Boot**.\n\nWhy?\n\n\u003e**DATA LOSS!!!** If you create a shared NTFS data partition, hibernation caused by Windows Fast Boot may maintain the current file structure. A problem arises when trying to save a file from Ubuntu into the NTFS partition, it will get lost on Windows reboot because the computer will remember the old file structure from when it was put in hibernation.\n\nNavigate here to avoid this issue.\n\n![Fast Boot](pictures/fastboot.png)\n\n### Disabling Secure Boot\n\u003eModern Windows PCs produced after Windows 8's release have UEFI firmware with “Secure Boot” enabled. This helps protect against rootkits and other malware infecting the Windows boot loader, but it can also prevent Ubuntu from booting.\n\nNow you can reboot your computer and spam \u003ckbd\u003eF10\u003c/kbd\u003e to get into the BIOS Setup menu.\n\nIf that doesn't work. Spam \u003ckbd\u003eF1\u003c/kbd\u003e \u003ckbd\u003eF2\u003c/kbd\u003e \u003ckbd\u003eF8\u003c/kbd\u003e \u003ckbd\u003eF9\u003c/kbd\u003e \u003ckbd\u003eESC\u003c/kbd\u003e or just google it.\n\n![Secure Boot](pictures/bootmanager.jpg)\n\n### Boot Priority\nBefore you leave that menu. Find the **Boot tab** and move **Removable Devices** to the top. *If you have the USB plugged in, move it to the top*.\n\n![Boot Priority](pictures/boot_priority.gif)\n\n**MAKE SURE TO SAVE CHANGES ON EXIT!!!**\n\n## Install\nPlug in the USB if you haven't done so already, and start your computer.\n\n### You should see a menu similar to this. **Select** Install Ubuntu.\n\n![Menu](pictures/menu.png)\n\n### **Select** Language and connect to WiFi. **Check** both boxes and continue. \n\n![update](pictures/update.png)\n\n### Next, **Choose** \"Install Ubuntu alongside Windows\" *If there is no option go to this [solution](#something-else-option).*\n\n![Dual Boot](pictures/dualboot.png)\n\n### Finally, **Fill** in the remaining boxes and wait for Ubuntu to finish installing.\n\n![Name](pictures/name.png)\n\n##\n\n## Boot Ubuntu\nRestart your computer and remove the USB drive. Your computer should boot into [Grub](https://en.wikipedia.org/wiki/GNU_GRUB).\n\n![Boot](pictures/boot.png)\n\n\n\n\n\n\n\n\n# Solutions\n\n## Disable the unmovable files\n\n\u003eThe answer is as same as the Disk Management message shows that the shrink space of C: drive is limited by unmovable files such as Hibernation, Page files and system protections. These files can’t be moved automatically by Windows built-in tool Disk Management, so you’ll need to manually disable the unmovable files.\n\n### Disable System protection:\nPress \u003ckbd\u003e⊞ Win\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e \u003c enter `SystemProperitiesProtecion.exe` \u003c press \u003ckbd\u003eEnter\u003c/kbd\u003e \u003c click `C: drive` \u003c click `Configure` \u003c select `Disable system protection` \u003c click `Apply` \u003c click `Yes` \u003c restart.\n\n### Disable Hibernation:\nClick \u003ckbd\u003e⊞ Win\u003c/kbd\u003e \u003c type `CMD` in the Search box\u003c right click `cmd`\u003c choose `Run as administrator` \u003c enter `powercfg.exe` /hibernate off”\u003c press \u003ckbd\u003eEnter\u003c/kbd\u003e \u003c restart.\n\n### Disable Page files: \nPress \u003ckbd\u003e⊞ Win\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e \u003c type `SystemPropertiesPerformance.exe` \u003c Press \u003ckbd\u003eEnter\u003c/kbd\u003e \u003c click `Advanced` \u003c click `Change under Virtual Memory` \u003c uncheck `Automatically manage paging file size for all drives` \u003c click `C: drive` \u003c set paging file size to `No paging file` \u003c click `Set` \u003c click `OK` \u003c restart.\n\n### Disable the kernel memory dump:\nClick \u003ckbd\u003e⊞ Win\u003c/kbd\u003e\u003c select `Control Panel` \u003c click `System and Security` \u003c click `System` \u003c click `Advanced system settings` \u003c click `settings` under `Startup and Recovery` \u003c Change the drop down menu under Write debugging information to `None`.\n\n### IMPORTANT! Do not forget to re-enable these unmovable files after changing partition size of C: drive.\n\nYou can run [Disk Cleanup](https://www.disk-partition.com/articles/disk-cleanup-windows-10-4125.html) on the disk and [Disk Defragment](https://www.disk-partition.com/lib/how-to-defragment.html) for HDD to get more free space on C: drive.\n\n## Something else option\n\nGo ahead and **Click** the \"Something Else\" option.\n\n### Select **Free Space** and hit the plus button.\n\n![Free Space](pictures/freespace.png)\n\n### Next, make a **Swap Area** depending on how much RAM is in your computer\n\n- RAM less than 2 GB: Swap should be double the size of RAM\n- RAM between 2 to 4 GB: Swap should be RAM size + 2 GB\n- RAM between 6 GB to 8 GB: Swap should be size of RAM\n- RAM more than 8 GB: Swap should be half the size of RAM or less\n\n![Swap Area](pictures/ram.png)\n\n### **Click** on the remaining free space and select these options.\n\n![Root](pictures/mount.png)\n\n##\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisae9%2Finstallubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisae9%2Finstallubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisae9%2Finstallubuntu/lists"}