Page 1 of 1
How to make Windows drive 100% invisible to Puppy? (Solved)
Posted: Wed Jul 31, 2024 12:08 am
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.
Re: Making windows partition 100% invisible to the OS
Posted: Wed Jul 31, 2024 12:22 am
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.
Re: Making windows partition 100% invisible to the OS
Posted: Wed Jul 31, 2024 2:18 am
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
Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)
Posted: Wed Jul 31, 2024 2:35 am
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.
Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)
Posted: Wed Jul 31, 2024 4:22 am
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.
Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)
Posted: Wed Jul 31, 2024 6:40 am
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?
Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)
Posted: Wed Jul 31, 2024 7:52 am
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?
Re: Making windows partition 100% invisible to the OS (Semi-SOLVED)
Posted: Wed Jul 31, 2024 8:21 am
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
Re: Making windows drive 100% invisible to the OS (SOLVED)
Posted: Wed Jul 31, 2024 8:33 am
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.