On Sun, Jun 28, Carlos E. R. wrote:
fdisk would do.
~# fdisk /dev/nvme0n1
Welcome to fdisk (util-linux 2.33.1). 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/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors Disk model: Samsung SSD 970 EVO Plus 500GB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 40891E95-...
Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1026047 1024000 500M Microsoft basic data /dev/nvme0n1p2 42969088 252684287 209715200 100G Linux swap /dev/nvme0n1p3 252684288 315598847 62914560 30G Linux filesystem /dev/nvme0n1p4 315598848 317702143 2103296 1G Linux filesystem /dev/nvme0n1p5 317702144 632270847 314568704 150G Linux filesystem
Command (m for help):
Help:
GPT M enter protective/hybrid MBR
Generic d delete a partition F list free unpartitioned space l list known partition types n add a new partition p print the partition table t change a partition type <=====
Command (m for help): t Partition number (1-5, default 5): 1 Partition type (type L to list all types): L 1 EFI System C12A7328-F81F-11D2-BA4B-00A0C93EC93B <=== 2 MBR partition scheme 024DEE41-33E7-11D3-9D69-0008C781F39F 3 Intel Fast Flash D3BFE2DE-3DAF-11DF-BA40-E3A556D89593 ... q
Understood, but (silly question), is this "safe" to run on a live system? Thanks Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org