How to shrink home partition on a running OS (Ubuntu linux)? [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
This question already has an answer here:
How to resize the root partition using GParted
1 answer
How to resize partitions?
4 answers
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.
gparted unmount
marked as duplicate by user68186, Fabby, David Foerster, Kevin Bowen, Helio May 28 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
2
down vote
favorite
This question already has an answer here:
How to resize the root partition using GParted
1 answer
How to resize partitions?
4 answers
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.
gparted unmount
marked as duplicate by user68186, Fabby, David Foerster, Kevin Bowen, Helio May 28 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
1
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
You can access NTFS on Ubuntu, just run:sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
This question already has an answer here:
How to resize the root partition using GParted
1 answer
How to resize partitions?
4 answers
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.
gparted unmount
This question already has an answer here:
How to resize the root partition using GParted
1 answer
How to resize partitions?
4 answers
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.
This question already has an answer here:
How to resize the root partition using GParted
1 answer
How to resize partitions?
4 answers
gparted unmount
edited May 24 at 18:30
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
Philippe Gachoud
2,9772336
2,9772336
asked May 24 at 15:49
Md. Mony
133
133
marked as duplicate by user68186, Fabby, David Foerster, Kevin Bowen, Helio May 28 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by user68186, Fabby, David Foerster, Kevin Bowen, Helio May 28 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
1
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
You can access NTFS on Ubuntu, just run:sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29
add a comment |Â
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
1
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
You can access NTFS on Ubuntu, just run:sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
1
1
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
You can access NTFS on Ubuntu, just run:
sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
You can access NTFS on Ubuntu, just run:
sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
4
down vote
accepted
Basically, you cannot modify the structure of a mounted partition (which you are using).
Home, boot, data partition
So a home
partition can typically be unmounted using another user logged in, umount it and modify its structure.
Slash or extended partition when slash mounted on
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.
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
add a comment |Â
up vote
-1
down vote
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.
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
add a comment |Â
up vote
-2
down vote
- Log in as another user; typically
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) - Shutdown graphical interface
sudo service sddm stop
- Unmount home
sudo umount /home
resize2fs /dev/sda6 6000M
or the size you want- Remount all partitions defined into /etc/fstab which include /home
sudo mount -a
- Restart you graphical interface
sudo service sddm start
1
Logging in as another user will not solve the problem, unless the user isroot
. All other users have their Home folder under/home/user1
,/home/user2
etc. The/home
partition is mounted and locked whetheruser1
is logged in oruser2
is logged in. Create another user,user3
and she gets/home/user3
as her home. So, you cannot unmount/home
unless you enableroot
login or boot from another drive, such as a Live USB or DVD.
â user68186
May 24 at 19:14
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Basically, you cannot modify the structure of a mounted partition (which you are using).
Home, boot, data partition
So a home
partition can typically be unmounted using another user logged in, umount it and modify its structure.
Slash or extended partition when slash mounted on
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.
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
add a comment |Â
up vote
4
down vote
accepted
Basically, you cannot modify the structure of a mounted partition (which you are using).
Home, boot, data partition
So a home
partition can typically be unmounted using another user logged in, umount it and modify its structure.
Slash or extended partition when slash mounted on
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.
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Basically, you cannot modify the structure of a mounted partition (which you are using).
Home, boot, data partition
So a home
partition can typically be unmounted using another user logged in, umount it and modify its structure.
Slash or extended partition when slash mounted on
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.
Basically, you cannot modify the structure of a mounted partition (which you are using).
Home, boot, data partition
So a home
partition can typically be unmounted using another user logged in, umount it and modify its structure.
Slash or extended partition when slash mounted on
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.
edited May 24 at 18:36
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
Philippe Gachoud
2,9772336
2,9772336
answered May 24 at 16:40
Paul Benson
393117
393117
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
add a comment |Â
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
I have another question, can I increase the size of "extended partition"? and how?
â Md. Mony
May 24 at 17:57
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
@Md.Mony: if it's another question, make it another question ;)
â 0xC0000022L
May 24 at 18:37
add a comment |Â
up vote
-1
down vote
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.
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
add a comment |Â
up vote
-1
down vote
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.
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
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.
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.
answered May 24 at 16:51
![](https://lh3.googleusercontent.com/-_3U8kgobI6o/AAAAAAAAAAI/AAAAAAAAASI/zscPF3Plj0U/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-_3U8kgobI6o/AAAAAAAAAAI/AAAAAAAAASI/zscPF3Plj0U/photo.jpg?sz=32)
Gokul Gokul
12
12
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
add a comment |Â
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
Reducing the Home partition can't damage the Ubuntu installation if there really is a home partition, and a separate OS partition. Even if there is only one partition, I don't see how shrinking it will cause damage, especially if it is just about 10% full, as the picture shows.
â NerdOfLinux
May 24 at 17:40
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
ok I solve it by using a live CD. Thank you so much.
â Md. Mony
May 24 at 17:58
add a comment |Â
up vote
-2
down vote
- Log in as another user; typically
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) - Shutdown graphical interface
sudo service sddm stop
- Unmount home
sudo umount /home
resize2fs /dev/sda6 6000M
or the size you want- Remount all partitions defined into /etc/fstab which include /home
sudo mount -a
- Restart you graphical interface
sudo service sddm start
1
Logging in as another user will not solve the problem, unless the user isroot
. All other users have their Home folder under/home/user1
,/home/user2
etc. The/home
partition is mounted and locked whetheruser1
is logged in oruser2
is logged in. Create another user,user3
and she gets/home/user3
as her home. So, you cannot unmount/home
unless you enableroot
login or boot from another drive, such as a Live USB or DVD.
â user68186
May 24 at 19:14
add a comment |Â
up vote
-2
down vote
- Log in as another user; typically
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) - Shutdown graphical interface
sudo service sddm stop
- Unmount home
sudo umount /home
resize2fs /dev/sda6 6000M
or the size you want- Remount all partitions defined into /etc/fstab which include /home
sudo mount -a
- Restart you graphical interface
sudo service sddm start
1
Logging in as another user will not solve the problem, unless the user isroot
. All other users have their Home folder under/home/user1
,/home/user2
etc. The/home
partition is mounted and locked whetheruser1
is logged in oruser2
is logged in. Create another user,user3
and she gets/home/user3
as her home. So, you cannot unmount/home
unless you enableroot
login or boot from another drive, such as a Live USB or DVD.
â user68186
May 24 at 19:14
add a comment |Â
up vote
-2
down vote
up vote
-2
down vote
- Log in as another user; typically
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) - Shutdown graphical interface
sudo service sddm stop
- Unmount home
sudo umount /home
resize2fs /dev/sda6 6000M
or the size you want- Remount all partitions defined into /etc/fstab which include /home
sudo mount -a
- Restart you graphical interface
sudo service sddm start
- Log in as another user; typically
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) - Shutdown graphical interface
sudo service sddm stop
- Unmount home
sudo umount /home
resize2fs /dev/sda6 6000M
or the size you want- Remount all partitions defined into /etc/fstab which include /home
sudo mount -a
- Restart you graphical interface
sudo service sddm start
edited May 24 at 21:04
![](https://i.stack.imgur.com/IfEQx.jpg?s=32&g=1)
![](https://i.stack.imgur.com/IfEQx.jpg?s=32&g=1)
K7AAY
3,73221443
3,73221443
answered May 24 at 18:42
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
![](https://i.stack.imgur.com/jsj6K.jpg?s=32&g=1)
Philippe Gachoud
2,9772336
2,9772336
1
Logging in as another user will not solve the problem, unless the user isroot
. All other users have their Home folder under/home/user1
,/home/user2
etc. The/home
partition is mounted and locked whetheruser1
is logged in oruser2
is logged in. Create another user,user3
and she gets/home/user3
as her home. So, you cannot unmount/home
unless you enableroot
login or boot from another drive, such as a Live USB or DVD.
â user68186
May 24 at 19:14
add a comment |Â
1
Logging in as another user will not solve the problem, unless the user isroot
. All other users have their Home folder under/home/user1
,/home/user2
etc. The/home
partition is mounted and locked whetheruser1
is logged in oruser2
is logged in. Create another user,user3
and she gets/home/user3
as her home. So, you cannot unmount/home
unless you enableroot
login or boot from another drive, such as a Live USB or DVD.
â user68186
May 24 at 19:14
1
1
Logging in as another user will not solve the problem, unless the user is
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 at 19:14
Logging in as another user will not solve the problem, unless the user is
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 at 19:14
add a comment |Â
Welcome to Ask Ubuntu. Please use one question at a time. Your second question is primarily opinion based, and likely to be closed if asked as a separate question.
â user68186
May 24 at 15:50
1
I think you would have to enable root then login as root... if you are logged in as a user your home folder will always be in use. or you can boot from live USB and use gparted there maybe?
â Joshua Besneatte
May 24 at 16:02
You can access NTFS on Ubuntu, just run:
sudo apt install ntfs-3g
â NerdOfLinux
May 24 at 17:42
what will be the better option using ntfs or fat32
â Md. Mony
May 24 at 18:00
Obvious, but you cannot use NTFS or Fat32 for /home. Use Live USB to reduce /home. P.S. I never use extended for /home or swap, so I have never reduced them with Live USB. ExFAT is dangerous with Linux! If you intentionally or accidentally do a filesystem check, you could lose all your data, I have done it once...
â vasilis74
May 25 at 1:29