Welcome to the Linux Foundation Forum!

setting partition type

I am doing Lab 23.1. Logical Volumes and created two partitions. It suggests setting the partition type to 8e, however, it doesn't give "8e" option in the type list. I do see one of aliases "lvm" in the aliases list. Is it the same thing as "8e"?
Thanks in advance.

Answers

  • coop
    coop Posts: 882

    8e is definitely in the type list for sure (after 88). In reality Linux doesn't care any more what you put for Type, it identifies the parition by how they are formatted, this is more historical than anything else
    Just do a good look when doing fdisk, you will see 8e.

  • ariesjamie
    ariesjamie Posts: 12

    @coop said:
    8e is definitely in the type list for sure (after 88). In reality Linux doesn't care any more what you put for Type, it identifies the parition by how they are formatted, this is more historical than anything else
    Just do a good look when doing fdisk, you will see 8e.

    Thanks coop for your quick reply. I copied over all types starting with 8 below. There is no 8e, is there anything else I missed?

    80 NetBSD LFS 49F48D82-B10E-11DC-B99B-0019D1879648
    81 NetBSD concatenated 2DB519C4-B10E-11DC-B99B-0019D1879648
    82 NetBSD encrypted 2DB519EC-B10E-11DC-B99B-0019D1879648
    83 NetBSD RAID 49F48DAA-B10E-11DC-B99B-0019D1879648
    84 ChromeOS kernel FE3A2A5D-4F32-41A7-B725-ACCC3285A309
    85 ChromeOS root fs 3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC
    86 ChromeOS reserved 2E0A753D-9E48-43B0-8337-B15192CB1B5E
    87 MidnightBSD data 85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7
    88 MidnightBSD boot 85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7
    89 MidnightBSD swap 85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7
    90 MidnightBSD UFS 0394EF8B-237E-11E1-B4B3-E89A8F7FC3A7

    Aliases:
    linux - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
    swap - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
    home - 933AC7E1-2EB4-4F13-B844-0E14E2AEF915
    uefi - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    raid - A19D880F-05FC-4D3B-A006-743F0F84911E
    lvm - E6D6D379-F507-44C2-A23C-238F2A3DF928
    Partition type or alias (type L to list all): lvm

  • coop
    coop Posts: 882

    I'm not sure how you are generating your list. If you do say sudo fdisk /dev/sda or sudo gdisk /dev/sda the 8e type is quit clear. Your list is incomplete

  • ariesjamie
    ariesjamie Posts: 12

    @coop said:
    I'm not sure how you are generating your list. If you do say sudo fdisk /dev/sda or sudo gdisk /dev/sda the 8e type is quit clear. Your list is incomplete

    I used "sudo fdisk /dev/mmcblk0". My disk name is not sd*. Is it the cause?

  • coop
    coop Posts: 882

    I do not know. this looks like either an SD card on an embedded board or Android. I am not that familiar with any peculiarities of such devices with fdisk. Unless it is your distribution being rather unusual. You did not say what your hardware/software are.

  • ariesjamie
    ariesjamie Posts: 12

    @coop said:
    I do not know. this looks like either an SD card on an embedded board or Android. I am not that familiar with any peculiarities of such devices with fdisk. Unless it is your distribution being rather unusual. You did not say what your hardware/software are.

    The hardware device is a samsung chromebook, I wiped its ChromeOS and installed Ubuntu on it. Thanks anyway, coop:)

Categories

Upcoming Training