我需要划分我的USB记忆棒分为两部分。
具体来说,我的目标是在第二个分区上安装 Windows-to-go,并将第一个分区用作我的 Linux 发行版的多重引导设备;这些发行版已经安装在上面,所以我更喜欢不删除当前分区,如果可能的话,所以我想只调整它的大小而不影响文件。
到目前为止,这就是我一直在尝试做的事情:
我插入了 USB 记忆棒,我可以打开和浏览文件,甚至可以将它们复制粘贴到上面,创建文件夹等等,所以显然它没有任何问题。我跑格帕特在卡利Linux并选择了该设备,它可以看到它,但感叹号出现在它上面,当我右键单击并尝试调整大小当前分区我不能做吧。通过单击感叹号,我得到以下内容错误(请参阅中间灰色窗口中的消息,它表示设备未安装):
在消息的末尾,它还说我可能错过了两个包裹(多斯夫工具和工具箱),然后我跑去apt-get install
获取它们,但它们似乎已经安装了。
此外,在终端上我运行parted -l
并fdisk -l
获得以下输出:
1)parted -l
给出->
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 968GB 968GB primary ntfs boot
2 968GB 1000GB 32,2GB extended
5 968GB 999GB 30,9GB logical ext4
6 999GB 1000GB 1356MB logical linux-swap(v1)
Model: ATA INTEL SSDSC2CW06 (scsi)
Disk /dev/sdb: 60,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 105MB 104MB primary ntfs boot
2 106MB 60,0GB 59,9GB primary ntfs
Model: KINGSTON DataTraveler 3.0 (scsi)
Disk /dev/sdc: 15,6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0,00B 15,6GB 15,6GB fat32
2)fdisk -l
给出->
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 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: 0x26443af5
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 204799 101376 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 117227519 58510336 7 HPFS/NTFS/exFAT
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xfe2335fe
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1890607103 945302528 7 HPFS/NTFS/exFAT
/dev/sda2 1890609150 1953523711 31457281 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 1890609152 1950873599 30132224 83 Linux
/dev/sda6 1950875648 1953523711 1324032 82 Linux swap / Solaris
Disk /dev/sdc: 15.6 GB, 15552479232 bytes
64 heads, 32 sectors/track, 14832 cylinders, total 30375936 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: 0x20ac7dda
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdc1 ? 3224498923 3657370039 216435558+ 7 HPFS/NTFS/exFAT
/dev/sdc2 ? 3272020941 5225480974 976730017 16 Hidden FAT16
/dev/sdc3 ? 0 0 0 6f Unknown
/dev/sdc4 50200576 974536369 462167897 0 Empty
Partition table entries are not in disk order
答案1
从上面的输出(下面重复)来看,USB 设备不包含分区表。相反,该设备完全使用从 0 开始的 fat32 文件系统进行格式化。这意味着设备的开头没有为分区表留下任何空间。
Model: KINGSTON DataTraveler 3.0 (scsi)
Disk /dev/sdc: 15,6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0,00B 15,6GB 15,6GB fat32
如果您希望使用没有分区表的设备,则至少使用 GParted v0.22.0。目前 GParted 的最新版本是 0.25.0。