In my case, this was lots of lines containing /dev/sdb. Assuming you haven’t plugged in or unplugged any devices other than the flash drive in the previous steps, you should see a bunch of stuff related to the flash drive. This will erase all contents of the flash drive, so make there you haven’t left anything important on there. You should select FAT as the file system. I also did this via the Files GUI, by right clicking on the flash drive and clicking Format. Again, replace sdb1 to match your specific case. I did this via Ubuntu’s “Files” GUI, although it can also be done through the command line via umount /dev/sbd1. Ubuntu automatically mounted the flash drive as a storage device, so it was a good idea to unmount it before beginning. In my case, it was /dev/sdb1, but this will likely differ for you, so make sure to note the correct device for your specific case.
GNU/Linux Method D: Manual - Overwrite seemed to me to be the easiest method, so I went with a variation of that, as follows: Ultimately, I went with the amd64 architecture, and it worked for me on the first try. Although my computer has an Intel i7-3537U processor, the accompanying description of the amd64 (64-bit, newer computer with UEFI instead of legacy BIOS) seemed to match my situation better than the i586 (32-bit, but “if in doubt, try this one first”) or the i686-PAE. GParted Live comes in three different architectures: Note that 1GB is far more than necessary to create the GParted image, so use a small spare flash drive like this. To do this, I did the following while running Ubuntu: A CD/DVD would also work, but my laptop doesn’t have a CD drive. Since you can’t resize the Ubuntu partition while it is running ( not true apparently, although I didn’t want to risk it), it was necessary to create a bootable USB stick to boot GParted and perform the resize from there.
GParted is “a free partition manager that enables you to resize, copy, and move partitions without data loss.” After googling around a bit, this seemed like the best option for resizing the Ubuntu partition. Step One: Create a bootable USB stick containing GParted I used a combination of command line and GUI utilities. Expand the Ubuntu partition using GParted.Create a bootable USB stick containing GParted, a partitioning utility.On a high level, this process consisted of three steps: The obvious solution was to shrink the Windows partition and expand the Ubuntu partition. However, I’ve been using Ubuntu as my primary OS since then, and I’d been starting to want more disk space. At the time, I wasn’t sure if I would stick with Ubuntu, so I was conservative with how much disk space I allocated to the Ubuntu partition.
About a year and a half ago, I installed Ubuntu on my laptop so I could dual boot with the original Windows 8 installation.