我知道已经提出了类似的问题(http://askubuntu.com/questions/35303/linux-swap-partition-is-in-extended-drive),但是分区对齐警告也有类似的问题。
我使用全磁盘/自动分区选项在640 GB的磁盘上安装了Ubuntu10.04。Ubiquity创建了以下模式:
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 76353 613297152 83 Linux
/dev/s
下面的图片(捕捉到的图形)显示了我的问题!
📷
sda1 -> Windows system reserved (created automatically by windows os) -> PRIMARY
sda2 -> Win 8.1 -> PRIMARY
sda3 -> Ubuntu -> PRIMARY
sda5 -> swap as a logical partition, marked as 'Beginning'
sda6 -> home partition as a logical partition, mark
在使用gdisk时,有一个选项可以指定十六进制代码。我想知道它是什么,为什么需要它,见下文。因此,例如,如果我在我的驱动器上创建一个软件RAID,我假设我需要代码fd00。但是为什么呢?它是什么,我要用它吗?为什么我不能使用8300创建raid数组(不管这意味着什么)?
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-5860533134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-5860533134, defaul
我正在为我的家Raspberry系统创建一个新的 Linux构建。我想为相同的文件创建一个单独的引导分区。我使用的是分区表。在使用gdisk创建新分区时,它促使我选择分区类型。我可以看到苹果、和的专用引导分区类型,但对于一般的Linux则不然。
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): L
0700 Microsoft basic data 0c01 Microsoft reserved 2700 Windows RE
4200 Windows
我有一个1TB的外部硬盘,我最近在上面安装了Ubuntu。在我有一些备份之前,我不想失去。因此,我为Ubuntu创建了一个新的分区。在此过程中,我一定是以某种方式将备份分区的类型从ext4更改为交换(虽然我不记得这么做,但这就是G以来向我展示的)。这个新的交换分区从未被新安装的Ubuntu使用过,它有自己的交换分区。尽管我认为可能性很大:有什么方法可以从备份(现在是交换)分区中取回数据吗?
为了澄清这种情况,下面是设备的当前分区表:
Partition Start End Size in sectors
1 * Linux Sw
在试图解决Windows问题时,我使用的工具删除了一些分区。我使用TestDisk来恢复分区。
虽然它成功地恢复了我的所有数据分区,但它无法恢复我的交换分区。通常,这并不是什么大问题,因为创建另一个交换分区很容易。但是,在这种情况下,它也找不到扩展分区,所以所有恢复的分区都是主分区,而不是逻辑分区。现在,我不能再创造了。
我想重新创建事件前fstab中显示的布局:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for
下面显示的是我当前的分区配置(应该是三重引导),
350MB partition for bootloader and MBR of Windows, I guess
100GB partition for Windows 8.1
45.02GB partition for Ubuntu Gnome 14.04 LTS (/)
30.08GB partition for Arch Linux (/)
5.08GB for Swap (/swap for both arch and ubuntu)
📷
每次安装新操作系统或重新安装操作系统时,我都会破坏grub配置。尽管在这个网站上已经出现了许多
我有3个分区(linux、extended ),我需要将我的活动分区(linux)扩展到这些分区之后可用的空间。
更多信息:
#fdisk /dev/vda
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/vda: 164 GiB, 176093659136 bytes, 3
我的服务器有4个主分区,数据我无法删除,但我需要扩展hdd,因为它正在耗尽空间。我已经增加了vmdk文件的大小,但是当我试图创建一个分区时,我得到了消息You must delete some partition and add an extended partition first,但关键是我不能删除一个分区.
root@webhost [~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0
我想要使用我的硬盘的未分配空间,我想要创建一个新的驱动器或文件系统的地方,并希望使用。我怎么能这么做。
当我尝试创建另一个分区时,它给了我“无法创建分区,已经有4个主分区”的信息。
下面是我在GParted中看到的内容:
/dev/sda1 ext4 /home size used unused flag
/dev/sda2 extended size used unused flag
/dev/sda5 ext4 /opt size used unused flag
/dev/sda3 ext4 / size used unused flag
/dev/sda3 linux-swap
当我试图在/dev/sda5窗口上安装windows xp时,告诉我它不能在/dev/sda1上写入
我怎样才能在/dev/sda5上安装windows而不搞砸一些事情,或者不可能在这个分区上安装windows?
cfdisk (util-linux-ng 2.17.2)
Disk Drive: /dev/sda
Size: 250059350016 bytes, 250.0 GB
Heads: 240
Sectors per Track: 63
Cylinders: 32301
Name Flags Part Type FS Type