Why fdisk & gparted disk types do not match?
/dev/sda1 (partition) output from fdisk:
Code:
Disklabel type: dos Are not all partitions on a physical volume the same partition table format? |
/dev/sda1 is a partition but you then mention disk label as in partition table or MBR. So in this you have two different things.
See what /dev/sda says. |
Without seeing the output from fdisk it is not possible to understand the problem.
Quote:
|
Not sure how a hybrid would show up.
|
FDISK and GPARTED show different things because you have them POINTED to different things.
From what I can tell (with possibly inadequate information) your /dev/sda disk has a GPT/EFI table. IF it is a normal EFI format that means partition /dev/sda1 will be DOS/FAT format file system and /dev/sda2 will be some format of Linux partition. (most common is Linux(83) type which can contain almost any of the Linux filesystems. On my laptops usually EXT4 or BTRFS. ) You pointed GPARTED at the disk. You pointed FDISK at the DOS partition. I hope that makes the situation clear. |
Quote:
It is as if a partition is just another disk. But if, say, an OS demands a GPT/UEFI setup, will it be the disk or partition complying with the standard? |
I believe we basically are all saying the same thing. You specified the wrong device when running fdisk. Again it is possible to create a partition table within a partition itself like below. The drive itself is GPT and the partition table created within the first partition is MBR. While it is possible I don't know if can actually be used. Best to create a new filesystem.
Code:
root@debian:~# fdisk -l /dev/sdb |
Quote:
|
Quote:
It must have booted in two stages. There was some kind of BSD bootloader on the partition, which could be accessed with GRUB or reFind but not with elilo. |
Why fdisk & gparted disk types do not match?
The discrepancy between disk types in fdisk and gparted often occurs because they interpret disk types differently. fdisk typically categorizes disks based on their partition table type (e.g., MBR or GPT), while gparted categorizes disks based on their partitioning scheme (e.g., MBR, GPT, or unallocated space). This variation can lead to differences in the reported disk types between the two tools.
|
Quote:
He pointed one at the disk /dev/sda and the other at the PARTITION /dev/sda1 |
The first disk on any modern SATA-based system is always referred to by the operating system a /dev/sda therefore the partition scheme of a primary HDD SDD under UNIX-Like operating systems counts up from the bared disk by orders of 1 for example the first partition on the first disk would be addressed as /dev/sda1 and the partitions would count up from that.
|
All times are GMT -5. The time now is 06:07 AM. |