针对Windows7安装了Ubuntu14.04。我安装了GParted来分区我的硬盘驱动器,因为它占用了整个磁盘。但是,我无法重新划分。
注意:在安装Ubuntu取代Windows 7之后,几乎没有70 is。
sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D7EFA26A-1DD8-4C04-833D-0547B9D384D8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 5485 sectors (2.7 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1946189823 928.0 GiB 8300 Linux filesystem
5 1946191872 1953523711 3.5 GiB 8200 Linux swap
sudo fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001f044
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1946189823 973093888 83 Linux
/dev/sda2 1946191870 1953523711 3665921 5 Extended
/dev/sda5 1946191872 1953523711 3665920 82 Linux swap / Solaris发布于 2014-08-01 13:06:26
您选择了错误的Ubuntu安装选项,从而破坏了现有的Windows分区。如果你认为你在旁边安装,正如你的评论所暗示的那样,那么恐怕你错了。如果磁盘上有重要的个人文件,请立即停止使用它,并使用PhotoRec或类似的特定于Windows的实用程序开始恢复操作。继续使用磁盘的每一秒,都会冒Linux在重要Windows文件上写入的风险。(即使您不积极地做一些事情,这也是正确的;Linux在后台编写日志文件之类的东西。)
你没有“丢失的70 no”。您可能是GiB(混淆千兆字节(GB)和吉字节) gdisk使用后一个单元,但是磁盘制造商几乎总是使用前者。
最后,您的磁盘使用主启动记录(MBR)分区方案。用于显示分区的gdisk工具是为较新的GUID划分表(GPT)。编写的,尽管gdisk将显示分区,因为它会自动从MBR转换为GPT,更好(更安全)的选择是fdisk、parted和GParted。请不要理会贝恩关于在磁盘上使用FixParts的建议,除非你看到其他麻烦的迹象。在此上下文中,gdisk所指的“无效GPT”意味着不存在GPT。GPT: not present行在其输出中更清楚地表示了这一点。
https://askubuntu.com/questions/505415
复制相似问题