View Full Version : Another Dual Boot Post: Removing Windows 10

January 22nd, 2019, 02:25 AM
Hi everyone,
I know there are many posts about this, but as we know, each dual boot is (somewhat) unique. I currently have Windows 10 dual-booted with Ubuntu 18.04 on my Asus Zenbook. I don't have a need for Windows on the machine any more, so I'd like to remove it. I'm just not exactly sure what to delete and what to resize. I've read some posts and I'm assuming I need to delete 2 and 3, but as you can see, I have two Linux partitions, home and root. I created these because I was just doing what I was told when following a tutorial for dual booting, so I'm not quite sure how they need to be resized after the Windows deletion. I'll also need to set my GRUB to auto boot Ubuntu. If anyone could step me through the process, that would be great!

PS, this screen shot is from the Live USB I created for the original Ubuntu dual boot installation. Thanks again!


January 22nd, 2019, 05:51 AM
Fully back up Windows.
Many users come back with one app or game they just have to have that does not work in Ubuntu and need Windows back again. Or later want to sell system and it needs Windows to sell it.

You can remove sda2, 3 & 4. I might then make the space you had for Windows as /home as your /home is small.
You can remove /EFI/Microsoft folder in the ESP - efi system partition and Windows boot entries in UEFI.

While not moving /home from a folder inside /, but from one partition to another you can use this.
To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions

You may be able to just use gparted to copy partition.
But difficult to expand as you have to move / left then expand right. Then move /home left and expand right. Moving left has higher risk as it must copy all data which can be slow. Be sure to have good backups.
If partition copied or new created, you will have to change the UUID in your fstab.

Once sure copy of /home is completed & working you can delete old /home and expand / right into space from the old /home. The 40GB is only slightly more than what I normally suggest (25 or 30) for /.

January 22nd, 2019, 05:56 PM
Would it be ok/advised to keep my /home and /root and just resize them properly after windows is deleted? and then just update my grub with sudo update-grub? I think I'm a little confused by what you are saying I should do with /home.

January 22nd, 2019, 07:30 PM
I was saying resizing is difficult (but not impossible). I do not like to move partitions left which you would have to do. It is slow as it has to copy everything. You only can expand right, after the move left & that would normally be quick as no data to copy.
The expand left can take a long time, and any interruption at all, by user or power failure, totally corrupts install as part of data is in one place and part in another. Or you must have really good backups.

Another alternative is just to do a new install with 25 to 30GB for / and rest for /home. Then restore your backup data.
You could temporarily keep current / & /home as not large. Once data restored from backups, then you delete old / & /home and expand /home into new empty space. That could be test of your backup procedures as temporarily you will have old install to boot into, if you forgot to backup something.

You first should have good backups whatever you decide to do.
Some like image backups, others prefer each file be backed up.
discussion of alternatives/strategy backups

If you install your own system you are the system admin
Sysadmins: Everything they told you about backup WAS A LIE
Best practice for Backups - theFu
More backup info from 1clue

Oldfred's list of stuff to backup May 2011 (still mostly current, see added links below):
Adding extra commands to rsync
More detail on /etc files and others to backup - post #3:
Some files(temp, cache etc) to exclude from /home backup - post #8 by Paddy Landau