How to unmount partition?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

How to unmount partition?

Postby 67GTA on Tue Jun 12, 2007 1:30 am

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?
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Linux Mint is funded by ads and donations.
 

Postby Boo on Tue Jun 12, 2007 1:53 am

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.

:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby 67GTA on Tue Jun 12, 2007 2:17 am

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.
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Postby 67GTA on Tue Jun 12, 2007 3:11 am

I edited fstab and it did not mount after reboot. Ubuntu is gone. I have always used Ubuntu, I feel like I'm having an affair. :twisted:
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Postby Husse on Tue Jun 12, 2007 9:09 am

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby 67GTA on Tue Jun 12, 2007 9:41 am

Thanks for the lesson.
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Postby radames on Tue Jul 17, 2007 1:59 pm

All of my partitions are correctly automounted at boot, but i can unmount them only from console.

The unmount command from the contest menu from the desktop icons gives me the error that something does not agree wit fstab, and kwikdisk (in kde) says it cannont mount (does recognize it is already mounted) because it cannot find UUID number in fstab (but I checked, and it is there).

Any help?
radames
Level 1
Level 1
 
Posts: 4
Joined: Mon Jul 16, 2007 7:38 pm

Linux Mint is funded by ads and donations.
 

Return to Other topics

Who is online

Users browsing this forum: No registered users and 4 guests