如何将分区稍微移到磁盘的开头?Parted出于某种原因想要一个文件系统(我不知道为什么),我只想将所有扇区都向左移动...
r@l:15:32:45:~# parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: HGST HTS 541010A9E680 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 32.2GB 32.2GB primary fat32
2 32.2GB 37.6GB 5360MB primary
3 37.6GB 1000GB 963GB primary
(parted) move 3
WARNING: you are attempting to use parted to operate on (move) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs. We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Error: Could not detect file system.
因此实际上是LUKS容器。但是我不认为分区移动器应该在文件系统内部进行查看。
—
六。
gparted
在类似情况下对我来说做得很好。
也许最终他们已经实施了这个?
—
六。
Parted vesion 3.2没有“移动”选项。
—
Lenne
fdisk
然后将其移动。