Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown MBR partition type "82" for /dev/sda5 #12

Open
dtouzeau opened this issue Jan 2, 2021 · 0 comments
Open

unknown MBR partition type "82" for /dev/sda5 #12

dtouzeau opened this issue Jan 2, 2021 · 0 comments

Comments

@dtouzeau
Copy link

dtouzeau commented Jan 2, 2021

When using swap partition, the tool failed to run

embiggen-disk -dry-run -verbose /
error: unknown MBR partition type "82" for /dev/sda5
**cat /proc/mounts** 
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=1551108k,nr_inodes=387777,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=312900k,mode=755 0 0
/dev/sda1 / ext4 rw,noatime,nodiratime,discard,nobarrier,errors=remount-ro,commit=120 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=1280520k 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
**fdisk -l**       
Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors
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: 0x81f4972e

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1  *        2048 14419967 14417920  6.9G 83 Linux
/dev/sda2       14422014 20969471  6547458  3.1G  5 Extended
/dev/sda5       14422016 20969471  6547456  3.1G 82 Linux swap / Solaris
**sfdisk -d /dev/sda**
label: dos
label-id: 0x81f4972e
device: /dev/sda
unit: sectors

/dev/sda1 : start=        2048, size=    14417920, type=83, bootable
/dev/sda2 : start=    14422014, size=     6547458, type=5
/dev/sda5 : start=    14422016, size=     6547456, type=82

Disk was extended but tool block on sda5 as a swap partition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant