I want to reduce the home size. So I need to unmount it. How can I do it using gparted?
2) what type of file system is better for accessing both windows and linux.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Basically, you cannot modify the structure of a mounted partition (which you are using).
home partition can typically be unmounted using another user logged in, umount it and modify its structure.
You have to do this from a live UFD/DVD as you cannot unmount a Linux system partition on an hdd/ssd while it is directly or potentially in use.
As far as file systems are concerned, with Windows use NTFS and with Ubuntu system devices, stay with ext4. If you plan to stay with Windows keep data files on an NTFS system or use extufsd for example.
if you want to reduce home partition size means it definitely affects the whole working Linux operating system. while Linux machine is running it is not possible to edit the home partition. it can be done by using bootable Linux USB/cd (any Linux os, ex Ubuntu, Kali Linux) and gparted is installed on it. in this way also you may destroy your running Ubuntu os. but I tried this it workes for me. Hope that this s work for you also.
Ctrl+alt+F1username -> enter -> pwd (Instructions to create another if you don't have one yet; that other user must be added to the group sudoer)
sudo service sddm stop
sudo umount /home
resize2fs /dev/sda6 6000Mor the size you want
sudo mount -a
sudo service sddm start