How to unmount partition?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How to unmount partition?
I wanted to delete my Ubuntu partition and keep Mint as my main OS.(Thanks to the developers) I tried to unmount /dev/sda2(ubuntu) and delete the partition with Gparted, but I get an error about it not jiving with fstab. If I edit fstab will it be overwritten after reboot? What steps do I need to take to stop Mint from automatically mounting the Ubuntu partition so I can delete it?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
can you see it in your fstab file? it might be being mounted by mintdisk.
if it is in the /etc/fstab file just insert a # at the beginning of the line that refers to the disk.
now reboot and it will not be mounted.
OR
if mintdisk has mounted it and put an icon of it on your desktop, right click on it and choose unmount (or maybe eject).
now you can start gparted and delete the partition etc.
if it is in the /etc/fstab file just insert a # at the beginning of the line that refers to the disk.
now reboot and it will not be mounted.
OR
if mintdisk has mounted it and put an icon of it on your desktop, right click on it and choose unmount (or maybe eject).
now you can start gparted and delete the partition etc.
Now where was i going? Oh yes, crazy!
It is listed in fstab. I can easily edit fstab, but I wasn't sure how mintdisk worked. Does it read fstab, or have it's own config file? I didn't want to fight with mintdisk. I don't know much about it I tried to right click on the desktop icon and unmount it and got the fstab error. That was unusual, and thought maybe there was something I didn't know about.
Mintdisk only mounts FAT and NTFS. It reads fstab and if the partition is mentioned in any way, even as a comment, mintdisk will not mount it.
So you can control FAT and NTFS like this
Not in fstab - mounted by mindisk
In fstab as a comment - not mounted at all
In fstab as a normal entry - mounted by fstab - eg if you want to mount it read only
So you can control FAT and NTFS like this
Not in fstab - mounted by mindisk
In fstab as a comment - not mounted at all
In fstab as a normal entry - mounted by fstab - eg if you want to mount it read only