Yes you can use the same method as before
Step 1: Disconnect all the hard drives except the one you want to install Ubuntu in.
Step 2: Install Ubuntu
Step 3: Reconnect all the other hard drives.
If you don't want to open the computer and disconnect the drives, that is fine too. Just be careful when you select the drives. See Guilherme's answer below about using "Something else..." option and "Location for bootloader (GRUB) installation". In particular, the Grub, also known as the bootloader, goes in the same drive as Ubuntu.
There are a few things you need to keep in mind if this is the first time you are using an UEFI/GPT system.
Point 1: Make sure the Installation media or the Live DVD/USB you install Ubuntu from boots in the UEFI mode, not the Legacy mode.
When you boot the Install USB/DVD in UEFI mode you will see a Grub based menu with
If the install USB/DVD boots in the Legacy mode, you will see a graphical page with the these choices:
I assume Windows is installed in the UEFI mode, not Legacy BIOS mode in the other hard drive. If you have Windows in UEFI and Ubuntu in Legacy modes, then every time you want to switch OS you will have to get into UEFI settings and change mode and reboot.
Point 2: Use Guided Partition Table (GPT) in the drive you install Ubuntu. This may not be necessary, but UEFI and GPT goes hand in hand, and having MBR (Master Boot Record) based partition table, may cause issues.
If you plan to use the default installation method for Ubuntu and use the whole drive, then you don't need to worry about partition schemes. Ubuntu will do everything needed.
If you prefer to do your own partitioning then there is one more thing...
Point 3: You need to create an extra partition needed for UEFI. This has to be a primary partition in FAT32 format of size between 100MB to 500MB. It must have the
boot flags set. You may want to make it the first partition. The mount point for this partition must be
You can partition the rest of the drive as you please. The default option would be to partition the rest of the drive as a single
ext4 formatted partition with mount point
/. Most recent versions of Ubuntu use a swap file instead of a
linux-swap partition. So, you may want to skip that. You may use other partition schemes if you know what you are doing.
Hope this helps