PDA

View Full Version : [ubuntu] Hiding partitions



MAJcrew35
August 13th, 2009, 03:29 PM
Hello all,

I just set up an XP / Jaunty dual-boot, and consequently have a rather complex set of partitions. Several of these partitions should never be accessed by Ubuntu (e.g. the XP recovery partition, or the partition containing the Windows OS itself). I have figured out how to change permissions so that I don't accidentally edit anything in those partitions, but I would like to remove them from my list of places - they are just clutter at the moment. Is there any way to basically make these partitions hidden from Ubuntu, or at the very least prevent them from being displayed in Nautilus etc?

Thanks!

eldragon
August 13th, 2009, 03:56 PM
im not sure this is something a begginer could accomplish, but a way to do this is with udev rules. still not sure how gnome-volume-manager will handle it.

those partitions are most likely listed under fstab. removing (coment out the line with a # at the beggining of the entry) their entries from fstab could do it too.. not sure though.

wizard10000
August 13th, 2009, 04:17 PM
Hello all,

I just set up an XP / Jaunty dual-boot, and consequently have a rather complex set of partitions. Several of these partitions should never be accessed by Ubuntu (e.g. the XP recovery partition, or the partition containing the Windows OS itself). I have figured out how to change permissions so that I don't accidentally edit anything in those partitions, but I would like to remove them from my list of places - they are just clutter at the moment. Is there any way to basically make these partitions hidden from Ubuntu, or at the very least prevent them from being displayed in Nautilus etc?

Thanks!

I'm on a Windows machine and can't test this right now but can't you just comment out the fstab entries as eldragon mentioned and delete the bookmarks in Nautilus?

MAJcrew35
August 13th, 2009, 06:57 PM
Ok, thanks for that info. Does anyone else have any other ideas, or if not, perhaps a more detailed explanation of the above proposal?

coldReactive
August 13th, 2009, 07:10 PM
install gparted (gnome partition manager.)

MAJcrew35
August 13th, 2009, 07:41 PM
install gparted (gnome partition manager.)


You rock. Thanks!