requiredRemove the hard drive while booting up, and then use Fdisk-l to view the following issues 650) this.width=650; "title=" image_thumb[6] "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image_thumb[6] "src=" http://img1.51cto.com/attachment/201408/30/8926377_ 14094153088ryl.png "" 348 "height="/> partitioning and fo
Key Points of adding a new hard disk and partitioning and formatting in Linux
Prerequisites
Before adding a hard disk to a host, you must first understand the hard disk and partition naming method in Linux.
In Linux, IDE devices are named after HD. The first ide device is hda, and the second is HDB. And so on
Generally
Reproduced from: http://www.cnblogs.com/hnrainll/archive/2012/02/27/2369331.html
The hard disk space is not enough, need to increase the new hard disk expansion. Write down the entire process of partitioning, formatting, and mounting the configuration automatically.Operating Environment | Enviroment
Ubuntu 10.10One, hard dis
You do not need to remember the command for disk partition-fdiskfdisk, because after entering m, you will see detailed help information, as shown below:
[root@lx15 /data ]# fdisk /dev/sdaThe number of cylinders for this disk is set to 36404.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of
A 200 GB mobile hard drive purchased four years ago has two partitions: GB and GB. A folder was inaccessible a long time ago, and the disk was formatted every time you double-click it. A few days ago, the drive letter was unavailable because the disk failed to exit and the data line was forced to be unplugged. I tried several processing methods in one day and recorded them here.
1. Use the
One, add diskFirst we add a disk I'm running on an Oracle VM VirtualBox virtual machine and choose to add a new disk when the system shuts downAfter adding the disk boot system, we first switch to the root user and the next operation requires root permission to operate.Input fdisk-l found a new disk with a/dev/sdb of 8
Creating Journal (32768 blocks): donewriting superblocks and filesystem accounting Informa tion: donethis filesystem'll be automatically checked every -mounts orin days, whichever comes fi Rst. Use tune2fs-c or-i to override. 4. Mount Directory 4.1 manual mountNew Catalog/u01mkdir -p /u01Mount device to directory/u01mount /dev/xvdb1 /u01[[emailprotected] ~]# mkdir -p /u01[[emailprotected] ~]# mount /dev/xvdb1 /u014.2 Boot Auto Mount/etc/fstabto modify the configuration file, add a li
online search information, some say that the partition table is bad, and some say that the disk has bad road, according to say all tried the result or not, through Diskgenius, the partition table backup, lest two damage more can't recover, and then search partition, results found partition, but can not save, The result of online search is to save the function Diskgnius need charge, price is not low, about 500 yuan, imagine, I did not do, or find info
Disk partition, then format (to write data on disk)#查看文件系统格式[Email protected] ~]# Cat/etc/filesystemsExt4Ext3Ext2Nodev procNodev devptsiso9660Vfatff=HfsplusCommon formatting commands: MKFS.EXT4#格式化650) this.width=650; "src=" HTTP://NOTE.YOUDAO.COM/YWS/RES/1403/WEBRESOURCEFCB937D8545716BF17462A56BB5B6EBF "alt=" Webresourcefcb937d8545716bf17462a56bb5b6 "/>MKE2FS is
partitionTune2fs-l/DEV/SDB1Set the maximum number of mountsExample : setting up to mount up to three timesTune2fs-c 30Can see the maximum number of times to mount and the number of mounts mountedTune2fs-l Equipmentset up to mount up to daysTune2fs-i 30D/DEV/SDB1ViewTune2fs-lModify Partition NameE2LABEL/DEV/SDB1 New nameExample :E2LABEL/DEV/SDB1 Mydisk1Tune2fs-l/DEV/SDB1Mount : after partition formatting , cannot be used directly , need to mountThe f
synchronized to disk, because the command to erase the MBR above is too fast, to prevent the system from synchronizing the in-memory changes to our hard drive, we have to manually synchronize the script and wait for 3 seconds with the Sleep 3 command, Let our system recognize our commands.The read command continues only after waiting for our user to enter content.--We use the script to partition the disk,
How to Use diskgenius to restore Data
Sai714
Add to favorites
2011-08-26
Number of readings:
Public
Transfer to my library
How to Use diskgenius to restore Data 15:38:48| Category:Utility| Tag: |Font
What is formatting?
Format is also called initialization, the flash drive (U disk, MP3, etc.) after the factory, after the format, can be recognized and used by the system. Formatting is faster and easier if you need to delete all the content on the entire disk.
To force the format of the U
After partitioning the disk, or can not directly write to the content, you need to format it to the Linux system can recognize the file system format, the format is actually to disk installation file system.The file system format supported by Linux CentOS 6 can be seen in the/etc/filesystems file:The more common is the EXT4 format# Cat/etc/filesystemsExt4Ext3Ext2Nodev procNodev devptsiso9660VfatHfSHfsplussu
Marco Education Video Learning note-shell script complete disk partition formatting-http://edu.51cto.com/lesson/id-28201.htmlThe following is the script content, the content is relatively simple, do not make a detailedTo prepare a free disk on Linux, how to partition can be changed within the script#!/bin/bash#echo "Initial a
command for a process with PID 789 is: Pstree 789Kill command; Sends a signal to one or more processes, sending a terminating signal by default.usage: Terminate the command for a process with PID 3852: Kill 3852Kill-9: Kill the command for a process with a PID of 3906 kill-9 3906pgrep command; Find a process by name or other propertyUsage: Find the command for the process named Firefox: pgrep FirefoxPkill command; Send a signal to a process by name or other attributeUsage: the command to kill a
Article Title: Linux hard disk partition formatting. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
[Root @ NAT ~] # Fdisk-lDisk/dev/sda: 200.0 GB, 200049647616 bytes255 heads, 63 sectors/track, 24321 cylindersUnits = cylinders of 16065*512 = 8225280 bytesDevice Boot St
Linux disk partitioning and formatting tool-general Linux technology-Linux technology and application information. The following is a detailed description. Previously, all partitions used disk partitioning tools under DOS, such as PQ and fdisk (non-linux version). In fact, I used slax to play, it is also found that there is a very useful
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.