Install Ubuntu while emptying the alternative hard drive

kr flag

I have one SSD and one HDD installed on my system. HDD contains my windows 10 installation. Now I want to install Ubuntu on SSD while completely clearing HDD, so that I can use that as a data storage unit.

On windows, I know how to do this, i.e. by going to custom installation and simply clicking the cross icon. But how do I do this in Ubuntu? (Installing on SSD while clearing HDD). Do I have to click the something else button while installing, if yes then what should I do?

I am a newbie in Linux, so detailed steps would be appreciated

ChanganAuto avatar
us flag
You don't have to do "A while B" but you certainly can. But why? It's much easier to install Ubuntu and then, from the installed Ubuntu, re-format the drive you want. Or you can do it from the live session before installing, of course, it's almost the same.
karel avatar
sa flag
Does this answer your question? [Installing Ubuntu On Second Hard Drive]( and [can't format hard drive](
in flag

While you certainly can do all of this during the installation, it may be simpler if you did it in two steps:

  1. Install Ubuntu
  2. Wipe the storage device

This would be the process:

  1. From the installation process, choose "Erase disk and install Ubuntu Installation type

    Then press [Continue].

  2. Select the device where you would like to install the OS Where to go, where to go

    Then press [Install Now].

  3. You will be shown a confirmation message saying that the target storage device for the OS will be wiped clean Are you sure?

    So long as you're happy, press [Continue].

  4. Let the system install itself. Depending on whether you elected to download updates or install 3rd-party drivers, this process may take a bit of time.

After Ubuntu is installed:

  1. Open the "Disks" application Disks
  2. Select the device that you want to use for storage, which will probably be NTFS formatted Disks - Select Device
  3. If the disk is mounted, press the square "stop" button to the left under the volume block
  4. Click the gears button and choose "Format Partition" Disks - Format Partition
  5. Give the volume a name (if you wish), specify a type such as Ext4, then press the [Next] button in the upper-right corner Disks - Volume Settings
  6. You'll see another confirmation message. So long as everything is correct, press the red "Format" button, enter your admin password.
  7. Press the triangle "play" button to mount the volume so you can begin using it.

Note: Screenshots are from the Ubuntu 20.04.3 LTS installer in a VirtualBox VM.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.