Lines Matching refs:cout
76 cout << "Found valid MBR and GPT. Which do you want to use?\n";
82 cout << "Using GPT and creating fresh protective MBR.\n";
90 cout << "Found valid MBR and corrupt GPT. Which do you want to use? (Using the\n"
99 cout << "Found invalid MBR and corrupt GPT. What do you want to do? (Using the\n"
126 cout << "Specified partition doesn't have a disklabel partition type "
165 cout << "Current partition table size is " << numParts << ".\n";
174 cout << "Caution: The partition table size should officially be 16KB or larger,\n"
191 cout << "Currently, main partition table begins at sector " << mainHeader.partitionEntriesLBA
198 cout << "Aborting change!\n";
209 cout << "Currently, backup partition table begins at sector " << secondHeader.partitionEntriesLBA
218 cout << "Aborting change!\n";
247 cout << "partition " << partNum + 1 << " is in use.\n";
258 cout << "Information: Moved requested sector from " << origSector << " to "
262 cout << "Use 'l' on the experts' menu to adjust alignment\n";
281 cout << "No table partition entries left\n";
283 cout << "No free sectors available\n";
298 cout << "No partitions\n";
311 cout << "No partitions\n";
324 cout << "Enter the partition's new unique GUID ('R' to randomize): ";
328 cout << "New GUID is " << partitions[partNum].GetUniqueGUID() << "\n";
330 cout << "GUID is too short!\n";
333 cout << "No partitions\n";
351 cout << "Enter name: ";
372 cout << "Current name is: " << partitions[partNum].GetDescription() << "\n";
374 cout << "Byte-swapped name is: " << partitions[partNum].GetDescription() << "\n";
375 cout << "Do you want to byte-swap the name? ";
402 cout << "No partitions\n";
413 cout << "WARNING: APM or BSD disklabel structures detected! This operation could\n"
416 cout << "\a\aAbout to wipe out GPT on " << device << ". Proceed? ";
424 cout << "Blank out MBR? ";
428 cout << "MBR is unchanged. You may need to delete an EFI GPT (0xEE) partition\n"
446 cout << "No partitions\n";
461 cout << "\nWARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,\n"
472 cout << "Type from one to three GPT partition numbers, separated by spaces, to be\n"
483 cout << "Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? ";
491 cout << "\nCreating entry for GPT partition #" << j + 1
496 cout << "Set the bootable flag? ";
531 cout << "\nUnused partition space(s) found. Use one to protect more partitions? ";
533 cout << "Note: Default is 0xEE, but this may confuse Mac OS X.\n";
542 cout << "\nNo partitions converted; original protective/hybrid MBR is unmodified!\n";
586 cout << prompt;
607 cout << "\a\nWarning! GPT partition " << partNum << " ends after the 2^32 sector mark! The partition\n"
629 cout << "\nCommand (? for help): ";
635 cout << "Enter backup filename to save: ";
642 cout << "No partitions\n";
657 cout << "This option deletes all partitions and creates a new protective MBR.\n"
676 cout << "You may need to edit /etc/fstab and/or your boot loader configuration!\n";
700 cout << "b\tback up GPT data to a file\n";
701 cout << "c\tchange a partition's name\n";
702 cout << "d\tdelete a partition\n";
703 cout << "i\tshow detailed information on a partition\n";
704 cout << "l\tlist known partition types\n";
705 cout << "n\tadd a new partition\n";
706 cout << "o\tcreate a new empty GUID partition table (GPT)\n";
707 cout << "p\tprint the partition table\n";
708 cout << "q\tquit without saving changes\n";
709 cout << "r\trecovery and transformation options (experts only)\n";
710 cout << "s\tsort partitions\n";
711 cout << "t\tchange a partition's type code\n";
712 cout << "v\tverify disk\n";
713 cout << "w\twrite table to disk and exit\n";
714 cout << "x\textra functionality (experts only)\n";
715 cout << "?\tprint this menu\n";
725 cout << "\nRecovery/transformation command (? for help): ";
734 cout << "Warning! This will probably do weird things if you've converted an MBR to\n"
743 cout << "Warning! This will probably do weird things if you've converted an MBR to\n"
749 cout << "Warning! This will destroy the currently defined partitions! Proceed? ";
754 cout << "Problem loading MBR! GPT is untouched; regenerating protective MBR!\n";
763 cout << "\nConverted " << temp1 << " partitions. Finalize and exit? ";
771 cout << "Note: New protective MBR created\n\n";
781 cout << "Enter backup filename to load: ";
820 cout << "b\tuse backup GPT header (rebuilding main)\n";
821 cout << "c\tload backup partition table from disk (rebuilding main)\n";
822 cout << "d\tuse main GPT header (rebuilding backup)\n";
823 cout << "e\tload main partition table from disk (rebuilding backup)\n";
824 cout << "f\tload MBR and build fresh GPT from it\n";
825 cout << "g\tconvert GPT into MBR and exit\n";
826 cout << "h\tmake hybrid MBR\n";
827 cout << "i\tshow detailed information on a partition\n";
828 cout << "l\tload partition data from a backup file\n";
829 cout << "m\treturn to main menu\n";
830 cout << "o\tprint protective MBR data\n";
831 cout << "p\tprint the partition table\n";
832 cout << "q\tquit without saving changes\n";
833 cout << "t\ttransform BSD disklabel partition\n";
834 cout << "v\tverify disk\n";
835 cout << "w\twrite table to disk and exit\n";
836 cout << "x\textra functionality (experts only)\n";
837 cout << "?\tprint this menu\n";
851 cout << "\nExpert command (? for help): ";
860 cout << "No partitions\n";
869 cout << "Partitions will begin on " << GetAlignment()
873 cout << "Relocating backup data structures to the end of the disk\n";
880 cout << "Enter the disk's unique GUID ('R' to randomize): ";
884 cout << "The new disk GUID is " << GetDiskGUID() << "\n";
886 cout << "GUID is too short!\n";
935 cout << "Type device filename, or press <Enter> to exit: ";
964 cout << "a\tset attributes\n";
965 cout << "b\tbyte-swap a partition's name\n";
966 cout << "c\tchange partition GUID\n";
967 cout << "d\tdisplay the sector alignment value\n";
968 cout << "e\trelocate backup data structures to the end of the disk\n";
969 cout << "f\trandomize disk and partition unique GUIDs\n";
970 cout << "g\tchange disk GUID\n";
971 cout << "h\trecompute CHS values in protective/hybrid MBR\n";
972 cout << "i\tshow detailed information on a partition\n";
973 cout << "j\tmove the main partition table\n";
974 cout << "k\tmove the backup partition table\n";
975 cout << "l\tset the sector alignment value\n";
976 cout << "m\treturn to main menu\n";
977 cout << "n\tcreate a new protective MBR\n";
978 cout << "o\tprint protective MBR data\n";
979 cout << "p\tprint the partition table\n";
980 cout << "q\tquit without saving changes\n";
981 cout << "r\trecovery and transformation options (experts only)\n";
982 cout << "s\tresize partition table\n";
983 cout << "t\ttranspose two partition table entries\n";
984 cout << "u\treplicate partition table on new device\n";
985 cout << "v\tverify disk\n";
986 cout << "w\twrite table to disk and exit\n";
987 cout << "z\tzap (destroy) GPT data structures and exit\n";
988 cout << "?\tprint this menu\n";
1008 cout.setf(ios::uppercase);
1009 cout.fill('0');
1011 cout << "Enter an MBR hex code (default " << hex;
1012 cout.width(2);
1013 cout << defType << "): " << dec;
1020 cout.fill(' ');