How to make Windows drive 100% invisible to Puppy? (Solved)

Moderator: Forum moderators

Post Reply
HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

How to make Windows drive 100% invisible to Puppy? (Solved)

Post by HarveyH »

I guess the title says it all. I'm booting a puppy from an external SSD. I am also worried about accidentally borking my windows partition. Is there a way to make puppy startup with my Windows drive absolutely 100% invisible and inaccessible? I don't even want puppy to know it exists.

Last edited by HarveyH on Wed Jul 31, 2024 8:04 am, edited 5 times in total.
User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Making windows partition 100% invisible to the OS

Post by BarryK »

Here is something to consider:

https://easyos.org/user/ultra-secure-web-browsing.html

...that webpage is a bit out of date, but the fundamentals are still correct.

HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Re: Making windows partition 100% invisible to the OS

Post by HarveyH »

@BarryK

Yes, Barry, I am a big fan of EasyOS, but EasyOS can also access the windows partitions, so that isn't really a viable answer is it?
How can I make a puppy not even know that the Windows drive exists? I'm not so much looking for safe browsing, although that *is* important. I'm look for safe *USING*. Prevent the idiot at the keyboard from being able to activate the Windows partitions even by accident. Prevent Puppy from even knowing it exists.

Maybe I can edit fstab or something. I dont know from Linux. RIght now, I can just remove the icons from the screen on every boot I guess.
Oh wait, what about a batch file that deletes them for me and put it in the startup someplace? How I do dat?
BookwormPuppy 64 version 10.0.07

HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)

Post by HarveyH »

There is it!
JWMdesk/Icon Manager/Show desktop icons for each drive. No more drive icons on the desktop. Just a "drive" icon that goes to Pmount.
\O/
Now I have to go to extra effort to mount stuff and there is much less chance of letting Puppy have access to the Win partition.

Final step would be to totally hide sda from Puppy, but this will do nicely for now.

User avatar
nilsonmorales
Posts: 183
Joined: Thu Dec 26, 2019 1:47 am
Location: El Salvador
Has thanked: 70 times
Been thanked: 106 times
Contact:

Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)

Post by nilsonmorales »

JWMdesk/Icon Manager/Show desktop icons for each drive. No more drive icons on the desktop. Just a "drive" icon that goes to Pmount.

Really nice, I would like to help too.
Edit /root/.xinitrc and comment line 156 in bookworm

Code: Select all

esac
#/sbin/pup_event_frontend_d & #130525 moved down. #No drive icons in desktop 
#v2.0.0

Restart X, you will need to use pmount to find the partitions and mount

Muchas gracias.

User avatar
greengeek
Posts: 1384
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 535 times
Been thanked: 192 times

Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)

Post by greengeek »

HarveyH wrote: Wed Jul 31, 2024 2:35 am

Final step would be to totally hide sda from Puppy, but this will do nicely for now.

I would not expect that to be enough. Often Windows uses multiple partitions - not just sda.
Would it be suitable to have a Puppy that rejects or ignores NTFS partitions?
ie: a Puppy that sees/requires only EXT partitions?

HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)

Post by HarveyH »

HAHA HOHO and HEE HEE! I found the trick! After boot-up, delete /dev/sda sda1 sda2 sda3 sda4 and sda5. Then Pmount can't find the Windows drive at all . \O/

So, I just need to write a batch file and put it ... somewhere ... so it runs after bootup.
How I do dat?

> Would it be suitable to have a Puppy that rejects or ignores NTFS partitions? ie: a Puppy that sees/requires only EXT partitions?

Sure. How?

User avatar
greengeek
Posts: 1384
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 535 times
Been thanked: 192 times

Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)

Post by greengeek »

HarveyH wrote: Wed Jul 31, 2024 7:52 am

HAHA HOHO and HEE HEE! I found the trick! After boot-up, delete /dev/sda sda1 sda2 sda3 sda4 and sda5. Then Pmount can't find the Windows drive at all . \O/

So, I just need to write a batch file and put it ... somewhere ... so it runs after bootup.
How I do dat?

You could try adding the following script to /root/Startup
(It will block access to the partitions you mentioned - immediately after booting)
Call it whatever you want. eg "remove_sda" or whatever is meaningful.

Code: Select all

#! /bin/bash

rm -f /dev/sda
rm -f /dev/sda1
rm -f /dev/sda2
rm -f /dev/sda3
rm -f /dev/sda4
rm -f /dev/sda5
HarveyH
Posts: 96
Joined: Wed Oct 18, 2023 8:40 pm
Been thanked: 21 times

Re: Making windows drive 100% invisible to the OS (SOLVED)

Post by HarveyH »

@greengeek I was making a post while you were responding. Deleted it.

This is what I had come up with for the script before seeing your post.

#!/bin/sh
rm /dev/sda*
startx

I'll add the -f and put it where you said, then allow drives and partitions to be visible on the desktop again. Thank you.

Update: It works! My Widows drive is now 100% invisible to Puppy upon boot-up. Thank you all.

Post Reply

Return to “BookwormPup”