Use 2 Hdds in one pc as 2 different computers?

2

I want to have 2 totally different computers in one pc. I would like this to happen maybe with dual boot? I dont want the files from the one HDD to be accessible to the other because the one HDD might have corrupted files (viruses (false positives etc inside). Please tell me a way in how I can have those 2 HDDs as different computers under the same pc box but to not be linked together. Both HDDs will be running Windows OS (XP or win7) but on both the same OS.

(Please dont tell me to remove the viruses from the one HDD they are there for a reason its false positives)

Thank you for your help and time!

MagicHown

Posted 2012-04-29T23:14:57.883

Reputation: 21

"Both HDDs will be running Windows OS". Bah, nah. Hard drives don't run operating systems. CPUs run operating systems. You can have one CPU run one operating system, loaded from one hard drive, and access data on the other hard drive (while the operating system on that other hard drive, like all other sitting data, is dormant). – TOOGAM – 2016-09-22T02:17:43.607

1Encrypt each of the hard drives and that will make them inaccesible to eachother. – cutrightjm – 2012-04-29T23:33:51.113

Answers

1

There is no way I know of to restrict your operating system to access all the components connected to your computer. Of course you can dual-boot between different operating systems, even if they are the same - say 2x win7 - but the one OS will still have - at least basic - access to the other drive. (if you take security measurements, the malware has to be pretty advanced to access the other drive though, most malware will not be able to do so, but it is still not impossible)

If you want to seperate the physical hardware layer from the logical layer your operating system provides to your applications (and malware) you would have to put a layer in between the operating system and the hardware. The only solution I see here is to run a virtual machine.

The other solution would be to physically change the harddrives, there are several solutions available that support changing drives via front panels.

But, there is malware that can write itself to the boot sector or even to the BIOS' flash, against those baddies changing drives or encrypting them (as recommended by ekaj) will not help. An encrypted drive aditionally only makes the files on it unreadable, but the drive can still be accessed by the malware and get corrupted. I still highly recommend a virtual machine, although there is malware out that is able to escape such secure enviroments.

Baarn

Posted 2012-04-29T23:14:57.883

Reputation: 6 096

1

I would personally attempt this:

Get the operating systems to dual boot XP in the first place. Get your boot menu to work, and then boot one of the operating systems. From there, encrypt the entire disk that this system is on. This will make it inaccesible to the other.

On the other disk, do the same exact thing. They might appear in Disk Management / My Computer, but they will be encrypted, therefore non-accesible.

cutrightjm

Posted 2012-04-29T23:14:57.883

Reputation: 3 966

Thank you, how can I encrypt the compter HDD? also if someone hacks into one hdd could he access the other hdd with any way? – MagicHown – 2012-04-29T23:41:37.017

Well, someone could hack into the disk, yeah. But, since it would be encrypted, it would be near impossible to crack the encryption, so it would be a waste of their time. And, as for the encryption, I asked a guy / googled it and I was pointed to TrueCrypt: http://www.truecrypt.org/ . It's free and open-sourced.

– cutrightjm – 2012-04-29T23:44:28.620

I am not entirely sure if the boot loader would work if the entire hard drive was encrypted, so I would also personally leave a 500MB partition (It can be a lot smaller if you'd like) free for BootLoader on one of the drives. If it would work on an encrypted drive, though, I'd just encrypt the whole thing then. – cutrightjm – 2012-04-29T23:46:49.197

So if the disk is encrypted he will not be able to "steal" or see/open my documents if I understand correct? Also thank you very much for your help mate. – MagicHown – 2012-04-29T23:49:13.810

If you are on HD A, they will not be able to access HD B. However, if you are on A, they will probably have access to the files on A as well. – cutrightjm – 2012-04-29T23:51:43.777

Even if they are encrypted? I see now the software. I will make 2 partitions in my system and setup both instalations of windows xp / win7 on them and after that I install truecrypt on both and I see it creates a virtual encrypted version of the hard drive if I understood correctly? – MagicHown – 2012-04-29T23:54:55.770

From the way I understood on http://www.truecrypt.org/docs/?s=system-encryption the partition is inaccessible until you put in the passphrase. This is why you would need a small partition unencrypted, so that the BIOS can have access to it.

– cutrightjm – 2012-04-30T00:00:16.230

So I will create 3 windows installations or just 2 and on the unpartitioned part I will install truecrypt and from there it will take me to the bootloader? – MagicHown – 2012-04-30T00:08:05.690

Three partitions, two for Windows, one unencrypted partition for the bootloader. You install TrueCrypt on the partitions for XP after XP is installed, not on the bootloader. – cutrightjm – 2012-04-30T00:11:11.723

Thank you very much for your help mate, I will try encrypting them and see how it goes!! – MagicHown – 2012-04-30T00:34:35.203

@MagicHown Did this suggestion work? – cutrightjm – 2012-05-03T12:26:51.243

0

This question is very old, but I thought I would provide an answer anyway.

The easiest way to do this would be using using hard drive bays like this. Buy two and install the drives into them and install them into your computer. You will see from the features listed in the description, it has a key based power lock. Those locks provide power, meaning if the drive is unlocked it will not receive power and cannot be used. So by locking and unlocking drives as needed, only the drives you want will be usable.

Keltari

Posted 2012-04-29T23:14:57.883

Reputation: 57 019

0

There is a number of ways you could do this.

  1. Removable hard drive trays - plug the drive you want at this moment in. Theoretically you could do this with an external hard drive dock.

  2. Virtualize. Setup both operating systems as separate virtual drives under a main OS. Start only the virtual drive you want. Either that or use a bare-metal hypervisor where the hypervisor starts up and then select whichever drive to load.

  3. Encrypt - setup the separate drives as different encrypted drives. Upon boot, tell the bootloader which drive to start. Do not automount the other drive. Not sure if Truecrypt could do this or not.

Blackbeagle

Posted 2012-04-29T23:14:57.883

Reputation: 6 424