What Are the Different Ways to Reformat a Computer?
Format (format) refers to an operation that initializes a disk or a partition in a disk. This operation usually causes all files on the existing disk or partition to be erased. Formatting is usually divided into low-level formatting and high-level formatting. If not specified, formatting a hard disk usually refers to advanced formatting, while formatting a floppy disk usually includes both.
Disc formatting involves two different procedures: low-level and high-level formatting. The former deals with the characteristics of the disk surface formatting given the number of sectors on the disk; after the low-level formatting is completed, the hardware disk controller can see and use the results of the low-level formatting; the latter processing "is accompanied by Specific information written by the operating system. " [1]
Simply put, formatting is the initialization of the disk so that we can record data on the disk step by step. For example, we have a large house to store books. We don't move books to the house and throw them on the ground. Instead, we must first set up bookshelves, mark the categories, and put the books in different categories. [1]
Low-level formatting is to divide a blank disk into cylinders and tracks, and then divide the track into several sectors, and each sector is divided into an identification part ID, a gap area GAP, and a data area DATA. It can be seen that the low-level format is
May be called format-ization, and apply it to other phrase sentences according to a specific format (the field is widely used as a formula)
Example: a * a / q
1 * 1/9
On windows and
Graphical formatting tools for Linux:
Gparted, recommended for novice users, intuitive interface and easy operation
Ubuntu / Debian users can use:
apt-get install gparted
To install it
In addition, the formatting command under Linux is mkfs. [File system]
such as
mkfs.ext3
mkfs.vfat
mkfs.ntfs
mkfs.xfs
and many more
If you want to format / dev / sda1 as an Ext3 file system, enter
mkfs.ext3 / dev / sda1
Formatting is complete. Other operations are similar to this, all are
mkfs. [file system] [
Because formatting deletes all the information on the disk, the virus will also be deleted. Therefore, formatting is often used as an auxiliary method to remove viruses. However, if the virus is lurking in the motherboard bios, or in a partition other than the formatted partition, formatting will certainly not be effective in removing the virus. However, some viruses are stored in the file, and formatting is also a good choice! [1]
Format is a process of writing zeros on all data areas of a physical drive (hard disk). Formatting is a purely physical operation. At the same time, the hard disk media is checked for consistency, and unreadable and bad sectors are marked. Area. Since most hard disks are formatted at the factory, they need to be formatted only when errors occur on the hard disk media. [1]
DOS Format DOS boot
If you have WIN98 installed, hold down Ctrl while the computer is starting up, the boot selection menu appears, select 5 "Command Prompt Only" to enter DOS mode. [1]
Our commonly used operating systems are windows 9x / Me, NT, 2000, windows XP, windows 2003, Windows 7, etc., all of which are visual interfaces. The operating system used by people before these systems was the DOS system. The DOS system is not used by anyone, but the DOS command still exists in the Windows system we use. Most DOS commands have become a visual interface in Windows, but some advanced DOS commands still need to be executed in the DOS environment. So learning the command line is necessary for us to be proficient in operating the Windows system. [1]
Different operating systems use different commands to enter the command line interface.
Enter the "command" command in the running program in the start menu of Win9x / Me to enter the command line interface.
Enter the command line interface by pressing the command "quot; cmd" in the running program in the Win2000 / NT start menu.
The DOS commands I use below can be executed in Windows Me operating system.
So how do we get into the command line window?
Start-> Run-> Type command (or enter cmd directly) command-> Enter
Entered the command line interface (DOS window). In the DOS window, you can only use the keyboard to operate.
In DOS, the program is executed by entering an English command and pressing the Enter key. [1]
A Format returns to drive A
If we need to format the C: drive, then we cannot format the C: drive in the C: drive directory, but return to the A: drive. Anyway, if the C: is a disk other than the disk, it is usually A: after the boot is completed. If it is started by the CD, it is not A: It moves backwards automatically). [1]
Third, formatting commands and illustrations (please pay attention to formatting errors)
FORMAT --format command
As everyone knows, newly purchased disks must be formatted before they can be used. The FORMAT command can complete the formatting operation of floppy disks and hard disks. The format is "FORMAT [drive letter] [parameter]", such as "FORMAT C: / S" . It has two common parameters:
/ Q: Quick format (please be careful not to format it by mistake);
/ S: Finish formatting and copy the system boot file to this disk.
VB Format function
Returns a Variant ( String ) containing an expression formatted according to the instructions in the format expression.
Formatting syntax
Format ( expression [, format [, firstdayofweek [, firstweekofyear ]]])
The syntax of the Format function has the following sections:
section | Description |
expression | Required parameters. Any valid expression. |
format | Optional parameter. Valid named expression or user-defined format expression. |
firstdayofweek | Optional parameter. Constant, representing the first day of the week. |
firstweekofyear | Optional parameter. Constant, representing the first week of the year. |
Format setting value
The firstdayofweek parameter has the following settings:
constant | value | Description |
vbUseSystem | 0 | Use NLS API settings. |
VbSunday | 1 | Sunday (default) |
vbMonday | 2 | Monday |
vbTuesday | 3 | Tuesday |
vbWednesday | 4 | Wednesday |
vbThursday | 5 | Thursday |
vbFriday | 6 | Friday |
vbSaturday | 7 | on Saturday |
The firstweekofyear parameter has the following settings:
constant | value | Description |
vbUseSystem | 0 | Use NLS API settings. |
vbFirstJan1 | 1 | Begins with the week containing January 1 (default). |
vbFirstFourDays | 2 | Beginning with the first week of the year, this week has at least four days in the middle of the year. |
VbFirstFullWeek | 3 | Beginning with the first week of the year, this week is completely mid-year. |
Formatting instructions
format | practice |
digital | Use a predefined named numeric format or create a user-defined numeric format. |
Date and time | Use a predefined named date / time format or create a user-defined date / time format. |
Date and time ordinal | Use date and time format or numeric format. |
String | Create a custom string format. |
If format is not specified when formatting numbers, Format provides similar functionality to the Str function, although it is internationalized. However, using Format for positive numbers does not preserve the sign space, while Str does . [1]