I want to reduce the size of the /home
partition, so I need to unmount it. How can I do it using GParted?
What type of file system is better for accessing both Windows and Linux?
I want to reduce the size of the /home
partition, so I need to unmount it. How can I do it using GParted?
What type of file system is better for accessing both Windows and Linux?
Basically, you cannot modify the structure of a mounted partition (which you are using).
So a 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+F1
username -> 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 6000M
or the size you wantsudo mount -a
sudo service sddm start
root
. All other users have their Home folder under /home/user1
, /home/user2
etc. The /home
partition is mounted and locked whether user1
is logged in or user2
is logged in. Create another user, user3
and she gets /home/user3
as her home. So, you cannot unmount /home
unless you enable root
login or boot from another drive, such as a Live USB or DVD.
– user68186
May 24 '18 at 19:14
sudoer
group. The answer as it stands should not work.
– user68186
Mar 12 '20 at 15:00
sudo apt install ntfs-3g
– user8292439 May 24 '18 at 17:42