Results 1 to 3 of 3
On a new installation of 7.10 it put two drives on desktop, one that I use, and the other useless.
How can I tell Ubuntu that that drive does not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-21-2008 #1Linux Newbie
- Join Date
- Jun 2007
- Location
- Villa Nueva, Argentina
- Posts
- 108
[SOLVED] Unmount drive
On a new installation of 7.10 it put two drives on desktop, one that I use, and the other useless.
How can I tell Ubuntu that that drive does not to be mounted, and even less put on the desktop?
Many thanks,
José
- 04-21-2008 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
Hi José,
You will need to edit /etc/fstab and remove the drive you don't want mounted from there.
Open a terminal and run:
This will return a list of all mounted file systems. Find the device you don't want mounted (it'll be something like /dev/hda4) and unmount it:Code:mount
check you haven't unmounted the wrong thing, if it's the right one then open /etc/fstab in an editor:Code:sudo umount /dev/hda4
Find the line for the drive you don't want mounted, and move the cursor to it with the up/down arrow keysCode:sudo vi /etc/fstab
Then delete the line by pressing d twice
Save and exit by typing:
and the drive won't mount automatically anymore.Code::wq
- 04-21-2008 #3Linux Newbie
- Join Date
- Jun 2007
- Location
- Villa Nueva, Argentina
- Posts
- 108
Many thanks for the very clear explanation of what to do. Problem solved.
José



