파티션을 디스크의 시작 부분으로 조금 옮기는 방법은 무엇입니까? 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 컨테이너입니다. 그러나 파티션 이동기가 파일 시스템 내부를 들여다보아야한다고 생각하지 않습니다.
—
Vi.
gparted
비슷한 상황에서 나를 위해 잘했습니다.
아마 결국 그들은 이것을 구현했을까요?
—
Vi.
fdisk
한 다음 이동할 수 있습니다.