分区问题

分区问题

我正在使用 Ubuntu 14.04。每当我打开 GParted 时,都会收到 libparted bug found 错误:

Error informing the kernel about modifications to partition /dev/sda2 -- Device or resource busy.  
This means Linux won't know about any changes you made to /dev/sda2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.

当我按下忽略按钮时,将打开以下窗口:

在此处输入图片描述

但是当我按“取消”时,我得到:

Failed to add partition 2 (Device or resource busy)

我也尝试过fdisk -l并遇到了一个问题:

prateek@prateek-Lenovo-G500:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xd9fa2484
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     2050047     1024000    b  W95 FAT32
/dev/sda2         2050055   976773119   487361532+   f  W95 Ext'd (LBA)

Partition 2 does not start on physical sector boundary.
/dev/sda5         2050056   415619071   206784508    7  HPFS/NTFS/exFAT
/dev/sda6       415621120   498724863    41551872   83  Linux
/dev/sda7       498726912   968169471   234721280    7  HPFS/NTFS/exFAT
/dev/sda8       968171520   976773119     4300800   82  Linux swap / Solaris

我被困在这里,不知道如何解决这个问题。有人能帮帮我吗?

相关内容