작성자: 박준규

2023.01.22(일) Happy 설날~

수정 2023.01.28(토) (Change to ROS2 Foxy and Ubuntu 20.04)

<aside> 💡 If you are already dual booting Ubuntu 18.04, you could consider upgrading Ubuntu instead of formatting the drive and starting fresh. You would still need to install all the ROS2 packages and its dependencies.

</aside>

Requirements:

Installing Ubuntu 20.04.5 LTS

  1. Partition your disk.

    1. Press the start/search button and type diskmgmt.msc
    2. Right click on your C or D or whatever drive you want to partition (For most people with a single HDD/SSD it will be the C drive)
      1. There should be more than 60GB of free space for the next steps.
    3. Select “Shrink Volume”
    4. Shrink by 60000MB (around 60GB)
    5. You will now see an unallocated space of around 60GB.
  2. Download Ubuntu 20.04.5 LTS:

    1. https://releases.ubuntu.com/focal/
    2. Download the Desktop image:

    Untitled

  3. Creating a bootable USB Drive:

    1. Download and install Rufus: https://rufus.ie/en/
    2. Rufus will flash the .iso file you downloaded onto the USB. Run Rufus
    3. Select your USB Drive
    4. Select the ISO file you downloaded.
    5. Leave all other options unchanged.
    6. Click Start (This will erase all contents in the USB so please prepare an empty one)
  4. Boot from the USB Drive

    1. If you do not know how, search on Google “How to boot from USB Drive” “USB로 부팅하기”
  5. You will see the setup screen.

    1. Once you get to this step, select “Minimal installation” and “Download updates while installing Ubuntu”:

      Untitled

    2. IMPORTANT: Once you get to this step, select “Something else”.

      Untitled

    3. Double click the disk that has approximately 60GB (the unallocated space you made earlier). Type for the new partition: Primary, Location for the new partition: Beginning of this space, Mount point: /

  6. Continue with the installation.

Installing ROS