I have an acer V7 which came with a 1TB HDD, 24GB SSD and Windows 8 installed. I have installed Ubuntu onto the SSD and formatted the main partitions of the HDD. However, I also notice 3 other partitions on the HDD marked msftres, msftdata. Is it safe to format these also so that I have one contiguous drive partition or will I be wiping something important like boot or bios data?
Partitioning – Is It Safe to Format msftres, msftdata, and Hidden Partitions?
gpthard driveinstallationpartitioningssd
Best Answer
The "flags" shown in
parted
or GParted can refer to different things. Some of the common ones on GPT disks include:C:
partition and perhaps recovery or data partitions. You should not delete or change them unless you understand precisely what type of data is on the partition and want to delete it. Note that Linux used to use the same type code for its own partitions, so you might see this flag on a Linux partition, too. Two years ago a new Linux-specific type code was created, and Linux partitions with that type code will show up as having no flag set. Versions of libparted that recognize the new Linux-specific type code are only just becoming available. The "msftdata flag" appeared with that same new version of libparted./boot
partition. Note that the "boot flag" has an entirely different meaning on MBR disks. On such disks, it's common to set the "boot flag" on a Linux/boot
or/
partition, although it's not usually required to do so.You can read about more about these, and other GPT type codes, in the Wikipedia entry on GPT. Note that the "flag" names assigned by
parted
and GParted are specific to libparted. Other tools, like GPT fdisk or the Windows partitioning tools, have other ways to refer to GPT type codes. (Few programs use the codes directly, since they're long and awkward hexadecimal numbers.)Note also that libparted uses the same "flag" concept to identify two entirely different data structures: partition type codes and partition attributes. Type codes are mutually exclusive; a partition can be an ESP or a Microsoft Basic Data partition, but not both. Thus, if you remove the "boot flag" on an ESP, it will likely pop up with an "msftdata flag," since ESPs use FAT, and FAT partitions get the "msftdata flag" by default. (In older versions of libparted, the "msftdata flag" doesn't exist, so the partition would have no flag.) A partition can have multiple attributes, though, so it could have both the "hidden flag" and the "legacy_boot" flag set. It could also have a type-code flag set, like those two plus "bios_grub". This dual use of the "flag" concept is confusing. GPT fdisk (
gdisk
and related programs) separates these concepts, using two-byte hexadecimal codes (like EF00 or 8300) for type codes and reporting attributes as such.