[SETUPLIB][USETUP] Slightly modify how and when the HW system partition is detected and used.

CORE-16274

SETUPLIB:
=========

- Find the system partition initially when we create the list of
  partitions.

- Split the old CheckActiveSystemPartition() helper in two helpers:
  FindSupportedSystemPartition() and SetActivePartition(). This allows
  simplifying slightly the former one, and allows the user, in an
  interactive situation, to decide whether the "supported system
  partition" found can actually be used or not.

- Remove the "OriginalSystemPartition" hack in the PARTLIST structure.
- Add a note regarding the SystemPartition member in PARTLIST.

USETUP:
=======

- Use the introduced helpers from above. If the "system" partition we
  are going to use, in case we install ReactOS on a fixed disk, is *NOT*
  the same as the original one (e.g. because it is detected to be not
  supported by ReactOS...), display an informative screen to the user
  and let him confirm whether or not he wants to change the partition.

If we install on a fixed disk, try to find a supported system partition
on the system. Otherwise if we install on a removable disk, use the
install partition as the system partition instead.

This allows providing a fix for CORE-16274.
This commit is contained in:
Hermès Bélusca-Maïto
2019-08-25 02:38:53 +02:00
parent 626c654a10
commit 59acff79e5
30 changed files with 3549 additions and 349 deletions
+294 -221
View File
@@ -1883,10 +1883,147 @@ AddDiskToList(
ScanForUnpartitionedDiskSpace(DiskEntry); ScanForUnpartitionedDiskSpace(DiskEntry);
} }
/*
* Retrieve the system disk, i.e. the fixed disk that is accessible by the
* firmware during boot time and where the system partition resides.
* If no system partition has been determined, we retrieve the first disk
* that verifies the mentioned criteria above.
*/
static
PDISKENTRY
GetSystemDisk(
IN PPARTLIST List)
{
PLIST_ENTRY Entry;
PDISKENTRY DiskEntry;
/* Check for empty disk list */
if (IsListEmpty(&List->DiskListHead))
return NULL;
/*
* If we already have a system partition, the system disk
* is the one on which the system partition resides.
*/
if (List->SystemPartition)
return List->SystemPartition->DiskEntry;
/* Loop over the disks and find the correct one */
for (Entry = List->DiskListHead.Flink;
Entry != &List->DiskListHead;
Entry = Entry->Flink)
{
DiskEntry = CONTAINING_RECORD(Entry, DISKENTRY, ListEntry);
/* The disk must be a fixed disk and be found by the firmware */
if (DiskEntry->MediaType == FixedMedia && DiskEntry->BiosFound)
{
break;
}
}
if (Entry == &List->DiskListHead)
{
/* We haven't encountered any suitable disk */
return NULL;
}
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{
DPRINT1("System disk -- GPT-partitioned disk detected, not currently supported by SETUP!\n");
}
return DiskEntry;
}
/*
* Retrieve the actual "active" partition of the given disk.
* On MBR disks, partition with the Active/Boot flag set;
* on GPT disks, partition with the correct GUID.
*/
BOOLEAN
IsPartitionActive(
IN PPARTENTRY PartEntry)
{
// TODO: Support for GPT disks!
if (IsContainerPartition(PartEntry->PartitionType))
return FALSE;
/* Check if the partition is partitioned, used and active */
if (PartEntry->IsPartitioned &&
// !IsContainerPartition(PartEntry->PartitionType) &&
PartEntry->BootIndicator)
{
/* Yes it is */
ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED);
return TRUE;
}
return FALSE;
}
static
PPARTENTRY
GetActiveDiskPartition(
IN PDISKENTRY DiskEntry)
{
PLIST_ENTRY ListEntry;
PPARTENTRY PartEntry;
PPARTENTRY ActivePartition = NULL;
/* Check for empty disk list */
// ASSERT(DiskEntry);
if (!DiskEntry)
return NULL;
/* Check for empty partition list */
if (IsListEmpty(&DiskEntry->PrimaryPartListHead))
return NULL;
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{
DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n");
return NULL;
}
/* Scan all (primary) partitions to find the active disk partition */
for (ListEntry = DiskEntry->PrimaryPartListHead.Flink;
ListEntry != &DiskEntry->PrimaryPartListHead;
ListEntry = ListEntry->Flink)
{
/* Retrieve the partition */
PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry);
if (IsPartitionActive(PartEntry))
{
/* Yes, we've found it */
ASSERT(DiskEntry == PartEntry->DiskEntry);
ASSERT(PartEntry->IsPartitioned);
ActivePartition = PartEntry;
DPRINT1("Found active system partition %lu in disk %lu, drive letter %C\n",
PartEntry->PartitionNumber, DiskEntry->DiskNumber,
(PartEntry->DriveLetter == 0) ? L'-' : PartEntry->DriveLetter);
break;
}
}
/* Check if the disk is new and if so, use its first partition as the active system partition */
if (DiskEntry->NewDisk && ActivePartition != NULL)
{
// FIXME: What to do??
DPRINT1("NewDisk TRUE but already existing active partition?\n");
}
/* Return the active partition found (or none) */
return ActivePartition;
}
PPARTLIST PPARTLIST
CreatePartitionList(VOID) CreatePartitionList(VOID)
{ {
PPARTLIST List; PPARTLIST List;
PDISKENTRY SystemDisk;
OBJECT_ATTRIBUTES ObjectAttributes; OBJECT_ATTRIBUTES ObjectAttributes;
SYSTEM_DEVICE_INFORMATION Sdi; SYSTEM_DEVICE_INFORMATION Sdi;
IO_STATUS_BLOCK Iosb; IO_STATUS_BLOCK Iosb;
@@ -1904,7 +2041,6 @@ CreatePartitionList(VOID)
return NULL; return NULL;
List->SystemPartition = NULL; List->SystemPartition = NULL;
List->OriginalSystemPartition = NULL;
InitializeListHead(&List->DiskListHead); InitializeListHead(&List->DiskListHead);
InitializeListHead(&List->BiosDiskListHead); InitializeListHead(&List->BiosDiskListHead);
@@ -1957,6 +2093,13 @@ CreatePartitionList(VOID)
UpdateHwDiskNumbers(List); UpdateHwDiskNumbers(List);
AssignDriveLetters(List); AssignDriveLetters(List);
/*
* Retrieve the system partition: the active partition on the system
* disk (the one that will be booted by default by the hardware).
*/
SystemDisk = GetSystemDisk(List);
List->SystemPartition = (SystemDisk ? GetActiveDiskPartition(SystemDisk) : NULL);
return List; return List;
} }
@@ -3093,14 +3236,10 @@ DeletePartition(
ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED); ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED);
/* Clear the system partition pointers if it is being deleted */ /* Clear the system partition if it is being deleted */
if (List->SystemPartition == PartEntry) if (List->SystemPartition == PartEntry)
{ {
ASSERT(List->SystemPartition); ASSERT(List->SystemPartition);
ASSERT(List->SystemPartition->DiskEntry->MediaType != RemovableMedia);
if (List->SystemPartition == List->OriginalSystemPartition)
List->OriginalSystemPartition = NULL;
List->SystemPartition = NULL; List->SystemPartition = NULL;
} }
@@ -3209,90 +3348,6 @@ DeletePartition(
return TRUE; return TRUE;
} }
/*
* Retrieve the actual "active" partition of the given disk.
* On MBR disks, partition with the Active/Boot flag set;
* on GPT disks, partition with the correct GUID.
*/
BOOLEAN
IsPartitionActive(
IN PPARTENTRY PartEntry)
{
// TODO: Support for GPT disks!
if (IsContainerPartition(PartEntry->PartitionType))
return FALSE;
/* Check if the partition is partitioned, used and active */
if (PartEntry->IsPartitioned &&
// !IsContainerPartition(PartEntry->PartitionType) &&
PartEntry->BootIndicator)
{
/* Yes it is */
ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED);
return TRUE;
}
return FALSE;
}
static
PPARTENTRY
GetActiveDiskPartition(
IN PDISKENTRY DiskEntry)
{
PLIST_ENTRY ListEntry;
PPARTENTRY PartEntry;
PPARTENTRY ActivePartition = NULL;
/* Check for empty disk list */
// ASSERT(DiskEntry);
if (!DiskEntry)
return NULL;
/* Check for empty partition list */
if (IsListEmpty(&DiskEntry->PrimaryPartListHead))
return NULL;
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{
DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n");
return NULL;
}
/* Scan all (primary) partitions to find the active disk partition */
for (ListEntry = DiskEntry->PrimaryPartListHead.Flink;
ListEntry != &DiskEntry->PrimaryPartListHead;
ListEntry = ListEntry->Flink)
{
/* Retrieve the partition */
PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry);
if (IsPartitionActive(PartEntry))
{
/* Yes, we've found it */
ASSERT(DiskEntry == PartEntry->DiskEntry);
ASSERT(PartEntry->IsPartitioned);
ActivePartition = PartEntry;
DPRINT1("Found active system partition %lu in disk %lu, drive letter %C\n",
PartEntry->PartitionNumber, DiskEntry->DiskNumber,
(PartEntry->DriveLetter == 0) ? L'-' : PartEntry->DriveLetter);
break;
}
}
/* Check if the disk is new and if so, use its first partition as the active system partition */
if (DiskEntry->NewDisk && ActivePartition != NULL)
{
// FIXME: What to do??
DPRINT1("NewDisk TRUE but already existing active partition?\n");
}
/* Return the active partition found (or none) */
return ActivePartition;
}
static static
BOOLEAN BOOLEAN
IsSupportedActivePartition( IsSupportedActivePartition(
@@ -3374,12 +3429,12 @@ IsSupportedActivePartition(
return TRUE; return TRUE;
} }
VOID PPARTENTRY
CheckActiveSystemPartition( FindSupportedSystemPartition(
IN PPARTLIST List, IN PPARTLIST List,
IN BOOLEAN ForceSelect, IN BOOLEAN ForceSelect,
IN PDISKENTRY AlternateDisk OPTIONAL, IN PDISKENTRY AlternativeDisk OPTIONAL,
IN PPARTENTRY AlternatePart OPTIONAL) IN PPARTENTRY AlternativePart OPTIONAL)
{ {
PLIST_ENTRY ListEntry; PLIST_ENTRY ListEntry;
PDISKENTRY DiskEntry; PDISKENTRY DiskEntry;
@@ -3391,75 +3446,63 @@ CheckActiveSystemPartition(
if (IsListEmpty(&List->DiskListHead)) if (IsListEmpty(&List->DiskListHead))
{ {
/* No system partition! */ /* No system partition! */
List->SystemPartition = NULL; ASSERT(List->SystemPartition == NULL);
List->OriginalSystemPartition = NULL;
goto NoSystemPartition; goto NoSystemPartition;
} }
if (List->SystemPartition != NULL) /* Adjust the optional alternative disk if needed */
{ if (!AlternativeDisk && AlternativePart)
/* We already have an active system partition */ AlternativeDisk = AlternativePart->DiskEntry;
DPRINT1("Use the current system partition %lu in disk %lu, drive letter %C\n",
List->SystemPartition->PartitionNumber, /* Ensure that the alternative partition is on the alternative disk */
List->SystemPartition->DiskEntry->DiskNumber, if (AlternativePart)
(List->SystemPartition->DriveLetter == 0) ? L'-' : List->SystemPartition->DriveLetter); ASSERT(AlternativeDisk && (AlternativePart->DiskEntry == AlternativeDisk));
return;
} /* Ensure that the alternative disk is in the list */
if (AlternativeDisk)
ASSERT(AlternativeDisk->PartList == List);
/* Start fresh */ /* Start fresh */
List->SystemPartition = NULL; CandidatePartition = NULL;
List->OriginalSystemPartition = NULL;
/* Adjust the optional alternate disk if needed */
if (!AlternateDisk && AlternatePart)
AlternateDisk = AlternatePart->DiskEntry;
/* Ensure that the alternate partition is on the alternate disk */
if (AlternatePart)
ASSERT(AlternateDisk && (AlternatePart->DiskEntry == AlternateDisk));
/* Ensure that the alternate disk is in the list */
if (AlternateDisk)
ASSERT(AlternateDisk->PartList == List);
// //
// Pass == 1 : Check the first (system) disk. // Step 1 : Check the system disk.
// //
/* /*
* First, check whether the first disk (the one that will be booted * First, check whether the system disk, i.e. the one that will be booted
* by default by the hardware) contains an active partition. If so * by default by the hardware, contains an active partition. If so this
* this should be our system partition. * should be our system partition.
*/ */
DiskEntry = CONTAINING_RECORD(List->DiskListHead.Flink, DiskEntry = GetSystemDisk(List);
DISKENTRY, ListEntry);
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{ {
DPRINT1("First (system) disk -- GPT-partitioned disk detected, not currently supported by SETUP!\n"); DPRINT1("System disk -- GPT-partitioned disk detected, not currently supported by SETUP!\n");
goto UseAlternateDisk; goto UseAlternativeDisk;
} }
ActivePartition = GetActiveDiskPartition(DiskEntry); /* If we have a system partition (in the system disk), validate it */
if (ActivePartition) ActivePartition = List->SystemPartition;
if (ActivePartition && IsSupportedActivePartition(ActivePartition))
{ {
/* Save the actual system partition */ CandidatePartition = ActivePartition;
List->OriginalSystemPartition = ActivePartition;
/* If we get a candidate active partition in the first disk, validate it */ DPRINT1("Use the current system partition %lu in disk %lu, drive letter %C\n",
if (IsSupportedActivePartition(ActivePartition)) CandidatePartition->PartitionNumber,
{ CandidatePartition->DiskEntry->DiskNumber,
CandidatePartition = ActivePartition; (CandidatePartition->DriveLetter == 0) ? L'-' : CandidatePartition->DriveLetter);
goto SystemPartitionFound;
} /* Return the candidate system partition */
return CandidatePartition;
} }
/* If this first disk is not the optional alternate disk, perform the minimal checks */ /* If the system disk is not the optional alternative disk, perform the minimal checks */
if (DiskEntry != AlternateDisk) if (DiskEntry != AlternativeDisk)
{ {
/* /*
* No active partition has been recognized. Enumerate all the (primary) * No active partition has been recognized. Enumerate all the (primary)
* partitions in the first disk, excluding the possible current active * partitions in the system disk, excluding the possible current active
* partition, to find a new candidate. * partition, to find a new candidate.
*/ */
for (ListEntry = DiskEntry->PrimaryPartListHead.Flink; for (ListEntry = DiskEntry->PrimaryPartListHead.Flink;
@@ -3470,7 +3513,7 @@ CheckActiveSystemPartition(
PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry); PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry);
/* Skip the current active partition */ /* Skip the current active partition */
if (/* ActivePartition != NULL && */ PartEntry == ActivePartition) if (PartEntry == ActivePartition)
continue; continue;
/* Check if the partition is partitioned and used */ /* Check if the partition is partitioned and used */
@@ -3479,11 +3522,11 @@ CheckActiveSystemPartition(
{ {
ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED); ASSERT(PartEntry->PartitionType != PARTITION_ENTRY_UNUSED);
/* If we get a candidate active partition in the first disk, validate it */ /* If we get a candidate active partition in the disk, validate it */
if (IsSupportedActivePartition(PartEntry)) if (IsSupportedActivePartition(PartEntry))
{ {
CandidatePartition = PartEntry; CandidatePartition = PartEntry;
goto FindAndUseAlternativeSystemPartition; goto UseAlternativePartition;
} }
} }
@@ -3495,7 +3538,7 @@ CheckActiveSystemPartition(
// TODO: Check for minimal size!! // TODO: Check for minimal size!!
CandidatePartition = PartEntry; CandidatePartition = PartEntry;
goto FindAndUseAlternativeSystemPartition; goto UseAlternativePartition;
} }
#endif #endif
} }
@@ -3520,7 +3563,7 @@ CheckActiveSystemPartition(
PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry); PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry);
/* Skip the current active partition */ /* Skip the current active partition */
if (/* ActivePartition != NULL && */ PartEntry == ActivePartition) if (PartEntry == ActivePartition)
continue; continue;
/* Check for unpartitioned space */ /* Check for unpartitioned space */
@@ -3530,7 +3573,7 @@ CheckActiveSystemPartition(
// TODO: Check for minimal size!! // TODO: Check for minimal size!!
CandidatePartition = PartEntry; CandidatePartition = PartEntry;
goto FindAndUseAlternativeSystemPartition; goto UseAlternativePartition;
} }
} }
} }
@@ -3538,33 +3581,30 @@ CheckActiveSystemPartition(
// //
// Pass == 2 : No active partition found: Check the alternate disk if specified. // Step 2 : No active partition found: Check the alternative disk if specified.
// //
UseAlternateDisk: UseAlternativeDisk:
if (!AlternateDisk || (!ForceSelect && (DiskEntry != AlternateDisk))) if (!AlternativeDisk || (!ForceSelect && (DiskEntry != AlternativeDisk)))
goto NoSystemPartition; goto NoSystemPartition;
if (AlternateDisk->DiskStyle == PARTITION_STYLE_GPT) if (AlternativeDisk->DiskStyle == PARTITION_STYLE_GPT)
{ {
DPRINT1("Alternate disk -- GPT-partitioned disk detected, not currently supported by SETUP!\n"); DPRINT1("Alternative disk -- GPT-partitioned disk detected, not currently supported by SETUP!\n");
goto NoSystemPartition; goto NoSystemPartition;
} }
if (DiskEntry != AlternateDisk) if (DiskEntry != AlternativeDisk)
{ {
/* Choose the alternate disk */ /* Choose the alternative disk */
DiskEntry = AlternateDisk; DiskEntry = AlternativeDisk;
/* If we get a candidate active partition, validate it */
ActivePartition = GetActiveDiskPartition(DiskEntry); ActivePartition = GetActiveDiskPartition(DiskEntry);
if (ActivePartition) if (ActivePartition && IsSupportedActivePartition(ActivePartition))
{ {
/* If we get a candidate active partition, validate it */ CandidatePartition = ActivePartition;
if (IsSupportedActivePartition(ActivePartition)) goto UseAlternativePartition;
{
CandidatePartition = ActivePartition;
goto FindAndUseAlternativeSystemPartition;
}
} }
} }
@@ -3575,7 +3615,7 @@ UseAlternateDisk:
*** - If we want a really separate system partition from the partition where *** - If we want a really separate system partition from the partition where
*** we install, do something similar to what's done below in the code. *** we install, do something similar to what's done below in the code.
*** - Otherwise if we allow for the system partition to be also the partition *** - Otherwise if we allow for the system partition to be also the partition
*** where we install, just directly fall down to using AlternatePart. *** where we install, just directly fall down to using AlternativePart.
***/ ***/
/* Retrieve the first partition of the disk */ /* Retrieve the first partition of the disk */
@@ -3597,15 +3637,13 @@ UseAlternateDisk:
{ {
ASSERT(DiskEntry == CandidatePartition->DiskEntry); ASSERT(DiskEntry == CandidatePartition->DiskEntry);
List->SystemPartition = CandidatePartition;
List->OriginalSystemPartition = List->SystemPartition;
DPRINT1("Use new first active system partition %lu in disk %lu, drive letter %C\n", DPRINT1("Use new first active system partition %lu in disk %lu, drive letter %C\n",
List->SystemPartition->PartitionNumber, CandidatePartition->PartitionNumber,
List->SystemPartition->DiskEntry->DiskNumber, CandidatePartition->DiskEntry->DiskNumber,
(List->SystemPartition->DriveLetter == 0) ? L'-' : List->SystemPartition->DriveLetter); (CandidatePartition->DriveLetter == 0) ? L'-' : CandidatePartition->DriveLetter);
goto SetSystemPartition; /* Return the candidate system partition */
return CandidatePartition;
} }
// FIXME: What to do?? // FIXME: What to do??
@@ -3638,81 +3676,116 @@ UseAlternateDisk:
* so use the first one as the system partition. * so use the first one as the system partition.
*/ */
ASSERT(DiskEntry == CandidatePartition->DiskEntry); ASSERT(DiskEntry == CandidatePartition->DiskEntry);
List->SystemPartition = CandidatePartition; // The first PartEntry
List->OriginalSystemPartition = List->SystemPartition;
DPRINT1("Use first active system partition %lu in disk %lu, drive letter %C\n", DPRINT1("Use first active system partition %lu in disk %lu, drive letter %C\n",
List->SystemPartition->PartitionNumber, CandidatePartition->PartitionNumber,
List->SystemPartition->DiskEntry->DiskNumber, CandidatePartition->DiskEntry->DiskNumber,
(List->SystemPartition->DriveLetter == 0) ? L'-' : List->SystemPartition->DriveLetter); (CandidatePartition->DriveLetter == 0) ? L'-' : CandidatePartition->DriveLetter);
goto SetSystemPartition; /* Return the candidate system partition */
return CandidatePartition;
} }
/* /*
* The disk is not new, we did not find any actual active partition, * The disk is not new, we did not find any actual active partition,
* or the one we found was not supported, or any possible other canditate * or the one we found was not supported, or any possible other candidate
* is not supported. We then use the alternate partition if specified. * is not supported. We then use the alternative partition if specified.
*/ */
if (AlternatePart) if (AlternativePart)
{ {
DPRINT1("No system partition found, use the alternative partition!\n"); DPRINT1("No valid or supported system partition has been found, use the alternative partition!\n");
CandidatePartition = AlternatePart; CandidatePartition = AlternativePart;
goto UseAlternativeSystemPartition; goto UseAlternativePartition;
} }
else else
{ {
NoSystemPartition: NoSystemPartition:
DPRINT1("No valid or supported system partition has been found on this system!\n"); DPRINT1("No valid or supported system partition has been found on this system!\n");
return; return NULL;
} }
UseAlternativePartition:
SystemPartitionFound:
ASSERT(CandidatePartition);
List->SystemPartition = CandidatePartition;
DPRINT1("Use existing active system partition %lu in disk %lu, drive letter %C\n",
List->SystemPartition->PartitionNumber,
List->SystemPartition->DiskEntry->DiskNumber,
(List->SystemPartition->DriveLetter == 0) ? L'-' : List->SystemPartition->DriveLetter);
return;
FindAndUseAlternativeSystemPartition:
/* /*
* We are here because we have not found any (active) candidate * We are here because we did not find any (active) candidate system
* system partition that we know how to support. What we are going * partition that we know how to support. What we are going to do is
* to do is to change the existing system partition and use the * to change the existing system partition and use the alternative partition
* partition on which we install ReactOS as the new system partition, * (e.g. on which we install ReactOS) as the new system partition.
* and then we will need to add in FreeLdr's entry a boot entry to boot * Then we will need to add in FreeLdr's boot menu an entry for booting
* from the original system partition. * from the original system partition.
*/ */
/* Unset the old system partition */
if (List->OriginalSystemPartition)
{
List->OriginalSystemPartition->BootIndicator = FALSE;
List->OriginalSystemPartition->DiskEntry->LayoutBuffer->PartitionEntry[List->OriginalSystemPartition->PartitionIndex].BootIndicator = FALSE;
List->OriginalSystemPartition->DiskEntry->LayoutBuffer->PartitionEntry[List->OriginalSystemPartition->PartitionIndex].RewritePartition = TRUE;
List->OriginalSystemPartition->DiskEntry->Dirty = TRUE;
}
UseAlternativeSystemPartition:
ASSERT(CandidatePartition); ASSERT(CandidatePartition);
List->SystemPartition = CandidatePartition;
DPRINT1("Use alternative active system partition %lu in disk %lu, drive letter %C\n", DPRINT1("Use alternative active system partition %lu in disk %lu, drive letter %C\n",
List->SystemPartition->PartitionNumber, CandidatePartition->PartitionNumber,
List->SystemPartition->DiskEntry->DiskNumber, CandidatePartition->DiskEntry->DiskNumber,
(List->SystemPartition->DriveLetter == 0) ? L'-' : List->SystemPartition->DriveLetter); (CandidatePartition->DriveLetter == 0) ? L'-' : CandidatePartition->DriveLetter);
SetSystemPartition: /* Return the candidate system partition */
/* Set the new active system partition */ return CandidatePartition;
List->SystemPartition->BootIndicator = TRUE; }
List->SystemPartition->DiskEntry->LayoutBuffer->PartitionEntry[List->SystemPartition->PartitionIndex].BootIndicator = TRUE;
List->SystemPartition->DiskEntry->LayoutBuffer->PartitionEntry[List->SystemPartition->PartitionIndex].RewritePartition = TRUE; BOOLEAN
List->SystemPartition->DiskEntry->Dirty = TRUE; SetActivePartition(
IN PPARTLIST List,
IN PPARTENTRY PartEntry,
IN PPARTENTRY OldActivePart OPTIONAL)
{
/* Check for empty disk list */
if (IsListEmpty(&List->DiskListHead))
return FALSE;
/* Validate the partition entry */
if (!PartEntry)
return FALSE;
/*
* If the partition entry is already the system partition, or if it is
* the same as the old active partition hint the user provided (and if
* it is already active), just return success.
*/
if ((PartEntry == List->SystemPartition) ||
((PartEntry == OldActivePart) && IsPartitionActive(OldActivePart)))
{
return TRUE;
}
ASSERT(PartEntry->DiskEntry);
/* Ensure that the partition's disk is in the list */
ASSERT(PartEntry->DiskEntry->PartList == List);
/*
* If the user provided an old active partition hint, verify that it is
* indeeed active and belongs to the same disk where the new partition
* belongs. Otherwise determine the current active partition on the disk
* where the new partition belongs.
*/
if (!(OldActivePart && IsPartitionActive(OldActivePart) && (OldActivePart->DiskEntry == PartEntry->DiskEntry)))
{
/* It's not, determine the current active partition for the disk */
OldActivePart = GetActiveDiskPartition(PartEntry->DiskEntry);
}
/* Unset the old active partition if it exists */
if (OldActivePart)
{
OldActivePart->BootIndicator = FALSE;
OldActivePart->DiskEntry->LayoutBuffer->PartitionEntry[OldActivePart->PartitionIndex].BootIndicator = FALSE;
OldActivePart->DiskEntry->LayoutBuffer->PartitionEntry[OldActivePart->PartitionIndex].RewritePartition = TRUE;
OldActivePart->DiskEntry->Dirty = TRUE;
}
/* Modify the system partition if the new partition is on the system disk */
if (PartEntry->DiskEntry == GetSystemDisk(List))
List->SystemPartition = PartEntry;
/* Set the new active partition */
PartEntry->BootIndicator = TRUE;
PartEntry->DiskEntry->LayoutBuffer->PartitionEntry[PartEntry->PartitionIndex].BootIndicator = TRUE;
PartEntry->DiskEntry->LayoutBuffer->PartitionEntry[PartEntry->PartitionIndex].RewritePartition = TRUE;
PartEntry->DiskEntry->Dirty = TRUE;
return TRUE;
} }
NTSTATUS NTSTATUS
+15 -15
View File
@@ -42,7 +42,7 @@ typedef struct _PARTENTRY
ULARGE_INTEGER StartSector; ULARGE_INTEGER StartSector;
ULARGE_INTEGER SectorCount; ULARGE_INTEGER SectorCount;
BOOLEAN BootIndicator; BOOLEAN BootIndicator; // NOTE: See comment for the PARTLIST::SystemPartition member.
UCHAR PartitionType; UCHAR PartitionType;
ULONG OnDiskPartitionNumber; /* Enumerated partition number (primary partitions first, excluding the extended partition container, then the logical partitions) */ ULONG OnDiskPartitionNumber; /* Enumerated partition number (primary partitions first, excluding the extended partition container, then the logical partitions) */
ULONG PartitionNumber; /* Current partition number, only valid for the currently running NTOS instance */ ULONG PartitionNumber; /* Current partition number, only valid for the currently running NTOS instance */
@@ -149,17 +149,11 @@ typedef struct _PARTLIST
* The corresponding system disk is obtained via: * The corresponding system disk is obtained via:
* SystemPartition->DiskEntry. * SystemPartition->DiskEntry.
*/ */
// NOTE: It seems to appear that the specifications of ARC and (u)EFI
// actually allow for multiple system partitions to exist on the system.
// If so we should instead rely on the BootIndicator bit of the PARTENTRY
// structure in order to find these.
PPARTENTRY SystemPartition; PPARTENTRY SystemPartition;
/*
* The original system partition in case we are redefining it because
* we do not have write support on it.
* Please note that this is partly a HACK and MUST NEVER happen on
* architectures where real system partitions are mandatory (because then
* they are formatted in FAT FS and we support write operation on them).
* The corresponding original system disk is obtained via:
* OriginalSystemPartition->DiskEntry.
*/
PPARTENTRY OriginalSystemPartition;
LIST_ENTRY DiskListHead; LIST_ENTRY DiskListHead;
LIST_ENTRY BiosDiskListHead; LIST_ENTRY BiosDiskListHead;
@@ -323,12 +317,18 @@ DeletePartition(
IN PPARTENTRY PartEntry, IN PPARTENTRY PartEntry,
OUT PPARTENTRY* FreeRegion OPTIONAL); OUT PPARTENTRY* FreeRegion OPTIONAL);
VOID PPARTENTRY
CheckActiveSystemPartition( FindSupportedSystemPartition(
IN PPARTLIST List, IN PPARTLIST List,
IN BOOLEAN ForceSelect, IN BOOLEAN ForceSelect,
IN PDISKENTRY AlternateDisk OPTIONAL, IN PDISKENTRY AlternativeDisk OPTIONAL,
IN PPARTENTRY AlternatePart OPTIONAL); IN PPARTENTRY AlternativePart OPTIONAL);
BOOLEAN
SetActivePartition(
IN PPARTLIST List,
IN PPARTENTRY PartEntry,
IN PPARTENTRY OldActivePart OPTIONAL);
NTSTATUS NTSTATUS
WritePartitions( WritePartitions(
+115 -5
View File
@@ -127,7 +127,7 @@ static MUI_ENTRY bgBGWelcomePageEntries[] =
"\x07 \215\240\342\250\341\255\245\342\245 L, \247\240 \244\240 \242\250\244\250\342\245 \340\240\247\340\245\350\250\342\245\253\255\250\342\245 (\253\250\346\245\255\247\255\250\342\245)", "\x07 \215\240\342\250\341\255\245\342\245 L, \247\240 \244\240 \242\250\244\250\342\245 \340\240\247\340\245\350\250\342\245\253\255\250\342\245 (\253\250\346\245\255\247\255\250\342\245)",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ {
8, 8,
20, 20,
" \250\247\250\341\252\242\240\255\250\357 \250 \343\341\253\256\242\250\357 \255\240 \220\245\240\252\342\216\221", " \250\247\250\341\252\242\240\255\250\357 \250 \343\341\253\256\242\250\357 \255\240 \220\245\240\252\342\216\221",
@@ -738,7 +738,8 @@ static MUI_ENTRY bgBGDisplayPageEntries[] =
"\220\245\350\250\253\250 \341\342\245 \244\240 \341\254\245\255\250\342\245 \242\250\244\240 \255\240 \245\252\340\240\255\240.", "\220\245\350\250\253\250 \341\342\245 \244\240 \341\254\245\255\250\342\245 \242\250\244\240 \255\240 \245\252\340\240\255\240.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 \210\247\241\245\340\245\342\245 \242\250\244\240 \255\240 \245\252\340\240\255\240 \341\352\341 \341\342\340\245\253\252\250\342\245 \255\240\243\256\340\245 \250 \255\240\244\256\253\343 \250 ", "\x07 \210\247\241\245\340\245\342\245 \242\250\244\240 \255\240 \245\252\340\240\255\240 \341\352\341 \341\342\340\245\253\252\250\342\245 \255\240\243\256\340\245 \250 \255\240\244\256\253\343 \250 ",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -939,6 +940,112 @@ static MUI_ENTRY bgBGSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY bgBGChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY bgBGConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY bgBGConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1384,7 +1491,6 @@ static MUI_ENTRY bgBGSelectFSEntries[] =
" ENTER = \217\340\256\244\352\253\246\240\242\240\255\245 ESC = \216\342\252\240\247 F3 = \210\247\345\256\244", " ENTER = \217\340\256\244\352\253\246\240\242\240\255\245 ESC = \216\342\252\240\247 F3 = \210\247\345\256\244",
TEXT_TYPE_STATUS TEXT_TYPE_STATUS
}, },
{ {
0, 0,
0, 0,
@@ -1705,14 +1811,14 @@ MUI_ERROR bgBGErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1779,6 +1885,10 @@ MUI_PAGE bgBGPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
bgBGSelectPartitionEntries bgBGSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
bgBGChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
bgBGConfirmDeleteSystemPartitionEntries bgBGConfirmDeleteSystemPartitionEntries
+118 -8
View File
@@ -729,7 +729,8 @@ static MUI_ENTRY bnBDDisplayPageEntries[] =
"You want to change the type of display to be installed.", "You want to change the type of display to be installed.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Press the UP or DOWN key to select the desired display type.", "\x07 Press the UP or DOWN key to select the desired display type.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -929,6 +930,112 @@ static MUI_ENTRY bnBDSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY bnBDChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY bnBDConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY bnBDConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1373,7 +1480,6 @@ static MUI_ENTRY bnBDSelectFSEntries[] =
"ENTER = Continue ESC = Cancel F3 = Quit", "ENTER = Continue ESC = Cancel F3 = Quit",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1546,7 +1652,7 @@ MUI_ERROR bnBDErrorEntries[] =
{ {
// ERROR_WARN_PARTITION, // ERROR_WARN_PARTITION,
"Setup found that at least one harddisk contains an incompatible\n" "Setup found that at least one harddisk contains an incompatible\n"
"partition table that can not be handled properly!\n" "partition table that cannot be handled properly!\n"
"\n" "\n"
"Creating or deleting partitions can destroy the partition table.\n" "Creating or deleting partitions can destroy the partition table.\n"
"\n" "\n"
@@ -1556,15 +1662,15 @@ MUI_ERROR bnBDErrorEntries[] =
}, },
{ {
// ERROR_NEW_PARTITION, // ERROR_NEW_PARTITION,
"You can not create a new Partition inside\n" "You cannot create a new partition inside\n"
"of an already existing Partition!\n" "of an already existing partition!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
}, },
{ {
// ERROR_DELETE_SPACE, // ERROR_DELETE_SPACE,
"You can not delete unpartitioned disk space!\n" "You cannot delete unpartitioned disk space!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
@@ -1692,14 +1798,14 @@ MUI_ERROR bnBDErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1766,6 +1872,10 @@ MUI_PAGE bnBDPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
bnBDSelectPartitionEntries bnBDSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
bnBDChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
bnBDConfirmDeleteSystemPartitionEntries bnBDConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -738,7 +738,8 @@ static MUI_ENTRY csCZDisplayPageEntries[] =
"Chcete zm\330nit typ obrazovky, kter\240 bude nainstalov\240na.", "Chcete zm\330nit typ obrazovky, kter\240 bude nainstalov\240na.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Po\247adovan\354 typ obrazovky zvolte pomoc\241 \347ipek nahoru a dol\205.", "\x07 Po\247adovan\354 typ obrazovky zvolte pomoc\241 \347ipek nahoru a dol\205.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -938,6 +939,112 @@ static MUI_ENTRY csCZSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY csCZChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY csCZConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY csCZConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1382,7 +1489,6 @@ static MUI_ENTRY csCZSelectFSEntries[] =
"ENTER = Pokra\237ovat ESC = Zru\347it F3 = Ukon\237it", "ENTER = Pokra\237ovat ESC = Zru\347it F3 = Ukon\237it",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1775,6 +1881,10 @@ MUI_PAGE csCZPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
csCZSelectPartitionEntries csCZSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
csCZChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
csCZConfirmDeleteSystemPartitionEntries csCZConfirmDeleteSystemPartitionEntries
+111 -2
View File
@@ -466,7 +466,7 @@ static MUI_ENTRY daDKRepairPageEntries[] =
"underst\233tter den ikke alle funtionerne i et fult brugbart", "underst\233tter den ikke alle funtionerne i et fult brugbart",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ {
6, 6,
10, 10,
"installationsprogram.", "installationsprogram.",
@@ -945,6 +945,112 @@ static MUI_ENTRY daDKSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY daDKChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY daDKConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY daDKConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1389,7 +1495,6 @@ static MUI_ENTRY daDKSelectFSEntries[] =
"ENTER = Forts\221t ESC = Annuller F3 = Afslut", "ENTER = Forts\221t ESC = Annuller F3 = Afslut",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1783,6 +1888,10 @@ MUI_PAGE daDKPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
daDKSelectPartitionEntries daDKSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
daDKChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
daDKConfirmDeleteSystemPartitionEntries daDKConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -732,7 +732,8 @@ static MUI_ENTRY deDEDisplayPageEntries[] =
"Sie wollen den zu installierenden Bildschirmtyp \204ndern.", "Sie wollen den zu installierenden Bildschirmtyp \204ndern.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Benutzen Sie die PFEILTASTEN, um den gew\201nschten", "\x07 Benutzen Sie die PFEILTASTEN, um den gew\201nschten",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -926,6 +927,112 @@ static MUI_ENTRY deDESelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY deDEChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY deDEConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY deDEConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1376,7 +1483,6 @@ static MUI_ENTRY deDESelectFSEntries[] =
"EINGABETASTE = Fortfahren ESC = Zur\201ck F3 = Installation abbrechen", "EINGABETASTE = Fortfahren ESC = Zur\201ck F3 = Installation abbrechen",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1772,6 +1878,10 @@ MUI_PAGE deDEPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
deDESelectPartitionEntries deDESelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
deDEChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
deDEConfirmDeleteSystemPartitionEntries deDEConfirmDeleteSystemPartitionEntries
+116 -5
View File
@@ -738,12 +738,14 @@ static MUI_ENTRY elGRDisplayPageEntries[] =
"\207\342\242\234\253\234 \244\230 \230\242\242\341\245\234\253\234 \253\246\244 \253\347\247\246 \253\236\252 \234\243\255\341\244\240\251\236\252 \247\246\254 \237\230 \234\232\241\230\253\230\251\253\230\237\234\345.", "\207\342\242\234\253\234 \244\230 \230\242\242\341\245\234\253\234 \253\246\244 \253\347\247\246 \253\236\252 \234\243\255\341\244\240\251\236\252 \247\246\254 \237\230 \234\232\241\230\253\230\251\253\230\237\234\345.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 \217\230\253\343\251\253\234 \253\246 \247\242\343\241\253\250\246 \217\200\214\227 \343 \211\200\222\227 \232\240\230 \244\230 \234\247\240\242\342\245\234\253\234 \253\246\244 \234\247\240\237\254\243\236\253\346.", "\x07 \217\230\253\343\251\253\234 \253\246 \247\242\343\241\253\250\246 \217\200\214\227 \343 \211\200\222\227 \232\240\230 \244\230 \234\247\240\242\342\245\234\253\234 \253\246\244 \234\247\240\237\254\243\236\253\346.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
11, 11,
" \253\347\247\246 \234\243\255\341\244\240\251\236\252.", " \253\347\247\246 \234\243\255\341\244\240\251\236\252.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -944,6 +946,112 @@ static MUI_ENTRY elGRSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY elGRChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY elGRConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY elGRConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1400,7 +1508,6 @@ static MUI_ENTRY elGRSelectFSEntries[] =
" ENTER = \221\254\244\342\256\234\240\230 ESC = \200\241\347\250\340\251\236 F3 = \200\247\246\256\351\250\236\251\236", " ENTER = \221\254\244\342\256\234\240\230 ESC = \200\241\347\250\340\251\236 F3 = \200\247\246\256\351\250\236\251\236",
TEXT_TYPE_STATUS TEXT_TYPE_STATUS
}, },
{ {
0, 0,
0, 0,
@@ -1711,14 +1818,14 @@ MUI_ERROR elGRErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1785,6 +1892,10 @@ MUI_PAGE elGRPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
elGRSelectPartitionEntries elGRSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
elGRChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
elGRConfirmDeleteSystemPartitionEntries elGRConfirmDeleteSystemPartitionEntries
+118 -8
View File
@@ -730,7 +730,8 @@ static MUI_ENTRY enUSDisplayPageEntries[] =
"You want to change the type of display to be installed.", "You want to change the type of display to be installed.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Press the UP or DOWN key to select the desired display type.", "\x07 Press the UP or DOWN key to select the desired display type.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -930,6 +931,112 @@ static MUI_ENTRY enUSSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY enUSChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY enUSConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY enUSConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1374,7 +1481,6 @@ static MUI_ENTRY enUSSelectFSEntries[] =
"ENTER = Continue ESC = Cancel F3 = Quit", "ENTER = Continue ESC = Cancel F3 = Quit",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1547,7 +1653,7 @@ MUI_ERROR enUSErrorEntries[] =
{ {
// ERROR_WARN_PARTITION, // ERROR_WARN_PARTITION,
"Setup found that at least one harddisk contains an incompatible\n" "Setup found that at least one harddisk contains an incompatible\n"
"partition table that can not be handled properly!\n" "partition table that cannot be handled properly!\n"
"\n" "\n"
"Creating or deleting partitions can destroy the partition table.\n" "Creating or deleting partitions can destroy the partition table.\n"
"\n" "\n"
@@ -1557,15 +1663,15 @@ MUI_ERROR enUSErrorEntries[] =
}, },
{ {
// ERROR_NEW_PARTITION, // ERROR_NEW_PARTITION,
"You can not create a new Partition inside\n" "You cannot create a new partition inside\n"
"of an already existing Partition!\n" "of an already existing partition!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
}, },
{ {
// ERROR_DELETE_SPACE, // ERROR_DELETE_SPACE,
"You can not delete unpartitioned disk space!\n" "You cannot delete unpartitioned disk space!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
@@ -1693,14 +1799,14 @@ MUI_ERROR enUSErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1767,6 +1873,10 @@ MUI_PAGE enUSPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
enUSSelectPartitionEntries enUSSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
enUSChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
enUSConfirmDeleteSystemPartitionEntries enUSConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -734,7 +734,8 @@ static MUI_ENTRY esESDisplayPageEntries[] =
"Desea modificar el tipo de pantalla a instalar.", "Desea modificar el tipo de pantalla a instalar.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Presione ARRIBA y ABAJO para modificar el tipo.", "\x07 Presione ARRIBA y ABAJO para modificar el tipo.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -935,6 +936,112 @@ static MUI_ENTRY esESSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY esESChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY esESConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY esESConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1379,7 +1486,6 @@ static MUI_ENTRY esESSelectFSEntries[] =
" INTRO = Continuar ESC = Cancelar F3 = Salir", " INTRO = Continuar ESC = Cancelar F3 = Salir",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1772,6 +1878,10 @@ MUI_PAGE esESPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
esESSelectPartitionEntries esESSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
esESChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
esESConfirmDeleteSystemPartitionEntries esESConfirmDeleteSystemPartitionEntries
+113 -3
View File
@@ -732,7 +732,8 @@ static MUI_ENTRY etEEDisplayPageEntries[] =
"Ekraani t\201\201bi muutmine.", "Ekraani t\201\201bi muutmine.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Liigu \201les-alla, et ekraani t\201\201pi muuta.", "\x07 Liigu \201les-alla, et ekraani t\201\201pi muuta.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -933,6 +934,112 @@ static MUI_ENTRY etEESelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY etEEChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY etEEConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY etEEConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1377,7 +1484,6 @@ static MUI_ENTRY etEESelectFSEntries[] =
"ENTER = J\204tka ESC = Katkesta F3 = V\204lju", "ENTER = J\204tka ESC = Katkesta F3 = V\204lju",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1694,7 +1800,7 @@ MUI_ERROR etEEErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Vajuta mis tahes klahvi, et j\204tkata." " * Vajuta mis tahes klahvi, et j\204tkata."
@@ -1768,6 +1874,10 @@ MUI_PAGE etEEPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
etEESelectPartitionEntries etEESelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
etEEChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
etEEConfirmDeleteSystemPartitionEntries etEEConfirmDeleteSystemPartitionEntries
+123 -13
View File
@@ -738,7 +738,8 @@ static MUI_ENTRY frFRDisplayPageEntries[] =
"Vous voulez changer le type d'\202cran \205 installer.", "Vous voulez changer le type d'\202cran \205 installer.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Appuyer sur HAUT ou BAS pour s\202lectionner le type d'\202cran.", "\x07 Appuyer sur HAUT ou BAS pour s\202lectionner le type d'\202cran.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -938,6 +939,112 @@ static MUI_ENTRY frFRSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY frFRChangeSystemPartition[] =
{
{
4,
3,
" Installation de ReactOS " KERNEL_VERSION_STR " ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"La partition syst\212me actuelle de votre ordinateur",
TEXT_STYLE_NORMAL
},
{
6,
12,
"sur le disque syst\212me",
TEXT_STYLE_NORMAL
},
{
6,
16,
"emploie un format qui n'est pas support\202 par ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"Afin de pouvoir installer ReactOS avec succ\212s, ReactOS Setup doit changer",
TEXT_STYLE_NORMAL
},
{
6,
19,
"la partition syst\212me actuelle par une nouvelle.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"La nouvelle partition syst\212me candidate est :",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 Pour accepter ce choix, appuyez sur ENTR\220E.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 Pour changer manuellement la partition syst\212me, appuyez sur \220CHAP",
TEXT_STYLE_NORMAL
},
{
8,
28,
" afin de revenir dans la liste des partitions, puis s\202lectionnez ou",
TEXT_STYLE_NORMAL
},
{
8,
29,
" cr\202ez une nouvelle partition syst\212me sur le disque syst\212me.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"S'il existe d'autres syst\212mes d'exploitation qui d\202pendent de la partition",
TEXT_STYLE_NORMAL
},
{
6,
33,
"syst\212me d'origine, vous devrez peut-\210tre les reconfigurer pour la nouvelle",
TEXT_STYLE_NORMAL
},
{
6,
34,
"partition syst\212me, ou bien changer la partition syst\212me vers celle",
TEXT_STYLE_NORMAL
},
{
6,
35,
"d'origine apr\212s la fin de l'installation de ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTR\220E = Continuer \220CHAP = Annuler",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY frFRConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY frFRConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1394,7 +1501,6 @@ static MUI_ENTRY frFRSelectFSEntries[] =
"ENTR\220E = Continuer \220CHAP = Annuler F3 = Quitter", "ENTR\220E = Continuer \220CHAP = Annuler F3 = Quitter",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1438,7 +1544,7 @@ static MUI_ENTRY frFRDeletePartitionEntries[] =
{ {
0, 0,
0, 0,
"L = Supprimer la Partition \220CHAP = Annuler F3 = Quitter", "L = Supprimer la partition \220CHAP = Annuler F3 = Quitter",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
@@ -1577,8 +1683,8 @@ MUI_ERROR frFRErrorEntries[] =
}, },
{ {
// ERROR_NEW_PARTITION, // ERROR_NEW_PARTITION,
"Vous ne pouvez cr\202er une nouvelle Partition \205 l'int\202rieur\n" "Vous ne pouvez cr\202er une nouvelle partition \205 l'int\202rieur\n"
"d'une Partition d\202j\205 existante!\n" "d'une partition d\202j\205 existante!\n"
"\n" "\n"
" * Appuyer sur une touche pour continuer.", " * Appuyer sur une touche pour continuer.",
NULL NULL
@@ -1787,6 +1893,10 @@ MUI_PAGE frFRPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
frFRSelectPartitionEntries frFRSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
frFRChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
frFRConfirmDeleteSystemPartitionEntries frFRConfirmDeleteSystemPartitionEntries
@@ -1854,13 +1964,13 @@ MUI_STRING frFRStrings[] =
{STRING_PLEASEWAIT, {STRING_PLEASEWAIT,
" Veuillez patienter..."}, " Veuillez patienter..."},
{STRING_INSTALLCREATEPARTITION, {STRING_INSTALLCREATEPARTITION,
" ENTR\220E = Installer P/E = Cr\202er Partition Primaire/\220tendue F3 = Quitter"}, " ENTR\220E = Installer P/E = Cr\202er partition Primaire/\220tendue F3 = Quitter"},
{STRING_INSTALLCREATELOGICAL, {STRING_INSTALLCREATELOGICAL,
" ENTR\220E = Installer L = Cr\202er Partition Logique F3 = Quitter"}, " ENTR\220E = Installer L = Cr\202er partition Logique F3 = Quitter"},
{STRING_INSTALLDELETEPARTITION, {STRING_INSTALLDELETEPARTITION,
" ENTR\220E = Installer D = Supprimer Partition F3 = Quitter"}, " ENTR\220E = Installer D = Supprimer partition F3 = Quitter"},
{STRING_DELETEPARTITION, {STRING_DELETEPARTITION,
" D = Supprimer Partition F3 = Quitter"}, " D = Supprimer partition F3 = Quitter"},
{STRING_PARTITIONSIZE, {STRING_PARTITIONSIZE,
"Taille de la nouvelle partition :"}, "Taille de la nouvelle partition :"},
{STRING_CHOOSENEWPARTITION, {STRING_CHOOSENEWPARTITION,
@@ -1872,15 +1982,15 @@ MUI_STRING frFRStrings[] =
{STRING_HDDSIZE, {STRING_HDDSIZE,
"Veuillez entrer la taille de la nouvelle partition en m\202gaoctets."}, "Veuillez entrer la taille de la nouvelle partition en m\202gaoctets."},
{STRING_CREATEPARTITION, {STRING_CREATEPARTITION,
" ENTR\220E = Cr\202er Partition \220CHAP = Annuler F3 = Quitter"}, " ENTR\220E = Cr\202er partition \220CHAP = Annuler F3 = Quitter"},
{STRING_PARTFORMAT, {STRING_PARTFORMAT,
"Cette Partition sera ensuite format\202e."}, "Cette partition sera ensuite format\202e."},
{STRING_NONFORMATTEDPART, {STRING_NONFORMATTEDPART,
"Vous avez choisi d'installer ReactOS sur une nouvelle partition."}, "Vous avez choisi d'installer ReactOS sur une nouvelle partition."},
{STRING_NONFORMATTEDSYSTEMPART, {STRING_NONFORMATTEDSYSTEMPART,
"The system partition is not formatted yet."}, "La partition syst\212me n'est pas encore format\202e."},
{STRING_NONFORMATTEDOTHERPART, {STRING_NONFORMATTEDOTHERPART,
"The new partition is not formatted yet."}, "La nouvelle partition n'est pas encore format\202e."},
{STRING_INSTALLONPART, {STRING_INSTALLONPART,
"Setup installe ReactOS sur la partition"}, "Setup installe ReactOS sur la partition"},
{STRING_CHECKINGPART, {STRING_CHECKINGPART,
+112 -2
View File
@@ -734,7 +734,8 @@ static MUI_ENTRY heILDisplayPageEntries[] =
".\217\227\232\205\216\204 \204\202\205\226\232\204 \202\205\221 \232\200 \232\205\220\231\214 \212\220\205\226\230\201", ".\217\227\232\205\216\204 \204\202\205\226\232\204 \202\205\221 \232\200 \232\205\220\231\214 \212\220\205\226\230\201",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 .\211\205\226\230\204 \204\202\205\226\232\204 \202\205\221 \232\200 \230\205\207\201\214 \211\203\213 \204\210\216\214 \205\200 \204\214\222\216\214 \214\222 \225\207\214", "\x07 .\211\205\226\230\204 \204\202\205\226\232\204 \202\205\221 \232\200 \230\205\207\201\214 \211\203\213 \204\210\216\214 \205\200 \204\214\222\216\214 \214\222 \225\207\214",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -934,6 +935,112 @@ static MUI_ENTRY heILSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY heILChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY heILConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY heILConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1378,7 +1485,6 @@ static MUI_ENTRY heILSelectFSEntries[] =
"\204\220\227\232\204 \214\205\210\211\201 = F3 \214\205\210\211\201 = ESC \212\231\216\204 = ENTER", "\204\220\227\232\204 \214\205\210\211\201 = F3 \214\205\210\211\201 = ESC \212\231\216\204 = ENTER",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1769,6 +1875,10 @@ MUI_PAGE heILPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
heILSelectPartitionEntries heILSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
heILChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
heILConfirmDeleteSystemPartitionEntries heILConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -729,7 +729,8 @@ static MUI_ENTRY itITDisplayPageEntries[] =
"Desidera modificare il tipo di schermo.", "Desidera modificare il tipo di schermo.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Premere i tasti SU e GI\xEB per modificare il tipo.", "\x07 Premere i tasti SU e GI\xEB per modificare il tipo.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -929,6 +930,112 @@ static MUI_ENTRY itITSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY itITChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY itITConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY itITConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1379,7 +1486,6 @@ static MUI_ENTRY itITSelectFSEntries[] =
" INVIO = Continua ESC = Annulla F3 = Termina", " INVIO = Continua ESC = Annulla F3 = Termina",
TEXT_TYPE_STATUS TEXT_TYPE_STATUS
}, },
{ {
0, 0,
0, 0,
@@ -1772,6 +1878,10 @@ MUI_PAGE itITPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
itITSelectPartitionEntries itITSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
itITChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
itITConfirmDeleteSystemPartitionEntries itITConfirmDeleteSystemPartitionEntries
+114 -4
View File
@@ -732,7 +732,8 @@ static MUI_ENTRY jaJPDisplayPageEntries[] =
"\262\335\275\304\260\331 \273\332\331 \303\336\250\275\314\337\332\262\311 \274\255\331\262\246 \315\335\272\263 \275\331 \272\304\266\336 \276\335\300\270 \273\332\317\274\300\241", "\262\335\275\304\260\331 \273\332\331 \303\336\250\275\314\337\332\262\311 \274\255\331\262\246 \315\335\272\263 \275\331 \272\304\266\336 \276\335\300\270 \273\332\317\274\300\241",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 UP \323\274\270\312 DOWN \267\260\246 \265\274\303 \303\267\275\331 \303\336\250\275\314\337\332\262\311 \274\255\331\262\246 \276\335\300\270 \274\303 \270\300\336\273\262\241", "\x07 UP \323\274\270\312 DOWN \267\260\246 \265\274\303 \303\267\275\331 \303\336\250\275\314\337\332\262\311 \274\255\331\262\246 \276\335\300\270 \274\303 \270\300\336\273\262\241",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -933,6 +934,112 @@ static MUI_ENTRY jaJPSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY jaJPChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY jaJPConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY jaJPConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1377,7 +1484,6 @@ static MUI_ENTRY jaJPSelectFSEntries[] =
"ENTER = \277\336\257\272\263 ESC = \267\254\335\276\331 F3 = \301\255\263\274", "ENTER = \277\336\257\272\263 ESC = \267\254\335\276\331 F3 = \301\255\263\274",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1696,14 +1802,14 @@ MUI_ERROR jaJPErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1770,6 +1876,10 @@ MUI_PAGE jaJPPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
jaJPSelectPartitionEntries jaJPSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
jaJPChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
jaJPConfirmDeleteSystemPartitionEntries jaJPConfirmDeleteSystemPartitionEntries
+118 -8
View File
@@ -741,7 +741,8 @@ static MUI_ENTRY ltLTDisplayPageEntries[] =
"You want to change the type of display to be installed.", "You want to change the type of display to be installed.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Press the UP or DOWN key to select the desired display type.", "\x07 Press the UP or DOWN key to select the desired display type.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -941,6 +942,112 @@ static MUI_ENTRY ltLTSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY ltLTChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY ltLTConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY ltLTConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1385,7 +1492,6 @@ static MUI_ENTRY ltLTSelectFSEntries[] =
"ENTER = T\322sti ESC = At\325aukti F3 = Baigti", "ENTER = T\322sti ESC = At\325aukti F3 = Baigti",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1558,7 +1664,7 @@ MUI_ERROR ltLTErrorEntries[] =
{ {
// ERROR_WARN_PARTITION, // ERROR_WARN_PARTITION,
"Setup found that at least one harddisk contains an incompatible\n" "Setup found that at least one harddisk contains an incompatible\n"
"partition table that can not be handled properly!\n" "partition table that cannot be handled properly!\n"
"\n" "\n"
"Creating or deleting partitions can destroy the partition table.\n" "Creating or deleting partitions can destroy the partition table.\n"
"\n" "\n"
@@ -1568,15 +1674,15 @@ MUI_ERROR ltLTErrorEntries[] =
}, },
{ {
// ERROR_NEW_PARTITION, // ERROR_NEW_PARTITION,
"You can not create a new Partition inside\n" "You cannot create a new partition inside\n"
"of an already existing Partition!\n" "of an already existing partition!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
}, },
{ {
// ERROR_DELETE_SPACE, // ERROR_DELETE_SPACE,
"You can not delete unpartitioned disk space!\n" "You cannot delete unpartitioned disk space!\n"
"\n" "\n"
" * Press any key to continue.", " * Press any key to continue.",
NULL NULL
@@ -1704,14 +1810,14 @@ MUI_ERROR ltLTErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1778,6 +1884,10 @@ MUI_PAGE ltLTPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
ltLTSelectPartitionEntries ltLTSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
ltLTChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
ltLTConfirmDeleteSystemPartitionEntries ltLTConfirmDeleteSystemPartitionEntries
+210 -2
View File
@@ -729,7 +729,8 @@ static MUI_ENTRY msMYDisplayPageEntries[] =
"Anda ingin tukar jenis paparan untuk dipasang.", "Anda ingin tukar jenis paparan untuk dipasang.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Tekan kekunci UP atau DOWN untuk memilih", "\x07 Tekan kekunci UP atau DOWN untuk memilih",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -923,6 +924,206 @@ static MUI_ENTRY msMYSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY msMYChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY msMYConfirmDeleteSystemPartitionEntries[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"You have chosen to delete the system partition.",
TEXT_STYLE_NORMAL
},
{
6,
10,
"System partitions can contain diagnostic programs, hardware configuration",
TEXT_STYLE_NORMAL
},
{
6,
11,
"programs, programs to start an operating system (like ReactOS) or other",
TEXT_STYLE_NORMAL
},
{
6,
12,
"programs provided by the hardware manufacturer.",
TEXT_STYLE_NORMAL
},
{
6,
14,
"Delete a system partition only when you are sure that there are no such",
TEXT_STYLE_NORMAL
},
{
6,
15,
"programs on the partition, or when you are sure you want to delete them.",
TEXT_STYLE_NORMAL
},
{
6,
16,
"When you delete the partition, you might not be able to boot the",
TEXT_STYLE_NORMAL
},
{
6,
17,
"computer from the harddisk until you finished the ReactOS Setup.",
TEXT_STYLE_NORMAL
},
{
8,
20,
"\x07 Press ENTER to delete the system partition. You will be asked",
TEXT_STYLE_NORMAL
},
{
8,
21,
" to confirm the deletion of the partition again later.",
TEXT_STYLE_NORMAL
},
{
8,
24,
"\x07 Press ESC to return to the previous page. The partition will",
TEXT_STYLE_NORMAL
},
{
8,
25,
" not be deleted.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER=Continue ESC=Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY msMYFormatPartitionEntries[] = static MUI_ENTRY msMYFormatPartitionEntries[] =
{ {
{ {
@@ -1273,7 +1474,6 @@ static MUI_ENTRY msMYSelectFSEntries[] =
"ENTER = Teruskan ESC = Batal F3 = Keluar", "ENTER = Teruskan ESC = Batal F3 = Keluar",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1659,6 +1859,14 @@ MUI_PAGE msMYPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
msMYSelectPartitionEntries msMYSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
msMYChangeSystemPartition
},
{
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
msMYConfirmDeleteSystemPartitionEntries
},
{ {
SELECT_FILE_SYSTEM_PAGE, SELECT_FILE_SYSTEM_PAGE,
msMYSelectFSEntries msMYSelectFSEntries
+112 -3
View File
@@ -945,6 +945,112 @@ static MUI_ENTRY nlNLSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY nlNLChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY nlNLConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY nlNLConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1389,7 +1495,6 @@ static MUI_ENTRY nlNLSelectFSEntries[] =
"ENTER = Doorgaan ESC = Annuleren F3 = Afsluiten", "ENTER = Doorgaan ESC = Annuleren F3 = Afsluiten",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1718,14 +1823,14 @@ MUI_ERROR nlNLErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1792,6 +1897,10 @@ MUI_PAGE nlNLPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
nlNLSelectPartitionEntries nlNLSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
nlNLChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
nlNLConfirmDeleteSystemPartitionEntries nlNLConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -741,7 +741,8 @@ static MUI_ENTRY plPLDisplayPageEntries[] =
"Chcesz zmieni\206 rozdzielczo\230\206 monitora.", "Chcesz zmieni\206 rozdzielczo\230\206 monitora.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 U\276ywaj\245c klawiszy G\340RA lub D\340\235, wybierz rozdzielczo\230\206 i llo\230\206", "\x07 U\276ywaj\245c klawiszy G\340RA lub D\340\235, wybierz rozdzielczo\230\206 i llo\230\206",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -941,6 +942,112 @@ static MUI_ENTRY plPLSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY plPLChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY plPLConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY plPLConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1385,7 +1492,6 @@ static MUI_ENTRY plPLSelectFSEntries[] =
"ENTER = Kontynuacja ESC = Anulowanie F3 = Wyj\230cie", "ENTER = Kontynuacja ESC = Anulowanie F3 = Wyj\230cie",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1778,6 +1884,10 @@ MUI_PAGE plPLPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
plPLSelectPartitionEntries plPLSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
plPLChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
plPLConfirmDeleteSystemPartitionEntries plPLConfirmDeleteSystemPartitionEntries
+114 -4
View File
@@ -738,7 +738,8 @@ static MUI_ENTRY ptBRDisplayPageEntries[] =
"A lista a seguir mostra os tipos de v\241deo dispon\241veis para instala\207\306o.", "A lista a seguir mostra os tipos de v\241deo dispon\241veis para instala\207\306o.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 6, {
6,
10, 10,
"Use as teclas SETA PARA CIMA e SETA PARA BAIXO para selecionar", "Use as teclas SETA PARA CIMA e SETA PARA BAIXO para selecionar",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -945,6 +946,112 @@ static MUI_ENTRY ptBRSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY ptBRChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY ptBRConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY ptBRConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1401,7 +1508,6 @@ static MUI_ENTRY ptBRSelectFSEntries[] =
"ENTER=Continuar ESC=Cancelar F3=Sair", "ENTER=Continuar ESC=Cancelar F3=Sair",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1726,14 +1832,14 @@ MUI_ERROR ptBRErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1800,6 +1906,10 @@ MUI_PAGE ptBRPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
ptBRSelectPartitionEntries ptBRSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
ptBRChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
ptBRConfirmDeleteSystemPartitionEntries ptBRConfirmDeleteSystemPartitionEntries
+115 -5
View File
@@ -57,7 +57,7 @@ static MUI_ENTRY ptPTLanguagePageEntries[] =
"\x07 Por favor, seleccione o idioma a ser utilizado durante a instala\207\306o.", "\x07 Por favor, seleccione o idioma a ser utilizado durante a instala\207\306o.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ {
8, 8,
11, 11,
"\x07 O idioma seleccionado ser\240 o idioma padr\306o do sistema.", "\x07 O idioma seleccionado ser\240 o idioma padr\306o do sistema.",
@@ -738,7 +738,8 @@ static MUI_ENTRY ptPTDisplayPageEntries[] =
"A lista a seguir mostra os tipos de v\241deo dispon\241veis para instala\207\306o.", "A lista a seguir mostra os tipos de v\241deo dispon\241veis para instala\207\306o.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 6, {
6,
10, 10,
"Use as teclas SETA PARA CIMA e SETA PARA BAIXO para seleccionar", "Use as teclas SETA PARA CIMA e SETA PARA BAIXO para seleccionar",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -945,6 +946,112 @@ static MUI_ENTRY ptPTSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY ptPTChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY ptPTConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY ptPTConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1401,7 +1508,6 @@ static MUI_ENTRY ptPTSelectFSEntries[] =
"ENTER=Continuar ESC=Cancelar F3=Sair", "ENTER=Continuar ESC=Cancelar F3=Sair",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1711,14 +1817,14 @@ MUI_ERROR ptPTErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1785,6 +1891,10 @@ MUI_PAGE ptPTPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
ptPTSelectPartitionEntries ptPTSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
ptPTChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
ptPTConfirmDeleteSystemPartitionEntries ptPTConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -764,7 +764,8 @@ static MUI_ENTRY roRODisplayPageEntries[] =
"Dori\376i modificarea parametrilor grafici de afi\272are?", "Dori\376i modificarea parametrilor grafici de afi\272are?",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Utiliza\376i tastele SUS/JOS pentru a selecta", "\x07 Utiliza\376i tastele SUS/JOS pentru a selecta",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -964,6 +965,112 @@ static MUI_ENTRY roROSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY roROChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY roROConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY roROConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1408,7 +1515,6 @@ static MUI_ENTRY roROSelectFSEntries[] =
"ENTER = Continuare ESC = Anulare F3 = Ie\272ire", "ENTER = Continuare ESC = Anulare F3 = Ie\272ire",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1816,6 +1922,10 @@ MUI_PAGE roROPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
roROSelectPartitionEntries roROSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
roROChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
roROConfirmDeleteSystemPartitionEntries roROConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -750,7 +750,8 @@ static MUI_ENTRY ruRUDisplayPageEntries[] =
"\202\353 \345\256\342\250\342\245 \250\247\254\245\255\250\342\354 \343\341\342\240\255\240\242\253\250\242\240\245\254\353\251 \342\250\257 \355\252\340\240\255\240.", "\202\353 \345\256\342\250\342\245 \250\247\254\245\255\250\342\354 \343\341\342\240\255\240\242\253\250\242\240\245\254\353\251 \342\250\257 \355\252\340\240\255\240.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 \215\240\246\254\250\342\245 \252\253\240\242\250\350\250 \202\202\205\220\225 \250\253\250 \202\215\210\207 \244\253\357 \242\353\241\256\340\240 \342\250\257\240 \355\252\340\240\255\240.", "\x07 \215\240\246\254\250\342\245 \252\253\240\242\250\350\250 \202\202\205\220\225 \250\253\250 \202\215\210\207 \244\253\357 \242\353\241\256\340\240 \342\250\257\240 \355\252\340\240\255\240.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -950,6 +951,112 @@ static MUI_ENTRY ruRUSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY ruRUChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY ruRUConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY ruRUConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1394,7 +1501,6 @@ static MUI_ENTRY ruRUSelectFSEntries[] =
"ENTER = \217\340\256\244\256\253\246\250\342\354 ESC = \216\342\254\245\255\240 F3 = \202\353\345\256\244", "ENTER = \217\340\256\244\256\253\246\250\342\354 ESC = \216\342\254\245\255\240 F3 = \202\353\345\256\244",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1787,6 +1893,10 @@ MUI_PAGE ruRUPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
ruRUSelectPartitionEntries ruRUSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
ruRUChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
ruRUConfirmDeleteSystemPartitionEntries ruRUConfirmDeleteSystemPartitionEntries
+114 -4
View File
@@ -738,7 +738,8 @@ static MUI_ENTRY skSKDisplayPageEntries[] =
"Chcete zmeni\234 typ monitora, ktor\354 m\240 by\234 nain\347talovan\354.", "Chcete zmeni\234 typ monitora, ktor\354 m\240 by\234 nain\347talovan\354.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Stla\237te kl\240ves HORE alebo DOLE pre v\354ber po\247adovan\202ho typu monitora.", "\x07 Stla\237te kl\240ves HORE alebo DOLE pre v\354ber po\247adovan\202ho typu monitora.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -939,6 +940,112 @@ static MUI_ENTRY skSKSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY skSKChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY skSKConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY skSKConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1383,7 +1490,6 @@ static MUI_ENTRY skSKSelectFSEntries[] =
"ENTER = Pokra\237ova\234 ESC = Zru\347i\234 F3 = Skon\237i\234", "ENTER = Pokra\237ova\234 ESC = Zru\347i\234 F3 = Skon\237i\234",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1705,14 +1811,14 @@ MUI_ERROR skSKErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1779,6 +1885,10 @@ MUI_PAGE skSKPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
skSKSelectPartitionEntries skSKSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
skSKChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
skSKConfirmDeleteSystemPartitionEntries skSKConfirmDeleteSystemPartitionEntries
+114 -4
View File
@@ -736,7 +736,8 @@ static MUI_ENTRY sqALDisplayPageEntries[] =
"Ju deshironi t\211 ndryshoje llojin e ekranit p\211r t\211 instaluar.", "Ju deshironi t\211 ndryshoje llojin e ekranit p\211r t\211 instaluar.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Klikoni butonat UP aso DOWN p\211r t\211 p\211rzgjedhur tipin e ekranin t\211 d\211shiruar.", "\x07 Klikoni butonat UP aso DOWN p\211r t\211 p\211rzgjedhur tipin e ekranin t\211 d\211shiruar.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -937,6 +938,112 @@ static MUI_ENTRY sqALSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY sqALChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY sqALConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY sqALConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1381,7 +1488,6 @@ static MUI_ENTRY sqALSelectFSEntries[] =
"ENTER = Vazhdo ESC = Anulo F3 = Dil", "ENTER = Vazhdo ESC = Anulo F3 = Dil",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1706,14 +1812,14 @@ MUI_ERROR sqALErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1780,6 +1886,10 @@ MUI_PAGE sqALPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
sqALSelectPartitionEntries sqALSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
sqALChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
sqALConfirmDeleteSystemPartitionEntries sqALConfirmDeleteSystemPartitionEntries
+114 -4
View File
@@ -738,7 +738,8 @@ static MUI_ENTRY svSEDisplayPageEntries[] =
"\216ndra vilken typ av bildsk\204rmsinst\204llning som ska installeras.", "\216ndra vilken typ av bildsk\204rmsinst\204llning som ska installeras.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 Anv\204nd UPP- och NED-piltangenterna f\224r att v\204lja \224nskad inst\204llning.", "\x07 Anv\204nd UPP- och NED-piltangenterna f\224r att v\204lja \224nskad inst\204llning.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -939,6 +940,112 @@ static MUI_ENTRY svSESelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY svSEChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY svSEConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY svSEConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1383,7 +1490,6 @@ static MUI_ENTRY svSESelectFSEntries[] =
" ENTER = Forts\204tt ESC = Avbryt F3 = Avsluta", " ENTER = Forts\204tt ESC = Avbryt F3 = Avsluta",
TEXT_TYPE_STATUS TEXT_TYPE_STATUS
}, },
{ {
0, 0,
0, 0,
@@ -1702,14 +1808,14 @@ MUI_ERROR svSEErrorEntries[] =
}, },
{ {
// ERROR_PARTITION_TABLE_FULL, // ERROR_PARTITION_TABLE_FULL,
"You can not create a new primary or extended partition in the\n" "You cannot create a new primary or extended partition in the\n"
"partition table of this disk because the partition table is full.\n" "partition table of this disk because the partition table is full.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
{ {
// ERROR_ONLY_ONE_EXTENDED, // ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n" "You cannot create more than one extended partition per disk.\n"
"\n" "\n"
" * Press any key to continue." " * Press any key to continue."
}, },
@@ -1776,6 +1882,10 @@ MUI_PAGE svSEPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
svSESelectPartitionEntries svSESelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
svSEChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
svSEConfirmDeleteSystemPartitionEntries svSEConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -729,7 +729,8 @@ static MUI_ENTRY trTRDisplayPageEntries[] =
"Kurulum yap\215lacak g\224r\201nt\201n\201n t\201r\201n\201 se\207mek isteyebilirsiniz.", "Kurulum yap\215lacak g\224r\201nt\201n\201n t\201r\201n\201 se\207mek isteyebilirsiniz.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 \230stenen g\224r\201nt\201 t\201r\201n\201 se\207mek i\207in YUKARI'ya veya A\236A\246I'ya bas\215n\215z.", "\x07 \230stenen g\224r\201nt\201 t\201r\201n\201 se\207mek i\207in YUKARI'ya veya A\236A\246I'ya bas\215n\215z.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -923,6 +924,112 @@ static MUI_ENTRY trTRSelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY trTRChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY trTRConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY trTRConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1355,7 +1462,6 @@ static MUI_ENTRY trTRSelectFSEntries[] =
"ENTER = S\201rd\201r ESC = \230ptal F3 = \200\215k", "ENTER = S\201rd\201r ESC = \230ptal F3 = \200\215k",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1748,6 +1854,10 @@ MUI_PAGE trTRPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
trTRSelectPartitionEntries trTRSelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
trTRChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
trTRConfirmDeleteSystemPartitionEntries trTRConfirmDeleteSystemPartitionEntries
+112 -2
View File
@@ -737,7 +737,8 @@ static MUI_ENTRY ukUADisplayPageEntries[] =
"\222\343\342 \242\250 \254\256\246\245\342\245 \247\254i\255\250\342\250 \342\250\257 \245\252\340\240\255\343.", "\222\343\342 \242\250 \254\256\246\245\342\245 \247\254i\255\250\342\250 \342\250\257 \245\252\340\240\255\343.",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
}, },
{ 8, {
8,
10, 10,
"\x07 \215\240\342\250\341\252\240\251\342\245 \252\253\240\242i\350i \202\202\205\220\225 \342\240 \202\215\210\207 \244\253\357 \242\250\241\256\340\343 \257\256\342\340i\241\255\256\243\256 \342\250\257\343 \254\256\255i\342\256\340\343", "\x07 \215\240\342\250\341\252\240\251\342\245 \252\253\240\242i\350i \202\202\205\220\225 \342\240 \202\215\210\207 \244\253\357 \242\250\241\256\340\343 \257\256\342\340i\241\255\256\243\256 \342\250\257\343 \254\256\255i\342\256\340\343",
TEXT_STYLE_NORMAL TEXT_STYLE_NORMAL
@@ -938,6 +939,112 @@ static MUI_ENTRY ukUASelectPartitionEntries[] =
} }
}; };
static MUI_ENTRY ukUAChangeSystemPartition[] =
{
{
4,
3,
" ReactOS " KERNEL_VERSION_STR " Setup ",
TEXT_STYLE_UNDERLINE
},
{
6,
8,
"The current system partition of your computer",
TEXT_STYLE_NORMAL
},
{
6,
12,
"on the system disk",
TEXT_STYLE_NORMAL
},
{
6,
16,
"uses a format not supported by ReactOS.",
TEXT_STYLE_NORMAL
},
{
6,
18,
"In order to successfully install ReactOS, the Setup program must change",
TEXT_STYLE_NORMAL
},
{
6,
19,
"the current system partition to a new one.",
TEXT_STYLE_NORMAL
},
{
6,
21,
"The new candidate system partition is:",
TEXT_STYLE_NORMAL
},
{
8,
25,
"\x07 To accept this choice, press ENTER.",
TEXT_STYLE_NORMAL
},
{
8,
27,
"\x07 To manually change the system partition, press ESC to go back to",
TEXT_STYLE_NORMAL
},
{
8,
28,
" the partition selection list, then select or create a new system",
TEXT_STYLE_NORMAL
},
{
8,
29,
" partition on the system disk.",
TEXT_STYLE_NORMAL
},
{
6,
32,
"In case there are other operating systems that depend on the original",
TEXT_STYLE_NORMAL
},
{
6,
33,
"system partition, you may need to either reconfigure them for the new",
TEXT_STYLE_NORMAL
},
{
6,
34,
"system partition, or you may need to change the system partition back",
TEXT_STYLE_NORMAL
},
{
6,
35,
"to the original one after finishing the installation of ReactOS.",
TEXT_STYLE_NORMAL
},
{
0,
0,
"ENTER = Continue ESC = Cancel",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG
},
{
0,
0,
NULL,
0
}
};
static MUI_ENTRY ukUAConfirmDeleteSystemPartitionEntries[] = static MUI_ENTRY ukUAConfirmDeleteSystemPartitionEntries[] =
{ {
{ {
@@ -1382,7 +1489,6 @@ static MUI_ENTRY ukUASelectFSEntries[] =
"ENTER = \217\340\256\244\256\242\246\250\342\250 ESC = \221\252\240\341\343\242\240\342\250 F3 = \202\250\251\342\250", "ENTER = \217\340\256\244\256\242\246\250\342\250 ESC = \221\252\240\341\343\242\240\342\250 F3 = \202\250\251\342\250",
TEXT_TYPE_STATUS | TEXT_PADDING_BIG TEXT_TYPE_STATUS | TEXT_PADDING_BIG
}, },
{ {
0, 0,
0, 0,
@@ -1776,6 +1882,10 @@ MUI_PAGE ukUAPages[] =
SELECT_PARTITION_PAGE, SELECT_PARTITION_PAGE,
ukUASelectPartitionEntries ukUASelectPartitionEntries
}, },
{
CHANGE_SYSTEM_PARTITION,
ukUAChangeSystemPartition
},
{ {
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
ukUAConfirmDeleteSystemPartitionEntries ukUAConfirmDeleteSystemPartitionEntries
+180 -11
View File
@@ -1788,7 +1788,6 @@ SelectPartitionPage(PINPUT_RECORD Ir)
} }
} }
// FIXME TODO: PartitionList->SystemPartition is not yet initialized!!!!
if (CurrentPartition == PartitionList->SystemPartition || if (CurrentPartition == PartitionList->SystemPartition ||
IsPartitionActive(CurrentPartition)) IsPartitionActive(CurrentPartition))
{ {
@@ -2693,7 +2692,7 @@ ResetFileSystemList(VOID)
* *
* SIDEEFFECTS * SIDEEFFECTS
* Calls UpdatePartitionType() * Calls UpdatePartitionType()
* Calls CheckActiveSystemPartition() * Calls FindSupportedSystemPartition()
* *
* RETURNS * RETURNS
* Number of the next page. * Number of the next page.
@@ -2722,14 +2721,172 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
/* Find or set the active system partition when starting formatting */ /* Find or set the active system partition when starting formatting */
if (FormatState == Start) if (FormatState == Start)
{ {
/* Find or set the active system partition */ /*
CheckActiveSystemPartition(PartitionList, * If we install on a fixed disk, try to find a supported system
FALSE, * partition on the system. Otherwise if we install on a removable disk
InstallPartition->DiskEntry, * use the install partition as the system partition.
InstallPartition); */
if (PartitionList->SystemPartition == NULL) // TODO: Include that logic inside the FindSupportedSystemPartition() function?
if (InstallPartition->DiskEntry->MediaType == FixedMedia)
{ {
/* FIXME: show an error dialog */ SystemPartition = FindSupportedSystemPartition(PartitionList,
FALSE,
InstallPartition->DiskEntry,
InstallPartition);
/* Use the original system partition as the old active partition hint */
PartEntry = PartitionList->SystemPartition;
if ( SystemPartition && PartitionList->SystemPartition &&
(SystemPartition != PartitionList->SystemPartition) )
{
DPRINT1("We are using a different system partition!!!!\n");
MUIDisplayPage(CHANGE_SYSTEM_PARTITION);
{
PPARTENTRY PartEntry; // Shadow variable
PartEntry = PartitionList->SystemPartition;
DiskEntry = PartEntry->DiskEntry;
/* Adjust partition size */
PartSize = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
if (PartSize >= 10 * GB) /* 10 GB */
{
PartSize = PartSize / GB;
PartUnit = MUIGetString(STRING_GB);
}
else
{
PartSize = PartSize / MB;
PartUnit = MUIGetString(STRING_MB);
}
/* Adjust partition type */
GetPartTypeStringFromPartitionType(PartEntry->PartitionType,
PartTypeString,
ARRAYSIZE(PartTypeString));
if (*PartTypeString == '\0') // STRING_FORMATUNKNOWN ??
{
CONSOLE_PrintTextXY(8, 10,
MUIGetString(STRING_HDDINFOUNK4),
(PartEntry->DriveLetter == 0) ? '-' : (CHAR)PartEntry->DriveLetter,
(PartEntry->DriveLetter == 0) ? '-' : ':',
PartEntry->PartitionType,
PartSize,
PartUnit);
}
else
{
CONSOLE_PrintTextXY(8, 10,
"%c%c %s %I64u %s",
(PartEntry->DriveLetter == 0) ? '-' : (CHAR)PartEntry->DriveLetter,
(PartEntry->DriveLetter == 0) ? '-' : ':',
PartTypeString,
PartSize,
PartUnit);
}
/* Adjust disk size */
DiskSize = DiskEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
if (DiskSize >= 10 * GB) /* 10 GB */
{
DiskSize = DiskSize / GB;
DiskUnit = MUIGetString(STRING_GB);
}
else
{
DiskSize = DiskSize / MB;
DiskUnit = MUIGetString(STRING_MB);
}
CONSOLE_PrintTextXY(8, 14, MUIGetString(STRING_HDINFOPARTZEROED_1),
DiskEntry->DiskNumber,
DiskSize,
DiskUnit,
DiskEntry->Port,
DiskEntry->Bus,
DiskEntry->Id,
&DiskEntry->DriverName,
DiskEntry->DiskStyle == PARTITION_STYLE_MBR ? "MBR" :
DiskEntry->DiskStyle == PARTITION_STYLE_GPT ? "GPT" :
"RAW");
PartEntry = SystemPartition;
DiskEntry = PartEntry->DiskEntry;
/* Adjust partition size */
PartSize = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector;
if (PartSize >= 10 * GB) /* 10 GB */
{
PartSize = PartSize / GB;
PartUnit = MUIGetString(STRING_GB);
}
else
{
PartSize = PartSize / MB;
PartUnit = MUIGetString(STRING_MB);
}
/* Adjust partition type */
GetPartTypeStringFromPartitionType(PartEntry->PartitionType,
PartTypeString,
ARRAYSIZE(PartTypeString));
if (*PartTypeString == '\0') // STRING_FORMATUNKNOWN ??
{
CONSOLE_PrintTextXY(8, 23,
MUIGetString(STRING_HDDINFOUNK4),
(PartEntry->DriveLetter == 0) ? '-' : (CHAR)PartEntry->DriveLetter,
(PartEntry->DriveLetter == 0) ? '-' : ':',
PartEntry->PartitionType,
PartSize,
PartUnit);
}
else
{
CONSOLE_PrintTextXY(8, 23,
"%c%c %s %I64u %s",
(PartEntry->DriveLetter == 0) ? '-' : (CHAR)PartEntry->DriveLetter,
(PartEntry->DriveLetter == 0) ? '-' : ':',
PartTypeString,
PartSize,
PartUnit);
}
}
while (TRUE)
{
CONSOLE_ConInKey(Ir);
if (Ir->Event.KeyEvent.wVirtualKeyCode == VK_RETURN) /* ENTER */
{
break;
}
else if (Ir->Event.KeyEvent.wVirtualKeyCode == VK_ESCAPE) /* ESC */
{
return SELECT_PARTITION_PAGE;
}
}
CONSOLE_ClearScreen();
CONSOLE_Flush();
}
}
else // if (InstallPartition->DiskEntry->MediaType == RemovableMedia)
{
SystemPartition = InstallPartition;
/* Don't specify any old active partition hint */
PartEntry = NULL;
}
if (!SystemPartition)
{
/* FIXME: improve the error dialog */
// //
// Error dialog should say that we cannot find a suitable // Error dialog should say that we cannot find a suitable
// system partition and create one on the system. At this point, // system partition and create one on the system. At this point,
@@ -2737,9 +2894,14 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
// or use an external drive as the system drive/partition // or use an external drive as the system drive/partition
// (e.g. floppy, USB drive, etc...) // (e.g. floppy, USB drive, etc...)
// //
return QUIT_PAGE; PopupError("The ReactOS Setup could not find a supported system partition\n"
"on your system or could not create a new one. Without such partition\n"
"the Setup program cannot install ReactOS.\n"
"Press ENTER to return to the partition selection list.",
MUIGetString(STRING_CONTINUE),
Ir, POPUP_WAIT_ENTER);
return SELECT_PARTITION_PAGE;
} }
SystemPartition = PartitionList->SystemPartition;
/* /*
* If the system partition can be created in some * If the system partition can be created in some
@@ -2760,6 +2922,13 @@ SelectFileSystemPage(PINPUT_RECORD Ir)
} }
} }
/* Set it as such */
if (!SetActivePartition(PartitionList, SystemPartition, PartEntry))
{
DPRINT1("SetActivePartition(0x%p) failed?!\n", SystemPartition);
ASSERT(FALSE);
}
/* Commit all partition changes to all the disks */ /* Commit all partition changes to all the disks */
if (!WritePartitionsToDisk(PartitionList)) if (!WritePartitionsToDisk(PartitionList))
{ {
+1
View File
@@ -97,6 +97,7 @@ typedef enum _PAGE_NUMBER
CREATE_PRIMARY_PARTITION_PAGE, CREATE_PRIMARY_PARTITION_PAGE,
CREATE_EXTENDED_PARTITION_PAGE, CREATE_EXTENDED_PARTITION_PAGE,
CREATE_LOGICAL_PARTITION_PAGE, CREATE_LOGICAL_PARTITION_PAGE,
CHANGE_SYSTEM_PARTITION,
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE,
DELETE_PARTITION_PAGE, DELETE_PARTITION_PAGE,