How to remove live Puppy Linux access to hard disks?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
nassen0ff
Posts: 1
Joined: Sat Apr 20, 2024 4:16 pm

How to remove live Puppy Linux access to hard disks?

Post by nassen0ff »

I have just set up a live USB stick with Puppy to provide a secure platform, having had to stop using the US DoD TENS software now the browser is too out of date for current use. One of the features of TENS was that the computer's hard drives were not accessible. The basic install of Puppy shows clearly that all the hard drives are mounted and can be accessed from icons on the desktop. Is there any way of editing a file or files in the Puppy install to remove this access?

User avatar
bigpup
Moderator
Posts: 6929
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 895 times
Been thanked: 1508 times

Re: How to remove live Puppy Linux access to hard disks?

Post by bigpup »

The drives are not mounted when Puppy is booted.

Puppy does not auto-mount any drives, but the specific one it is booting from.

The drive you are booting from will be mounted and have it's icon showing mounted.

The drive icons on the desktop are just there to provide a quick way to be able to mount or un-mount a drive.

An icon for each partition on the drives.

You have to click on one of the drive icons to then mount it.

when mounted a mount symbol will show top right of icon.

Click on the mount symbol to un-mount.

There is some control of what is displayed.

The program Event Manager ->Rox icons gives some options.

Without the desktop drive icons.

You will have to use the program Pmount to mount and un-mount drives.

Event Manager ->Rox icons you un-select show desktop icons for each drive.

It will have a single drive icon on the desktop.
Clicking it will open Pmount.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
wizard
Posts: 1934
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2593 times
Been thanked: 662 times

Re: How to remove live Puppy Linux access to hard disks?

Post by wizard »

The answer is yes, but you need to better define "provide a secure platform" since there are different degrees.

Additionally, when you first boot Puppy, the drive icons will appear on the desktop, but only your boot partition is mounted by default.

wizard

Big pile of OLD computers

User avatar
Flash
Moderator
Posts: 972
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 50 times
Been thanked: 124 times

Re: How to remove live Puppy Linux access to hard disks?

Post by Flash »

Would it work if the /mnt directory were removed? Just thinking in the dark. :lol:

Chaos coordinator :?
Clarity
Posts: 3777
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1597 times
Been thanked: 512 times

Re: How to remove live Puppy Linux access to hard disks?

Post by Clarity »

IN agreeing with what members have shared, I ask the OP @nassen0ff, why choose Puppy versus the other non-PUP distributions dedicated to that very design you ask. The community does not have a distro that is dedicated to your need.

Curious

williwaw
Posts: 1909
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 168 times
Been thanked: 354 times

Re: How to remove live Puppy Linux access to hard disks?

Post by williwaw »

Clarity wrote: Sat Apr 20, 2024 11:38 pm

The community does not have a distro that is dedicated to your need.

easyos and qv are developed by BarryK who is a member of the community. They allow the user to elect "lockdown" mode, purposely forbidding other partitions or drives from being mounted.
viewforum.php?f=63

Last edited by williwaw on Sun Apr 21, 2024 7:29 pm, edited 3 times in total.
User avatar
Flash
Moderator
Posts: 972
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 50 times
Been thanked: 124 times

Re: How to remove live Puppy Linux access to hard disks?

Post by Flash »

Good point, Clarity. For instance, there's Tails. https://www.youtube.com/watch?v=njmhwz1R-Xg

Chaos coordinator :?
User avatar
wizard
Posts: 1934
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2593 times
Been thanked: 662 times

Re: How to remove live Puppy Linux access to hard disks?

Post by wizard »

@Flash

Would it work if the /mnt directory were removed? Just thinking in the dark. :lol:

Pretty good thought for in the dark and it is one of several things you can do to obfuscate and deny access to other drives, just depends on how hard you want to lock it down.

wizard

Big pile of OLD computers

User avatar
mikeslr
Posts: 2944
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 905 times

Re: How to remove live Puppy Linux access to hard disks?

Post by mikeslr »

As bigpup noted with the exception of the partition from which Puppy booted, drives/partitions are not mounted on boot-up. Even that can be avoided. The reason it mounts is that the SaveFile/Folder is mounted in order to access the your changes you’ve made, installed applications, settings, customizations.

Puppys can run without a SaveFile/Folder –as they do when booted OOTB. The purpose of a SaveFile/Folder is to preserve and use the your changes . But there’s another way to do that. You can use the Save2SFS module of nicOS-Utility Suite, https://www.forum.puppylinux.com/viewtopic.php?t=1694 to create or modify adrvs and ydrv SFSes. At boot-up these are copied into RAM, then the drive/partition from which they were copied is dismounted. The result is that you operate completely from RAM with no drives/partitions mounted.

If run from a USB-Key, after boot-up the Key can be unplugged.

But that system requires that you don’t use SFSes, as these need to be mounted. If you want to use an application published as an SFS, before creating/modifying an adrv or ydrv, you can Left-Click the SFS and select ‘Install’ from the pop-up menu. AppImages and portables can be located in /opt rather than run from a drive/partition.

Obviously, you need a considerable amount of RAM to operate this way. If you don’t have that, you can still deploy one Puppy with one Web-browser in /opt and use it for questionable internet activities.

Go off-line before mounting drives/partitions to copy data from RAM.

As an alternative to creating/modifying adrv/ydrvs you can try remasterme2.sh, https://www.forum.puppylinux.com/viewto ... 27#p117427

Post Reply

Return to “Beginners Help”