Jump to content

I am wanting to install linux on a usb3 drive for it to operate completely isolated from windows on my pc. Currently i have zorin os 9 installed on the usb stick (via Universal usb installer). But i am not happy about it being able to access my primary hard drive etc.

 

My computer has a single 1tb hard drive which contains windows + personal files all on a single partition. I want this to be left 100% alone when i run linux from the usb stick, essentially i want the hard drive to be treated as if it isnt there just as if i had it unplugged. In the same way that i would want the usb stick to act as a native internal drive on my PC when it is plugged in. The result being similar to having two completely seperate physical computers.

 

Is this possible and if so does anyone have any tips or pointers on how to do it or find more information about doing so?

 

Thnaks

 

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/
Share on other sites

Link to post
Share on other sites

I found my old 256mb stick recently and installed Slax into it. Haven't tested that yet but website claims that it would work like linux that is installed to physical drives. Just that all settings and programs will be installed on USB.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/#findComment-3026755
Share on other sites

Link to post
Share on other sites

If you're running windows 8/8.1/8.1.1 then use the hibernate option instead of shutdown. It actually locks the HDD so it appears but it can not be accessed.

Not sure if this works with 7 I figured it out totally by accident.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/#findComment-3026846
Share on other sites

Link to post
Share on other sites

If you're running windows 8/8.1/8.1.1 then use the hibernate option instead of shutdown. It actually locks the HDD so it appears but it can not be accessed.

Not sure if this works with 7 I figured it out totally by accident.

 

I can confirm that it works with 7... I dual boot Linux Mint 17 and Windows 7... I couldn't access the partition containing 7 when I hibernated windows instead of shutting down...

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/#findComment-3026885
Share on other sites

Link to post
Share on other sites

To blacklist just run

sudo echo "blacklist sd_mod" >> /etc/modprobe.d/blacklist

then next time you reboot you won't see your SATA hard drive.

 

Or run

sudo modprobe -r sd_mod

to unload the SATA module without rebooting. Which is what you wanted, is it not?

 

Does this just disable the drive or all drives on that controller. This could be really helpful.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/#findComment-3035218
Share on other sites

Link to post
Share on other sites

Go Persistence Mode?

| CPU: Ryzen 5 3600 | MoBo: MSI B450 Tomahawk Max | RAM: T-Force Delta RGB (2x8) 16GB 3200MHz (Black) | GPU: Gigabyte GTX 1660 Ti OC | Case: NZXT H500 (Black) | HDD: WD Black 2TB + Seagate Barracuda 4TB | SSD: Crucial MX500 2TB | PSU: Seasonic GX-550 | Monitor: 3x Asus VC239H |

 

 

Link to comment
https://linustechtips.com/topic/220483-linux-live-usb/#findComment-3035526
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×