Hiding partitions on dual boot

Post your general questions or comments about GhostBSD here!
Post Reply
User avatar
darkoverlordofdata
Posts: 1
Joined: Sun Mar 22, 2020 5:24 pm
Has thanked: 0
Been thanked: 0

Hiding partitions on dual boot

Post by darkoverlordofdata »

I tried out the dual boot functionality in GhostBSD 20.02. It was very simple to install, and I'm sharing my asus zenbook with windows 10. And I'm a big fan of the rEFInd boot manager - adding this option was brilliant.

However, when I log in on bsd, I'm greeted with a slew of annoying popup errors from trying to mount all the other partitions on my system drive - 3 Windows recovery partitions, the main NTFS partition, and the windows boot partition all give errors. These also show up in the places menu, along with the EFI partition (which can be mounted) as well as the places tab in the file manager. Is there a way to configure GhostBSD to ignore these partitions? In addition to the annoying popups, it uses up a lot of real-estate on the places menu as well as in file managers.

willbproggin
Posts: 7
Joined: Mon Apr 15, 2019 2:42 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Hiding partitions on dual boot

Post by willbproggin »

Hi everyone,

After a long time waiting, I decided to try GhostBSD 20.03. Things are going 'okay' except I am having some issues. One of them is what darklord is describing.

Here is what my side-bar looks like in Caja. It's showing the devices twice, as well:
Image

I also receive many successive error dialogs when I log in, just like darklord.

Is there anything that can be adjusted to fix this?

Thanks! :)
An imperfect being created by a perfect God! :D

Vermilion
Posts: 40
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: Hiding partitions on dual boot

Post by Vermilion »

in fstab you add entries for hiding your partitions. An example for hiding my EFI partition:
dev/ada0p1 none vfat sw 0 0
These users thanked the author Vermilion for the post:
willbproggin (Sat Apr 04, 2020 12:34 pm)
Rating: 33.33%

willbproggin
Posts: 7
Joined: Mon Apr 15, 2019 2:42 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Hiding partitions on dual boot

Post by willbproggin »

Vermilion wrote:
Sat Apr 04, 2020 6:55 am
in fstab you add entries for hiding your partitions. An example for hiding my EFI partition:
dev/ada0p1 none vfat sw 0 0
Thank you so much for this! :) This took care of the problem just fine. I had previously tried using 'xx' instead of 'sw', but that didn't work. 'xx' was in the man page for fstab, meaning 'totally ignore', but I guess I misunderstood.

I think this should probably be detected and configured automatically during installation so that it doesn't put off anyone trying an otherwise *GREAT* OS :-)

Thanks again Vermilion! :D
An imperfect being created by a perfect God! :D

Vermilion
Posts: 40
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: Hiding partitions on dual boot

Post by Vermilion »

I am glad I could help you :)

Post Reply