从 USB 记忆棒携带和处理整个开发盒.可行的? [英] Carrying and Working on an Entire Development Box from a USB Stick. Feasible?

查看:53
本文介绍了从 USB 记忆棒携带和处理整个开发盒.可行的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在考虑投资一个有价值的 USB 笔式驱动器(类似于 this),然后在虚拟机上安装操作系统并开始在它们上进行开发.

Lately I have been thinking about investing in a worthy USB pen drive (something along the lines of this), and install Operating Systems on Virtual Machines and start developing on them.

我的想法是,我希望能够携带我的开​​发箱,成为用于 .Net 开发的 Windows 发行版和用于诸如此类的东西的 Linux 发行版RoR、Perl 和诸如此类的东西,这样我就可以将它们带到需要的地方……无论是工作、学校、家里的不同计算机等……

What I have in mind is that I want to be able to carry my development boxes, being a Windows Distribution for .Net development and a Linux Distribution for stuff like RoR, Perl and whatnot, so that I would be able to carry them around where need be...be it work, school, different computers at home etc...

我正在考虑这样做也是为了备份目的...即将我几乎单一的 VM 文件备份到外部高清,而不是对我的普通 Windows Box 进行例行更新.我也在考虑甚至在源代码控制下提交 VM 框(这甚至可行吗?)

I am thinking of doing this also for backup purposes...ie to backup my almost-single VM file to an external hd, instead of doing routinely updates to my normal Windows Box. I am also thinking about maybe even committing the VM boxes under Source Control (is that even feasible?)

那么,我是否在正确的轨道上?您是否建议我尝试实现这一点?

将您的开发盒安装在从 USB 笔式驱动器运行的虚拟机上是否可行?

推荐答案

我完全同意你的观点.我想自己做.

I absolutely agree with where you are heading. I wish to do this myself.

但如果您还不知道,这不仅仅是驱动器的大小,信不信由你 USB 闪存驱动器可能比旋转磁盘驱动器慢得多

But if you don't already know, it's not just about drive size, believe it or not USB Flash drives can be much slower than your spinning disk drives!

如果您打算实际直接从 USB 驱动器运行虚拟机,这可能是一个大问题!

我曾尝试在 32GB Corsair Survivor 上运行 4GB Windows XP VM,但该 VM 几乎无法使用!此外,将我的 4GB 虚拟机关闭再复制回驱动器也很慢 - 将其复制到驱动器大约需要 10 分钟.

I've tried running a 4GB Windows XP VM on a 32GB Corsair Survivor and the VM was virtually unusuable! Also copying my 4GB VM off and back onto the drive was also quite slow - about 10 minutes to copy it onto the drive.

如果您有 esata 端口我强烈建议您查看高速 ESata 选项,例如 Kanguru 32GB ESata/USB 闪存盘这个 32GB 一个奥兹.

If you have an esata port I'd highly recommend looking at high-speed ESata options like this Kanguru 32GB ESata/USB Flash drive OR this 32GB one by OCZ.

与其他 USB 驱动器相比,这些驱动器的读写速度比 ESata 高得多.如果您没有 ESata 端口,您仍然可以将它们用作 USB.不过,如果您没有 ESata 端口,您可以在线购买 PCI 转 ESata 卡,甚至为您的笔记本电脑购买 ESata ExpressCard.

The read and write speeds of these drives are much higher over ESata than other USB drives. And you can still use them as USB if you don't have an ESata port. Though if you don't have an ESata port you can buy PCI to ESata cards online and even ESata ExpressCards for your laptop.

附带说明,您会发现 USB 闪存驱动器使用 FAT 而不是 NTFS.您不想使用 NTFS,因为它会产生更多读取和写入磁盘,您的驱动器将只有有限的读取次数和;在它死之前写.但是通过使用 FAT,您将被限制为最大 2GB 的文件大小,这可能是您的 VM 的问题.如果是这种情况,您可以将 VM 磁盘拆分为 2GB 的块.还要确保每天备份 VM,以防驱动器达到最大写入次数.:)

这篇关于从 USB 记忆棒携带和处理整个开发盒.可行的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆