Page 1 of 1

Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Sun Sep 12, 2021 10:45 pm
by MADC1993

I have frugal installed Precise Puppy on my laptop successfully, but every time i boot my machine the OS automounts all other partitions (two of them NTFS and one SWAP).

I really want to find a way to disable automounting of my NTFS partitions on Precise. I've tried messing with udev and fstab and had no success at all.

Are there any other ways i can disable automount?

Also, is there some way i can disable ntfs-3g?
Removing did not work (but didn't affected the OS)


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Mon Sep 13, 2021 1:55 am
by bigpup

Which version of Precise??


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Mon Sep 13, 2021 10:35 am
by MADC1993
bigpup wrote: Mon Sep 13, 2021 1:55 am

Which version of Precise??

Precise 5.7.1 with Kernel 3.2.48.


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Mon Sep 13, 2021 11:32 am
by bigpup

the OS automounts all other partitions (two of them NTFS and one SWAP).

The only partition that auto-mounts is the partition Precise is installed on.
That one has to be mounted at all times.
All other partitions are not mounted until you choose to mount them.

If you are thinking the desktop drive icons are showing you mounted partitions.
They are not.
These desktop drive icons are a quick way to mount or unmount a partition.
when you first boot to desktop.
These drive icons only show available drive partitions to mount.
To mount a partition you have to left click on the icon.
This mounts it.
Opens Rox file manager showing contents of partition.
A small mount flag will show on right upper corner of icon.

To unmount the partition.
Left click on the mount flag on the icon.

Can also right click on a drive icon.
Select options from the right click menu.

If a swap partition is found during boot process.
Swap is mounted to function as a swap partition should function.
Why would you not want swap available to use by memory control??

Are you actually asking to not see all these desktop drive icons or limit which ones you see?


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Mon Sep 13, 2021 11:40 am
by bigpup

Also, is there some way i can disable ntfs-3g?
Removing did not work (but didn't affected the OS)

Did you try to remove it by using remove builtin packages?
Reboot so change gets recorded in the save?


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Mon Sep 13, 2021 3:32 pm
by shinobar
MADC1993 wrote: Sun Sep 12, 2021 10:45 pm

I really want to find a way to disable automounting of my NTFS partitions on Precise.

Do you mean the drive icons at the bottom of the desktop?
If so, Main Menu > System > Puppy Event Manager
'ROX Icons' tab, check off 'Show desktop icons for each DRIVE'.


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Tue Sep 14, 2021 12:25 am
by MADC1993
shinobar wrote: Mon Sep 13, 2021 3:32 pm
MADC1993 wrote: Sun Sep 12, 2021 10:45 pm

I really want to find a way to disable automounting of my NTFS partitions on Precise.

Do you mean the drive icons at the bottom of the desktop?
If so, Main Menu > System > Puppy Event Manager
'ROX Icons' tab, check off 'Show desktop icons for each DRIVE'.

No, i want to disable NTFS automounting by the entire system.


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Tue Sep 14, 2021 4:58 am
by Clarity

Hi @MADC1993

Curiously:

  • Did you check fstab?

  • AND/OR did you enable SAMBA to a resource on one of your NTFS partitions?

I am trying to understand your dilemma occurring at boot-time+desktop start.


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Tue Sep 14, 2021 5:46 am
by williams2

The umount command in many Puppy versions is a script, and definitely does not always work.

For example, if I run partview, it mounts all the partitions, and tries and fails to unmount them.
df shows all 6 of my partitions all mounted after running partview.

Error messages from partview:

Code: Select all

# partview 
de: invalid drive
de: invalid drive
de: invalid drive
de: invalid drive
EXIT="OK"

In BionicPup64, umount seems not to work properly.

in the file /bin/umount I changed this:

rox_umount "$@"

to this:

rox_umount "$@"
umount-FULL -d "$@"

which seems to work much better. It tries rox_umount first, which seems to sometimes fail because it gets the name of the device wrong. Then it tries umount-FULL with the original parameter, which usually succeeds.

I don't know if umount not working properly is your problem or not.


Re: Disable Automounting NTFS Partitions in Frugal Installed Precise Puppy? (+disable NTFS read/write?)

Posted: Wed Sep 15, 2021 6:58 pm
by MADC1993

Good news!

Found out what was making my Precise Puppy setup mount all drives automatically.

It was a AutoMount executable in a Startup folder on my root folder.

I've deleted it and now my NTFS drives will only mount manually!

Now i need to find out how to disable the kernel's NTFS driver since i've already got rid of NTFS-3G.