ceacer 2 已发布 2月6号 分享 已发布 2月6号 <?xml encoding="UTF-8">现在服务器的硬盘都比较大,经常会超过2TB。所以安装系统的时候经常会出现一些新的问题。1,安装windows server 2008r2/2012r2时提示:无法在此驱动器上安装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) 2009 Microsoft Corporation.All rights reserved.C:\Users\AdministratordiskpartMicrosoft DiskPart version 6.1.7601Copyright (C) 1999-2008 Microsoft Corporation.On computer: XXXYYYDISKPART helpMicrosoft DiskPart version 6.1.7601/pACTIVE- 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 thedisk.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, andresynchronizes mirrored volumes and RAID5 volumesthat 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 ormaster boot record (MBR) signature of a disk.DISKPART>>> 评论链接 在其他网站上分享 更多分享选项...
推荐帖
创建账户或登录以发表评论
您需要成为会员才能发表评论
创建一个帐户
在我们的社区注册一个新账户。很简单!
注册新账户登入
已有账户?在此登录
立即登录