On Mon, Nov 2, 2015 at 10:09 PM, Phil Turmel <philip@xxxxxxxxxx> wrote: > On 11/02/2015 11:03 PM, o1bigtenor wrote: >> On Mon, Nov 2, 2015 at 7:55 PM, Phil Turmel <philip@xxxxxxxxxx> wrote: > >>> > Woo hoo! There's your ext4 superblock. >>> > >>> > Use "gdisk /dev/md0" and create a partition starting at sector 2048 and >>> > occupying the rest of the array. After you save that, you may need >>> > "partprobe /dev/md0" to rescan it. > > I specifically recommended gdisk because it works very much like fdisk, > but for gpt instead of dos. I don't ever use parted or gparted, so I > can't help you there. > > Try: > > man gdisk > > ;-) > > You might need "apt-get install gdisk" first. Sorry - - - meant gdisk then ??????? Looking at: root@debianbase:/# gdisk /dev/md0 GPT fdisk (gdisk) version 1.0.0 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): r Recovery/transformation command (? for help): ? b use backup GPT header (rebuilding main) c load backup partition table from disk (rebuilding main) d use main GPT header (rebuilding backup) e load main partition table from disk (rebuilding backup) f load MBR and build fresh GPT from it g convert GPT into MBR and exit h make hybrid MBR i show detailed information on a partition l load partition data from a backup file m return to main menu o print protective MBR data p print the partition table q quit without saving changes t transform BSD disklabel partition v verify disk w write table to disk and exit x extra functionality (experts only) ? print this menu Recovery/transformation command (? for help): q root@debianbase:/# gdisk /dev/md0 GPT fdisk (gdisk) version 1.0.0 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): x Expert command (? for help): ? a set attributes c change partition GUID d display the sector alignment value e relocate backup data structures to the end of the disk g change disk GUID h recompute CHS values in protective/hybrid MBR i show detailed information on a partition l set the sector alignment value m return to main menu n create a new protective MBR o print protective MBR data p print the partition table q quit without saving changes r recovery and transformation options (experts only) s resize partition table t transpose two partition table entries u replicate partition table on new device v verify disk w write table to disk and exit z zap (destroy) GPT data structures and exit ? print this menu doesn't really give me anything that seems even close to: create a partition starting at sector 2048 the man page really isn't clearer - - - n Create a new partition. This command is modelled after the equivalent fdisk option, although some differences exist. You enter a partition number, starting sector, and an ending sector. Both start and end sectors can be specified in absolute terms as sector numbers or as positions measured in kibibytes (K), mebibytes (M), gibibytes (G), tebibytes (T), or pebibytes (P); for instance, 40M specifies a position 40MiB from the start of the disk. You can specify locations relative to the start or end of the specified default range by preceding the number by a '+' or '-' symbol, as in +2G to specify a point 2GiB after the default start sector, or -200M to specify a point 200MiB before the last available sector. Pressing the Enter key with no input specifies the default value, which is the start of the largest available block for the start sec‐ tor and the end of the same block for the end sector. so I just do ? gdisk n 1 2048 1923518592 Will that change any of the data on the sectors? Please - - - is there any way of getting specific commands? Dee -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html