index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-23 06:46:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 06:46:11 +0000 |
commit | e15697119116487f84e72a22e99f8e46d714f21f (patch) | |
tree | b2ae7003fb2e9e49f1adead8bade3e5a1bf132c5 /archinstall | |
parent | 2be4576c42beee131b2b98ef2e715e28388a5cee (diff) | |
parent | 7774165b960226c5960613d6573e59b81b547c1d (diff) |
-rw-r--r-- | archinstall/lib/disk/filesystem.py | 8 |
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py index 93b0f375..83d7e34f 100644 --- a/archinstall/lib/disk/filesystem.py +++ b/archinstall/lib/disk/filesystem.py @@ -152,7 +152,7 @@ class Filesystem: if self.mode == MBR: if len(self.blockdevice.partitions) > 3: - DiskError("Too many partitions on disk, MBR disks can only have 3 parimary partitions") + DiskError("Too many partitions on disk, MBR disks can only have 3 primary partitions") if partition_format: parted_string = f'{self.blockdevice.device} mkpart {partition_type} {partition_format} {start} {end}' @@ -178,10 +178,10 @@ class Filesystem: raise err else: count += 1 - log(f"Could not get uuid for partition. Waiting for the {count} time",level=logging.DEBUG) + log(f"Could not get UUID for partition. Waiting for the {count} time",level=logging.DEBUG) time.sleep(float(storage['arguments'].get('disk-sleep', 0.2))) else: - log("Add partition exiting due to excesive wait time",level=logging.INFO) + log("Add partition is exiting due to excessive wait time",level=logging.INFO) raise DiskError(f"New partition never showed up after adding new partition on {self}.") def set_name(self, partition: int, name: str): @@ -192,7 +192,7 @@ class Filesystem: return self.parted(f'{self.blockdevice.device} set {partition + 1} {string}') == 0 def parted_mklabel(self, device: str, disk_label: str): - log(f"Creating a new partition labling on {device}", level=logging.INFO, fg="yellow") + log(f"Creating a new partition label on {device}", level=logging.INFO, fg="yellow") # Try to unmount devices before attempting to run mklabel try: SysCommand(f'bash -c "umount {device}?"') |