I have installed Ubuntu on a USB drive to create myself a sandbox environment away from my normal computer.

Ubuntu can browse the contents of my normal hard drive however, which I don't like.

How can I remove its ability to find/mount/read the hard drive?

Is there a hard drive driver that I could uninstall?

  • Can't you just unmount the hard drive after booting? – slhck Jul 21 '13 at 6:58
  • It is unmounted. This question is just an exercise in paranoia. If Ubuntu is compromised I want to make it as hard as possible to find my other files. – LSERT Jul 21 '13 at 7:04

Depending on the model of your motherboard, you can disable the hard drive in the BIOS.


The Windows file systems are usually loadable modules. You could blacklist then and remove them from the lib directory. This would make accessing the file system more difficult.

Unix/Linux disk access is required to access the USB drive. If you don't have one you don't have the other. The I/O routines are pretty common across all devices, so there is likely little that can be removed without breaking I/O significantly.


If you are that concerned, consider removing the sata data cable from the hard disk. Then you can do whatever you want software-side, you can't access or modify the data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.