Fdisk sees partitions, parted does not (boot fails)
by snoopy46 from LinuxQuestions.org on (#4RD3V)
Hi,
I have a most urgent question for which I haven't been able to find an answer.
Here's the fdisk output:
ommand (m for help): p
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PM951 NVMe SAMSUNG 256GB
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: dos
Disk identifier: 0x56ea060b
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 659456 854015 194560 95M ee GPT
/dev/nvme0n1p2 34816 659455 624640 305M 83 Linux
/dev/nvme0n1p3 854016 63768575 62914560 30G 83 Linux
/dev/nvme0n1p4 63768576 500118191 436349616 208.1G 83 Linux
Partition table entries are not in disk order.
I can't see an obvious problem.
parted -l gives
Error: /dev/nvme0n1: unrecognised disk label
Model: PM951 NVMe SAMSUNG 256GB (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
And the system falls into grub rescue.
Any ideas?
The last partition is critical, I can't loose it.
Regards,
Andrew


I have a most urgent question for which I haven't been able to find an answer.
Here's the fdisk output:
ommand (m for help): p
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PM951 NVMe SAMSUNG 256GB
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: dos
Disk identifier: 0x56ea060b
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 659456 854015 194560 95M ee GPT
/dev/nvme0n1p2 34816 659455 624640 305M 83 Linux
/dev/nvme0n1p3 854016 63768575 62914560 30G 83 Linux
/dev/nvme0n1p4 63768576 500118191 436349616 208.1G 83 Linux
Partition table entries are not in disk order.
I can't see an obvious problem.
parted -l gives
Error: /dev/nvme0n1: unrecognised disk label
Model: PM951 NVMe SAMSUNG 256GB (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
And the system falls into grub rescue.
Any ideas?
The last partition is critical, I can't loose it.
Regards,
Andrew