On 01/07/2020 21.38, Michael Fischer wrote:
On Wed, Jul 01, Carlos E. R. wrote:
On 30/06/2020 23.31, Michael Fischer wrote:
On Sun, Jun 28, Carlos E. R. wrote:
fdisk would do.
~# fdisk /dev/nvme0n1
Understood, but (silly question), is this "safe" to run on a live system?
I believe so, yes.
Before:
$ fdisk -l /dev/nvme0n1 ...
Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1026047 1024000 500M Microsoft basic data /dev/nvme0n1p2 3147776 500117503 496969728 237G Linux filesystem
During:
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
Do you want to proceed? (Y/N): Y OK; writing new GUID partition table (GPT) to /dev/nvme0n1. Warning: The kernel is still using the old partition table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) The operation has completed successfully
You can run "partprobe" at this point. The message is superfluous after such a trivial change to the partition table as you did, but anyway... :)
After:
$ fdisk -l /dev/nvme0n1 .....
Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1026047 1024000 500M EFI System /dev/nvme0n1p2 3147776 500117503 496969728 237G Linux filesystem
Thanks all. Fingers crossed.
Welcome. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)