现在服务器的硬盘都比较大,经常会超过2TB。所以安装系统的时候经常会出现一些新的问题。
1,安装windows server r2/r2时提示:无法在此驱动器上安装windows。因为服务器出厂一般默认还是BIOS引导,当你合并VD(虚拟磁盘)后,改用UEFI引导安装windows时会出现此错误。此时你可以使用”shift+F10”快捷键打开命令行窗口。执行以下命令清除之前BIOS引导时磁盘分区残留的信息。命令如下:
复制代码代码如下:
diskpart (启动diskpart程序)
list disk (列出现有的磁盘,一般合并后为一个disk0)
select disk 0(这里根据实际情况选择你要清除残留信息的磁盘)
clean (清除所选磁盘残留信息,注意所有的数据也将丢失)
然后就可以像平时安装windows那样进行安装了。
2,超过2TB的硬盘不能划分为一个分区。
这是因为BIOS引导下默认MBR分区格式最大只能支持到2.1TB,超过了就不能划分为一个分区。需要更改为UEFI格式引导,采用GPT分区格式。
3,GPT分区格式磁盘不能建立扩展分区,不能建立逻辑分区。
这是因为GPT分区本身不支持扩展分区和逻辑分区。但GPT分区格式windows下支持最多128个主分区肯定是够用了。所以直接分区主分区就好了。
附上diskpart命令参数:
复制代码代码如下:
Microsoft Windows [Version 6.1.7601]
Copyright (c) Microsoft Corporation. All rights reserved.
C:UsersAdministrator>diskpart
Microsoft DiskPart version 6.1.7601
Copyright (C) 1999- Microsoft Corporation.
On computer: XXXYYY
DISKPART> help
Microsoft DiskPart version 6.1.7601
ACTIVE - Mark the selected partition as active.
ADD - Add a mirror to a simple volume.
ASSIGN - Assign a drive letter or mount point to the selected volume.
ATTRIBUTES - Manipulate volume or disk attributes.
ATTACH - Attaches a virtual disk file.
AUTOMOUNT - Enable and disable automatic mounting of basic volumes.
BREAK - Break a mirror set.
CLEAN - Clear the configuration information, or all information, off the
disk.
COMPACT - Attempts to reduce the physical size of the file.
CONVERT - Convert between different disk formats.
CREATE - Create a volume, partition or virtual disk.
DELETE - Delete an object.
DETAIL - Provide details about an object.
DETACH - Detaches a virtual disk file.
EXIT - Exit DiskPart.
EXTEND - Extend a volume.
EXPAND - Expands the maximum size available on a virtual disk.
FILESYSTEMS - Display current and supported file systems on the volume.
FORMAT - Format the volume or partition.
GPT - Assign attributes to the selected GPT partition.
HELP - Display a list of commands.
IMPORT - Import a disk group.
INACTIVE - Mark the selected partition as inactive.
LIST - Display a list of objects.
MERGE - Merges a child disk with its parents.
ONLINE - Online an object that is currently marked as offline.
OFFLINE - Offline an object that is currently marked as online.
RECOVER - Refreshes the state of all disks in the selected pack.
Attempts recovery on disks in the invalid pack, and
resynchronizes mirrored volumes and RAID5 volumes
that have stale plex or parity data.
REM - Does nothing. This is used to comment scripts.
REMOVE - Remove a drive letter or mount point assignment.
REPAIR - Repair a RAID-5 volume with a failed member.
RESCAN - Rescan the computer looking for disks and volumes.
RETAIN - Place a retained partition under a simple volume.
SAN - Display or set the SAN policy for the currently booted OS.
SELECT - Shift the focus to an object.
SETID - Change the partition type.
SHRINK - Reduce the size of the selected volume.
UNIQUEID - Displays or sets the GUID partition table (GPT) identifier or
master boot record (MBR) signature of a disk.
DISKPART>
windows Server 各版本区别详解
WindowsServer是专为强化下一代网络、应用程序和Web服务的功能而设计,是有史以来最先进的WindowsServer操作系统。拥有WindowsServer,您即可在企业中开
Windows Server R2 安装IIS7.5的图文教程
新上手的服务器没有IIS,需要自己安装,那么是不是和一样需要下载IIS6.0呢,在中是不同的,IIS7.5一般都集成在系统中,只是需要童鞋们去添
windows server R2升级到windows 迁移Alwayson AG的方法
Windowscluster要求同一个cluster中的所有windows版本都是相同的,这样就出现一个问题,当我们要将对windows进行升级时,(例如从windowsR2升级到windows)不
安装服务器系统驱动加载不成功 安装windows server系统提示“无法在此驱动器上安装windows”的解决办法...