本帖最后由 tungchan 于 2014-9-20 12:03 编辑
基本思路:
因为 bootloader 会在安装後写入资料,导致不能开机,要嘛重写一次,要嘛转去防写保护。
我就想加上防写保护,不就与光碟一样了吗?
果然,NanoBoot 就有 ISO 版本,以此设置 VirtualBox 一切顺当。
本来想试试如何将 USB Flash 变成光碟,却无意在网上找到这个:
http://cyanlabs.net/Thread-Insta ... without-USB-or-ESXi
於是跟着试,顺利完成,也可正常开机,想在 VirtualBox 用这个硬盘,可惜不成功。
唯有明天找部旧电脑试试!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
进入磁碟管理,将硬盘所有的卷删掉(未分配),记下磁盘号,然後脱机。
记下 sda.img 及 dd.exe 所处的目录,以管理员身份执行 CMD(命令提示符),cd C:\Users\Tung\Downloads
执行这以下指令:
dd.exe if=sda.img of=\\.\PHYSICALDRIVE1 --progress bs=32M
以下乃截图
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Windows\system32>cd C:\Users\Tung\Downloads
C:\Users\Tung\Downloads>dd.exe if=sda.img of=\\.\PHYSICALDRIVEX1 --progress bs=32M
'dd.exe' 不是内部或外部命令,也不是可运行的程序(忘记将 dd.exe 解压缩出来)
或批处理文件。
C:\Users\Tung\Downloads>dd.exe if=sda.img of=\\.\PHYSICALDRIVEX1 --progress bs=32M
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
Error opening output file: 2 系统找不到指定的文件。(因为打多了一个X)
C:\Users\Tung\Downloads>diskpart(DOS 内建指令)
Microsoft DiskPart 版本 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
在计算机上: 001-PC
DISKPART> select disk 1(选择硬盘一)
磁盘 1 现在是所选磁盘。
DISKPART>
DISKPART> attributes clear readonly(清除防写保护)
Microsoft DiskPart 版本 6.1.7601
VOLUME - 操纵卷属性。
DISK - 操纵磁盘属性。
DISKPART> attrib disk clear readonly(清除防写保护)
已成功清除磁盘属性。
DISKPART> exit
退出 DiskPart...
C:\Users\Tung\Downloads>dd.exe if=sda.img of=\\.\PHYSICALDRIVEX1 --progress bs=32M
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
Error opening output file: 2 系统找不到指定的文件。
C:\Users\Tung\Downloads>dd.exe if=sda.img of=\\.\PHYSICALDRIVE1 --progress bs=32M
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
3,108M
97+1 records in
97+1 records out
C:\Users\Tung\Downloads>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
完成!
未完待续......
|
-
1
查看全部评分
-
|