Инструменты пользователя

Инструменты сайта


msx:nextor:fdisk-en

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

msx:nextor:fdisk-en [2020-03-18 14:12]
Wierzbowsky [The built-in Nextor partitioning tool — FDISK]
msx:nextor:fdisk-en [2020-07-25 23:53]
Строка 1: Строка 1:
-====== The built-in Nextor partitioning tool — FDISK ====== 
- 
-The Nextor'​s kernel has an embedded utility called ''​FDISK''​ for partitioning of storage devices attached to Nextor device-based drivers. 
- 
-The tool has a user interface based on menus, so anyone should be able to use it by just following the instructions provided on the screen (when in doubt, look for hints on what to do next in the lower line of the screen). There are, however, some facts to consider that are not mentioned in the tool itself: 
-  * The tool allows creating up to 256 FAT12 and FAT16 partitions on any block device attached to the Nextor device-based driver. MSX-DOS drivers and Nextor drive-based drivers are not supported 
-  * Partitions from 100KB (the minimum supported partition size) up to 32MB will be FAT12, partitions from 33MB to 4GB (the maximum supported partition size) will be FAT16 
-  * Partitions of 16MB or less will have three sectors per FAT or less, therefore they can be used in MSX-DOS 1 mode 
-  * Partitions up to 32MB will have a MSX-DOS 2 boot sector, partitions of 33MB and more will have the standard boot sector 
-  * To get an optimum cluster size, it is recommended to define the partition sizes as powers of two (that is: 1M, 2M, 4M, 8M, 16M or 32M for FAT12 partitions; 64M, 128M, 256M, 512M, 1G, 2G or 4G for FAT16 partitions). If this is not possible, it is better to select the partition size as slightly smaller than the closest power of two than slightly higher (that is, for example 31M is better than 33M) 
-  * Remember that Nextor can handle devices with FAT16 partitions and standard boot sectors; if you use a factory-partitioned device of 2GB or less, you probably don't need to partition it, unless you want to create MSX-DOS 1 compatible partitions (4GB devices are usually shipped with a FAT32 partition, so you will need to partition it with FDISK anyway) 
-  * When creating new partitions you can choose which one(s) will have the "​active"​ flag set, thus being eligible for automatic mapping at boot time; it is also possible change the flag on already existing partitions 
-  * The partitioning tool works in MSX-DOS 1 mode too. Note however that the tool will always allow you to create partitions larger than 16M, which are not compatible with MSX-DOS 1 
- 
-<WRAP center round important 60%> 
-With this tool it is not possible to add new partitions to the already partitioned device. All existing partitions [[#​deleteallpartitions|must be removed]] before creating new ones. 
-</​WRAP>​ 
- 
-To start ''​FDISK''​ partitioning tool, just type <​code>​_FDISK</​code>​ or <​code>​CALL FDISK</​code>​ from the MSX BASIC and press ''​Enter''​. The utility works properly with both 40 columns and 80 columns mode, so it can be used on MSX1 and later computers. 
- 
-<WRAP center round info 60%> 
-Please note that starting the ''​FDISK''​ tool will delete the current BASIC program located in RAM. 
-</​WRAP>​ 
- 
- 
-====== Select the device driver ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-1. Sunrise IDE 
-   ​v.0.1.7 on slot 1-1 
- 
-ESC. Exit 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
----------------------------------------- 
-Select the device driver 
-</​code>​ 
- 
-Select driver: <​key>​1</​key>​ 
- 
-====== Select the device ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
- 
-1 . OPENMSX HARD DISK 
- 
-ESC. Go back to driver selection screen 
- 
- 
- 
- 
- 
- 
- 
- 
- 
----------------------------------------- 
-Select the device 
-</​code>​ 
-Select device: <​key>​1</​key>​ 
- 
-{{anchor:​selectlogicalunit}} 
-====== Select the logical unit ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
- 
-1. Size: 100M 
- 
-ESC. Go back to device selection screen 
- 
- 
- 
- 
- 
- 
- 
- 
- 
----------------------------------------- 
-Select the logical unit 
-</​code>​ 
-Select logical unit: <​key>​1</​key>​ 
- 
-====== Create partition ====== 
- 
-{{anchor:​createpartition}} 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
-Unpartitioned space available: 100M 
- 
-Changes are not committed 
-until W is pressed. 
- 
-(No partitions found or defined) 
-A. Add one 100M partition 
-P. Add partition... 
- 
-T, Test device access 
- 
- 
----------------------------------------- 
-Select an option or press ESC to return 
-</​code>​ 
- 
-|<​key>​a</​key>​|[[#​addnewpartitionfixedsize|Add new partition fixed size]]| 
-|<​key>​p</​key>​|[[#​addnewpartitioncustomsize|Add new partition custom size]]| 
-|<​key>​t</​key>​|[[#​testdeviceaccess|Test device access]]| 
-|| | 
-|<​key>​Esc</​key>​|[[#​discardchanges|Discard changes]]| 
- 
-{{anchor:​addnewpartitionfixedsize}} 
-====== Add new partition fixed size ====== 
-By default, the partition size is equal to the maximum available space on the device (but less than 4 GB). 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
-Unpartitioned space available: 0K 
- 
-Changes are not committed 
-until W is pressed. 
- 
-S. Show partitions (1 defined) 
-D. Delete all partitions 
-U. Undo add 100M partition 
- 
-W. Write partitions to disk 
- 
-T. Test device access 
- 
----------------------------------------- 
-Select an option or press ESC to return 
-</​code>​ 
- 
-|<​key>​s</​key>​|[[#​showpartitions|Show partitions]]| 
-|<​key>​d</​key>​|[[#​deleteallpartitions|Delete all partitions]]| 
-|<​key>​u</​key>​|[[#​undoaddpartition|Undo add partition]]| 
-|| | 
-|<​key>​w</​key>​|[[#​writepartitionstodisk|Write partitions to disk]]| 
-|| | 
-|<​key>​t</​key>​|[[#​testdeviceaccess|Test device access]]| 
-|| | 
-|<​key>​Esc</​key>​|[[#​discardchanges|Discard changes]]| 
- 
- 
-{{anchor:​addnewpartitioncustomsize}} 
-====== Add new partition custom size ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
- 
-Add new partition 
- 
-Enter partition size in MB (1-100) 
-or partition size in KB followed by 
-"​K"​ (100-32767):​ 20  
- 
- 
- 
- 
- 
- 
----------------------------------------- 
-Enter size or press ENTER to cancel 
-</​code>​ 
-Enter 20 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
-Unpartitioned space available: 80M 
- 
-Changes are not committed 
-until W is pressed. 
- 
-S. Show partitions (1 defined) 
-D. Delete all partitions 
-A. Add one 20M partition 
-P. Add partition... 
-U. Undo add 20M partition 
- 
-W. Write partitions to disk 
- 
-T. Test device access 
- 
----------------------------------------- 
-Select an option or press ESC to return 
-</​code>​ 
- 
-|<​key>​s</​key>​|[[#​showpartitions|Show partitions]]| 
-|<​key>​d</​key>​|[[#​deleteallpartitions|Delete all partitions]]| 
-|<​key>​a</​key>​|[[#​addonepartition|Add one partition]]| 
-|<​key>​p</​key>​|[[#​addnewpartitioncustomsize|Add new partition custom size]]| 
-|<​key>​u</​key>​|[[#​undoaddpartition|Undo add partition]]| 
-|| | 
-|<​key>​w</​key>​|[[#​writepartitionstodisk|Write partitions to disk]]| 
-|| | 
-|<​key>​t</​key>​|[[#​testdeviceaccess|Test device access]]| 
-|| | 
-|<​key>​Esc</​key>​|[[#​discardchanges|Discard changes]]| 
- 
- 
-{{anchor:​deleteallpartitions}} 
-====== Delete all partitions ====== 
-If you press the <​key>​d</​key>​ key, the program will prompt you to confirm the selection: 
-<​code>​ 
----------------------------------------- 
-Discard all defined partitions? (y/n) █ 
-</​code>​ 
- 
-If you confirm the selection and press <​key>​y</​key>,​ then all partitions will be deleted and the program will go to the [[#​createpartition|Create partition]] screen. 
- 
-{{anchor:​addonepartition}} 
-====== Add one partition ====== 
- 
-Another section is added, the same size that was specified for the last created section. 
- 
-{{anchor:​showpartitions}} 
-====== Show partitions ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-       One new partitions defined 
- 
-* 1: FAT12, 20M 
-  2: FAT12, 20M 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
----------------------------------------- 
- ESC = return, 1-2 = toggle active (*) 
-</​code>​ 
-  * <​key>​Esc</​key>​ — Return to previous screen 
-  * Use the numeric keys to select the number of the active partition 
- 
- 
-{{anchor:​testdeviceaccess}} 
-====== Test device access ====== 
- 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
- 
- 
-Now reading device sector 123 
- 
- 
- 
- 
- 
- 
- 
- 
----------------------------------------- 
-Press any key to stop... 
-</​code>​ 
- 
-{{anchor:​writepartitionstodisk}} 
-====== Write partitions to disk ====== 
- 
-<WRAP center round important 60%> 
-Please remember to write all changes to partitions before quitting the ''​FDISK''​ tool! Otherwise your changes will be lost.</​WRAP>​ 
- 
-Before saving the partition table to the program disk, it will warn you that all data on it will be destroyed and their recovery will be impossible: 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
- 
- 
-Create 1 partitions on device 
- 
-THIS WILL DESTROY 
-ALL DATA ON THE DEVICE!! 
-This action can't be canceled 
-and can't be undone 
- 
-Are you sure? (y/n) █ 
- 
- 
----------------------------------------- 
-</​code>​ 
- 
-If you confirm the selection and press <​key>​y</​key>,​ the partition settings will be saved to disk: 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
- 
- 
-     ​Creating partition 1 of 4 ... 
- 
-                 Done! 
- 
- 
-   If this device had drivers mapped to, 
-        please reset the computer. 
- 
- 
- 
----------------------------------------- 
-Press any key to return... 
-</​code>​ 
- 
-By pressing any key, the program will display the following screen: 
-<​code>​ 
-     ​Nextor disk partitioning tool 
----------------------------------------- 
- 
-Sunrise IDE on slot 1-1 
-OPENMSX HARD DISK (1) 
-Logical unit 1, size: 100M 
- 
-Changes are not committed 
-until W is pressed. 
- 
-S. Show partitions (1 defined) 
-D. Delete all partitions 
- 
-T. Test device access 
- 
- 
- 
- 
- 
----------------------------------------- 
-Select an option or press ESC to return 
-</​code>​ 
- 
-If you have finished partitioning the disk, exit the program and restart the computer. 
- 
-|<​key>​s</​key>​|[[#​showpartitions|Show partitions]]| 
-|<​key>​d</​key>​|[[#​deleteallpartitions|Delete all partitions]]| 
-|| | 
-|<​key>​w</​key>​|[[#​writepartitionstodisk|Write partitions to disk]]| 
-|| | 
-|<​key>​t</​key>​|[[#​testdeviceaccess|Test device access]]| 
-|| | 
-|<​key>​Esc</​key>​|[[#​discardchanges|Discard changes]]| 
- 
- 
-{{anchor:​discardchanges}} 
-====== Discard changes ====== 
- 
-Cancel all settings and return 
- 
-<​code>​ 
----------------------------------------- 
-Discard changes and return? (y/n) █ 
-</​code>​ 
- 
-If you confirm the selection and press <​key>​y</​key>,​ all settings will be lost and the program will go to the [[#​selectlogicalunit|Select the logical unit]] screen. 
- 
- 
-{{anchor:​undoaddpartition}} 
-====== Undo add partition ====== 
- 
-If you press <​key>​u</​key>,​ the creation of the last section will be canceled. 
- 
-====== Links ====== 
- 
-[[github>​Konamiman/​Nextor/​blob/​v2.1/​docs/​Nextor 2.1 User Manual.md#​35-the-built-in-partitioning-tool|Nextor 2.1 User Manual — 3.5. The built-in partitioning tool]] 
- 
- 
-{{tag>​MSX RBSC_en}} 
  
msx/nextor/fdisk-en.txt · Последние изменения: 2020-07-25 23:53 (внешнее изменение)