




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、創(chuàng)建linux虛擬硬盤creates the linux virtual hard drivecreate a virtual hard driveclose the virtual system running in the vm;2, right-click on the virtual system nameaclcl a hard disk - create a new virtual disk - > scsi - >you can see a new hard disk, hard disk 2, in the hardwarea virtual hard drive
2、is partitioned and formattedcheck the current system for several hard drivesroot # fdisk - 1the first hard drive informationdisk/dev/sda: 36. 4 gb, 36401479680 bytes 255 heads, the 63 sectors/track, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdevice boot end blocks id system/dev/sdal
3、 * 1, 255, 2048256, and linux/ dev/sda2 256 1530 10241437 + 83 linux/ dev/sda3 4296 4425 10442582 linux swap/dev/sda4 1531 4295 22209862 + f win95 ext 'd (lba)/dev/sda5 1531 2805 1024140683 linux/ dev/sda6 2806 4295 11968393 + 83 linuxpartition table entries are not in disk orderthe second hard
4、drive informationdisk/dev/sdb: 36. 7 gb, 36703918080 bytes # # is found/dev/sdb, capacity 36. 7 g, unpartitioned255 heads, the 63 sectors/track, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdisk/dev/sdc doesn't contain a valid partition tablethe second disk has no partition tabler
5、oot linux root # fdisk/dev/sdbpartition the second hard drivethe number of cylinders for this disk is set to 4462there is nothing wrong with that, but this is larger than 1024.and could in certain setups cause problems1) software that runs at boot time2) booting and partitioning software from other
6、oss(dos fdisk, os/2 fdisk)command (m for help) : mthe command actiona toggle a bootable flagb edit bsd disklabelc toggle the dos compatibility flagd delete a partitionlist known partition typesprint this menun add a new partition 0 create a new empty dos partition tableprint the partition tableq qui
7、t without saving changess create a new empty sun disklabelt change a partition's system idu change display/entry unitsverify the partition tablew write table to disk and exitx extra functionality (experts only)command (m for help) : p# # prints the list of partitions currently under the hard dri
8、vedisk/dev/sdb: 36. 7 gb, 36703918080 bytes255 heads, the 63 sectors/track, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdevice boot end blocks id systemcommand (m for help) : n# # adds a partitionthe command actione extendedp primary partition (1-4)# # because you usually choose the
9、primary partition, so you have a p hereppartition number (1-4) : 1 # # is the first one, so choose 1, if it is the second partition, choose 2, and so onfirst cylinder (1 -4462, default 1) : the number of disks that start in # # new partitionusing the default value of 1the last cylinder or + size or
10、+ sizem or + sizek (1 -4462, the default 4462) : if you want to partition 10 g, here can directly in put: + 10240 m, b ecause here is all use hard disk space, use the defaultusing the default value is 4462command (m for help) : pdisk/dev/sdb: 36. 7 gb, 36703918080 bytes255 heads, the 63 sectors/trac
11、k, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdevice boot end blocks id system/ dev/sdbl, 1, 4462, 35840983 + 83 linuxthe first partition here is already sorted, and then you have to write this partition to the hard disk, using wcommand (m for help) : wthe partition table has been a
12、ltered!calling ioctl () to re-read partition tablesyncing disksthe following job is formatting the hard drive, and i'm formatting it in ext3root linux root # mkfs ext3 /dev/sdbl (the original command here is: mke2fs-j/dev/sdbl, try to do no work, change it)mke2fs 1. 32 (2009-nov 2002)filesystem
13、label 二linux os type:block size = 4096 (log 二 2)fragment size 二 4096 (log 二 2)4480448 inodes, 8960245 blocksreserved for the super userthe first data block 二 0274 block groups32768 blocks per group, 32768 fragments per group16352 inodes per groupsuperblock backups stored on blocks:3276& 98304, 1
14、63840, 229376, 294912, 819200, 884736, 1605632,2654208,4096000, 7962624writing inodes tables: donecreate journal (8192 blocks) : donewriting superblocks and filesystem accounting information:donethis filesystem will be automatically checked every 23180 days, it comes first use tune2fs-c or - i to ov
15、erride.check to see if you have the formatroot linux root # fdisk -1disk/dev/sda: 36. 4 gb, 36401479680 bytes255 heads, the 63 sectors/track, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdevice boot end blocks id system/dev/sdal * 1, 255, 2048256, and linux/ dev/sda2 256 1530 10241437
16、 + 83 linux/ dev/sda3 4296 4425 10442582 linux swap/dev/sda4 1531 4295 22209862 + f win95 ext 'd (lba)/dev/sda5 1531 2805 1024140683 linux / dev/sda6 2806 4295 11968393 + 83 linuxpartition table entries are not in disk orderdisk/dev/sdb: 36. 7 gb, 36703918080 bytes255 heads, the 63 sectors/track
17、, 63 cylindersunits 二 cylinders of 16065 * 512 二 8225280 bytesdevice boot end blocks id system/ dev/sdbl, 1, 4462, 35840983 + 83 linuxmount the virtual hard diskthe dividing line is good, and it is formatted here is the mounti will mount/dev/sdbl to/datalroot linux root # mkdir/datal # # first build
18、s the mounted directory datalroot linux root # mount /dev/sdbl / datal # # will mount sdbl to datalfor the uuid of fstab, the method is as follows:1, information about the device file in /dev/disk/by-uuid / # is -1/dev/disk/by - uuid /2, through the blkid command # blkid/dev/sdb5add a new hard drive partition to the fstab table with uuidvi/dev/fstaband then addhere,s an example: find uuid added to fstab and restart
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年中國(guó)2,4-二氯-5-氟苯乙酮數(shù)據(jù)監(jiān)測(cè)報(bào)告
- 2025至2030年中國(guó)高溫燙布市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)門框式輻射測(cè)量?jī)x市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)針織羊絨圍巾市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)脈通沖劑市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)精制復(fù)合紙市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)白??埵袌?chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)比較量?jī)x市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)早早孕測(cè)試盒市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)手壓式封口機(jī)市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 高速鐵路接觸網(wǎng)壓接式電連接安裝工法CREC-01-2018-60
- 人教版(2023版)初中語(yǔ)文九年級(jí)上冊(cè)全冊(cè)同步練習(xí)+單元綜合訓(xùn)練+專項(xiàng)訓(xùn)練+期中期未測(cè)試合集(含答案)【可編輯可打印】
- 電磁兼容中抗擾度試驗(yàn)教學(xué)課件
- 中國(guó)郵政儲(chǔ)蓄銀行理財(cái)考試真題模擬匯編(共719題)
- 醫(yī)務(wù)科崗前培訓(xùn)
- 市政雨污水管道清污清淤工程地下有限空間作業(yè)專項(xiàng)方案2020年10月10
- 醫(yī)療器械行業(yè)市場(chǎng)部人員崗位職責(zé)
- 旅行社導(dǎo)游帶團(tuán)操作流程
- 部編版小學(xué)道德與法治三年級(jí)下冊(cè)期末質(zhì)量檢測(cè)試卷【含答案】5套
- 怎樣當(dāng)好一名師長(zhǎng)
- DB21T 3354-2020 遼寧省綠色建筑設(shè)計(jì)標(biāo)準(zhǔn)
評(píng)論
0/150
提交評(píng)論