#How can I unmount my windows partitions from linux in a dualboot?
1 messages · Page 1 of 1 (latest)
depends what linux distro you're on, but generally other disk partitions are not mounted automatically at login anyway
So im on linuxmint, and its not like actually mounted but i can click on it to access it. I just want it to be inaccessable from the linux side
ok.. I think u can use the DISKS app for that
okay so what do i do?
pick the one in question, hit the cog button
okay let me find it one second
and in edit mount options i think.. .or similar in the cog menu, there's a thing for "show in devices list"
I see
but someone can still edit this, so how could i encrypt it or something?
maybe with this option here?
hang on
okay
it has that checkmark in place in picture so that should be fine
i check it
a person would need your user password (which is also likely your 'sudo' or 'admin' password in Mint) to be able to mount that drive from within this OS
Okay so I dont have to enter anything into those filds?
nah
Okay
close disks
wdym?
log out, and come back in
oh okay
so now in Nemo, you shouldnt see the drive at all in "devices" side pane
okay
and if you run DISKS again, and try to start that partition up by hitting the play button, it should ask for password
I have one more qustion
great ill test after i did it with every drive
so
this is kinda unrelated but i want to ask you
#1193345280733622272 message < also if ur dualbooting with Windows, this is very important to do.
if i use a virtualbox to run windows 10 and use software that has trojan or other virus, now that my main windows is completly separeted from my linux, is it safe?
I'll check it out
mostly safe yes. a virus will only affect files/settings in the virtual operating system, OR possibly onto a USB drive IF you let the VM be able to read/write to usb drive
okay, thanks. my only concern was the cirus spreating through network out of vbox and then to my main windows, but now it shouldn't be able to do anything even if it gets into my linux
Allright I'll do the mounting settings for all drives and log out and in
a Windows virus typically isnt written to understand Linux code. However do be careful and even avoid installing WINE on linux as this runs .exe and .msi software which could at least mess up WINE and stuff in linux
yep thanks 🙂
and dont forget to turn off fast startup in Windows, if u haven't already, as per the link.
dont mess with any partitions in DISKS that show the star symbol
okay
but look that has some windows folders
so idk which one is it
my windows is on a 500 gb partition and that one i already unmounted
no sir, that is your home folder with its subfolders for linux
u must have set up a separate HOME partition, and that's what you're looking at
oh yes right
okay, so by the way that confuses me too like i set up a home partition, and it has a lot of gb deticated to it, but everythng install to the root, which some tutorial told me to make small
so i ran out of root space, i made it bigger using live linuxmint, but it will get full again, because everyting installs to the root
i can't tell what's what there cuz you have so many partitions 😛
be careful with resizing, you could wreck everything
yeah, it worked tho so its fine
is your dual-boot all off one disk?
no my windows is one my 500 GB ssd, and I also have a 2TB hdd linux is on that (with like 360 gb) and the rest is for my files on windows
but linux is divided into the three partition: root swap and home
it looks like from this picture your Toshiba drive with Linux on it has p4 as the EFI/bootloader part, p5 is your root (linux install) p6 is your linux swap space, and p7 is your Home folder
I have no idea what the NTFS p3 is.. or WHY it has a star on it.
oh theres like a 2mb unallocated space that was cut out from my home to make my root bigger
i dont care about 2 mb
okay
what's the one labelled as partition 3?
yes
i was just curious as to why it has a star on it, but nvm
i see
cuz star symbol means "in use by linux system"
and i can see your swap partition isnt even turned on.
obviously if THAT swap space was being used, it would show a star
ooooh true
okay
wrong command sorry.. do free -h
yeah u do have swap on, but it's a file
i see
using 3MiB of 881 MiB total
so how do i active the swap partition?
so either research how to change from swap file to swap partition, or leave it alone
okay i don really mind
u can delete the swap partition and grow the Home part to the left
so when i like install stuff how do i install it to the home instead? Like just go to devices where home is mounted and install there right?
how do i do that tho?
first confirm what is what and WRITE IT DOWN on paper
but i dont really care about that 8gb right now, just this, cuz everything allways installed to my root and i didnt even know where my home was
click on partition 5
then read the line below where it says Contents. it will show in blue what that is.. if it says Mounted at / , then that's your linux install (aka root filesystem)
uhuh, im gonna be honest im just gonna let that 8gb befor now
anyway you have 154 Metric Gigabytes that's lots of space
okay
so
im just saying learn how to identify what is what.. as i worte
yeah thanks sir
you cannot
home is only for documents, settings of the OS and the apps, movies, and Appimages software
and I think Flatpak software
oooh
okay im propably gonna make the root bigger then when it runs out again, but how much should the home be then?
home gets a lott of junk too in the form of cache, and definitely gets big if u install Flatpaks
i'd leave them alone as is for size.
oh okay
it's a good size for both
but if i run out of root, and i still have home left, theres now way to install things there?
nope
okay
best u can do then is delete that Swap partition, and that unused junk to the left of it, and then GROW p5 to the right.
okay
but earlier i did take like idk 100 gb off of home and grew the root using live linuxmmint. You said thats not safe?
remember the two handy commands lsblk and free -h for storage and memory info
okay
idk what u did but if it's working, leave it
okay
i mean i followed a tutorial
well you've been very helpful sir, I'd have 2 more questions if you dont mind. These just came to my mind while we were talking
ok
So I'm planning to run a game client on vbox that could have trojan, thats why im using linux right now in the first place, but it might not run on vbox, so then if i use wine to run it on linux will it have the ability to somehow infect my main windows system?
because i read online if you dualboot the same OS then virus can spread across them
but what anout linux and windows, if i use wine?
WINE shouldnt be able to see any other partition unless you explicitly mount it first
dont use wine
Okay, so that should be safe?
oh
yeah but it might not run the game
sure it would
well if it doesn't is this other method safe too?
and if not, run the game on actual Windows
but it could have trojan
propably does
avoid using wine anyway.. there's a thing called Bottles but idk too much for it
use virustotal.com to scan suspicious exe or msi (executable) files
yeah well it said some suspicios thing about certain files, but for some game clients i know for a fact that they have trojan, but i still want to use them, so thats why im asking if using wine or osmething else to run it is safe or not (for my main OS). Becasue people said if yo u dualboot 2 windows then the virus could spread
semi-safe nothings 100% but definitely dont mount other partitions or have USB drives attached
also WINE often only half-works. it's not perfect
okay sound great, so what do you think about dualboot 2 windowses would the virus spread in that case?
yeah
i cant say with authority yes or no
i see
anyways i g2g
yeah xd
my final question would be, if you still have a minute, how do i change my linux password? because the current one is not the safest
oh and just with a yes or no, is there a way to use my 3050 on virttual machine with a linux host?
@timber totem Well if you already left, thank you for all the help sir 😇
if ur on mint there's a 'users' thing in the Settings. else check online how to do it from terminal.
okay, and what about this? is it possible?
i think, but it involves hardware passthru.. u'll have to research that