RHEL7.X绯诲垪鍙婂懆杈筁inux鍙戣鐗堜腑锛屽叧浜嶮BR涓嶨PT鐨勯€夋嫨涓€浜涙€濊€冧笌寤鸿
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RHEL7.X绯诲垪鍙婂懆杈筁inux鍙戣鐗堜腑锛屽叧浜嶮BR涓嶨PT鐨勯€夋嫨涓€浜涙€濊€冧笌寤鸿相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/%e7%94%a8%e9%80%94' title='鐢ㄩ€?>鐢ㄩ€?/a> 鐙珛 鐭ヨ瘑 ast 甯︽潵 lsb 纭洏 class gui
涓€.寮曡█瀛樺偍鐨勯€夊瀷銆佽鍒掍笌绠$悊绛夊伐浣滀竴鐩翠互鏉ラ兘鏄棩甯哥郴缁熻繍缁村伐浣滀腑鐨勯噸鐐广€侻BR涓嶨PT涓ょ绫诲瀷鐨勫垎鍖鸿〃鐨勯€夋嫨涓庝娇鐢ㄥ垯鏄湪纾佺洏绠$悊涓渶瑕佹牴鎹簲鐢ㄥ満鏅潵娉ㄦ垨鑰冭檻鐨勮鐐广€傜粨鍚堢瑪鑰呭骞寸殑杩愮淮宸ヤ綔缁忛獙锛屽紩鍙戜簡瀵硅繖浜涢棶棰樼殑涓€浜涙€濊€冿紝鍊熸鏂囪繘琛屼竴浜涘垎浜€?/p>
浜?鐩稿叧鐭ヨ瘑鐐?/h1>
2.1 MBR
涓诲紩瀵艰褰曪紙Master Boot Record锛岀缉鍐欙細MBR锛夛紝鍙堝彨鍋氫富寮曞鎵囧尯锛屾槸璁$畻鏈哄紑鏈哄悗璁块棶纭洏鏃舵墍蹇呴』瑕佽鍙栫殑棣栦釜鎵囧尯锛屽畠鍦ㄧ‖鐩樹笂鐨勪笁缁村湴鍧€涓猴紙鏌遍潰锛岀澶达紝鎵囧尯锛夛紳锛?锛?锛?锛夈€傚湪娣卞叆璁ㄨ涓诲紩瀵兼墖鍖哄唴閮ㄧ粨鏋勭殑鏃跺€欙紝鏈夋椂涔熷皢鍏跺紑澶寸殑446瀛楄妭鍐呭鐗规寚涓衡€滀富寮曞璁板綍鈥濓紙MBR锛夛紝鍏跺悗鏄?涓?6瀛楄妭鐨勨€滅鐩樺垎鍖鸿〃鈥濓紙DPT锛夛紝浠ュ強2瀛楄妭鐨勭粨鏉熸爣蹇楋紙55AA锛夈€傚洜姝わ紝鍦ㄤ娇鐢ㄢ€滀富寮曞璁板綍鈥濓紙MBR锛夎繖涓湳璇殑鏃跺€欙紝闇€瑕佹牴鎹叿浣撴儏鍐靛垽鏂叾鍒板簳鏄寚鏁翠釜涓诲紩瀵兼墖鍖猴紝杩樻槸涓诲紩瀵兼墖鍖虹殑鍓?46瀛楄妭銆?/p>
涓诲紩瀵兼墖鍖鸿褰曠潃纭洏鏈韩鐨勭浉鍏充俊鎭互鍙婄‖鐩樺悇涓垎鍖虹殑澶у皬鍙婁綅缃俊鎭紝鏄暟鎹俊鎭殑閲嶈鍏ュ彛銆傚鏋滃畠鍙楀埌鐮村潖锛岀‖鐩樹笂鐨勫熀鏈暟鎹粨鏋勪俊鎭皢浼氫涪澶憋紝闇€瑕佺敤绻佺悙鐨勬柟寮忚瘯鎺㈡€х殑閲嶅缓鏁版嵁缁撴瀯淇℃伅鍚庢墠鍙兘閲嶆柊璁块棶鍘熷厛鐨勬暟鎹€備富寮曞鎵囧尯鍐呯殑淇℃伅鍙互閫氳繃浠讳綍涓€绉嶅熀浜庢煇绉嶆搷浣滅郴缁熺殑鍒嗗尯宸ュ叿杞欢鍐欏叆锛屼絾鍜屾煇绉嶆搷浣滅郴缁熸病鏈夌壒瀹氱殑鍏崇郴锛屽嵆鍙鍒涘缓浜嗘湁鏁堢殑涓诲紩瀵艰褰曞氨鍙互寮曞浠绘剰涓€绉嶆搷浣滅郴缁燂紙鎿嶄綔绯荤粺鏄垱寤哄湪楂樼骇鏍煎紡鍖栫殑纭洏鍒嗗尯涔嬩笂锛屾槸鍜屼竴瀹氱殑鏂囦欢绯荤粺鐩歌仈绯荤殑锛夈€?/p>
瀵逛簬纭洏鑰岃█锛屼竴涓墖鍖哄彲鑳界殑瀛楄妭鏁颁负128脳2n锛坣=0,1,2,3锛夈€傚ぇ澶氭儏鍐典笅锛屽彇n=2锛屽嵆涓€涓墖鍖猴紙sector锛夌殑澶у皬涓?12瀛楄妭銆?/p>
2.2 GPT
鍏ㄥ眬鍞竴鏍囪瘑鍒嗗尯琛紙GUID Partition Table锛岀缉鍐欙細GPT锛夋槸涓€涓疄浣撶‖鐩樼殑鍒嗗尯琛ㄧ殑缁撴瀯甯冨眬鐨勬爣鍑嗐€傚畠鏄彲鎵╁睍鍥轰欢鎺ュ彛锛圗FI锛夋爣鍑嗭紙琚獻ntel鐢ㄤ簬鏇夸唬涓汉璁$畻鏈虹殑BIOS锛夌殑涓€閮ㄥ垎锛岃鐢ㄤ簬鏇夸唬BIOS绯荤粺涓殑涓€32bits鏉ュ瓨鍌ㄩ€昏緫鍧楀湴鍧€鍜屽ぇ灏忎俊鎭殑涓诲紩瀵艰褰曪紙MBR锛夊垎鍖鸿〃銆傚浜庨偅浜涙墖鍖轰负512瀛楄妭鐨勭鐩橈紝MBR鍒嗗尯琛ㄤ笉鏀寔瀹归噺澶т簬2.2TB锛?.2脳1012瀛楄妭锛夌殑鍒嗗尯锛岀劧鑰岋紝涓€浜涚‖鐩樺埗閫犲晢锛堣濡傚笇鎹峰拰瑗块儴鏁版嵁锛夋敞鎰忓埌杩欎釜灞€闄愭€э紝骞朵笖灏嗕粬浠殑瀹归噺杈冨ぇ鐨勭鐩樺崌绾у埌4KB鐨勬墖鍖猴紝杩欐剰鍛崇潃MBR鐨勬湁鏁堝閲忎笂闄愭彁鍗囧埌16 TiB銆?杩欎釜鐪嬩技鈥滄纭殑鈥濊В鍐虫柟妗堬紝鍦ㄤ复鏃跺湴闄嶄綆浜轰滑瀵规敼杩涚鐩樺垎閰嶈〃鐨勯渶姹傜殑鍚屾椂锛屼篃缁欏競鍦哄甫鏉ュ叧浜庡湪鏈夎緝澶х殑鍧楋紙block锛夌殑璁惧涓婁粠BIOS鍚姩鏃讹紝濡備綍鏈€浣崇殑鍒掑垎纾佺洏鍒嗗尯鐨勫洶鎯戙€侴PT鍒嗛厤64bits缁欓€昏緫鍧楀湴鍧€锛屽洜鑰屼娇寰楁渶澶у垎鍖哄ぇ灏忓湪264-1涓墖鍖烘垚涓哄彲鑳姐€傚浜庢瘡涓墖鍖哄ぇ灏忎负512瀛楄妭鐨勭鐩橈紝閭f剰鍛崇潃鍙互鏈?.4ZB锛?.4脳1021瀛楄妭锛夋垨8 ZiB涓?12瀛楄妭锛?,444,732,965,739,290,426,880瀛楄妭鎴?8,446,744,073,709,551,615锛?64-1锛変釜鎵囧尯脳512锛?9锛夊瓧鑺傛瘡鎵囧尯锛夈€?/p>
2.3 MBR涓嶨PT鐨勫叧绯?/h2>
涓庢敮鎸佹渶澶у嵎涓?TB锛圱erabytes锛夊苟涓旀瘡涓鐩樻渶澶氭湁4涓富鍒嗗尯锛堟垨3涓富鍒嗗尯锛?涓墿灞曞垎鍖哄拰鏃犻檺鍒剁殑閫昏緫椹卞姩鍣級鐨凪BR纾佺洏鍒嗗尯鐨勭被鍨嬬浉姣旓紝GPT纾佺洏鍒嗗尯鏍峰紡鏀寔鏈€澶т负128涓垎鍖猴紝涓€涓垎鍖烘渶澶?8EB锛圗xabytes锛夛紝鍙彈鍒版搷浣滅郴缁熼檺鍒讹紙鐢变簬鍒嗗尯琛ㄦ湰韬渶瑕佸崰鐢ㄤ竴瀹氱┖闂达紝鏈€鍒濊鍒掔‖鐩樺垎鍖烘椂锛岀暀缁欏垎鍖鸿〃鐨勭┖闂村喅瀹氫簡鏈€澶氬彲浠ユ湁澶氬皯涓垎鍖猴紝IA-64鐗圵indows闄愬埗鏈€澶氭湁128涓垎鍖猴紝杩欎篃鏄疎FI鏍囧噯瑙勫畾鐨勫垎鍖鸿〃鐨勬渶灏忓昂瀵革級銆備笌MBR鍒嗗尯鐨勭鐩樹笉鍚岋紝鑷冲叧閲嶈鐨勫钩鍙版搷浣滄暟鎹綅浜庡垎鍖猴紝鑰屼笉鏄綅浜庨潪鍒嗗尯鎴栭殣钘忔墖鍖恒€傚彟澶栵紝GPT鍒嗗尯纾佺洏鏈夊浠藉垎鍖鸿〃鏉ユ彁楂樺垎鍖烘暟鎹粨鏋勭殑瀹屾暣鎬с€傚湪UEFI绯荤粺涓婏紝閫氬父鏄€氳繃ESP鍒嗗尯涓殑EFI搴旂敤绋嬪簭鏂囦欢鍚姩GPT纭洏涓婄殑鎿嶄綔绯荤粺锛岃€屼笉鏄椿鍔ㄤ富鍒嗗尯涓婄殑寮曞绋嬪簭銆?/p>
鍦≧HEL7绯诲垪鍙婂懆杈瑰彂琛岀増涓紝MBR绫诲瀷鐨勫垎鍖鸿〃鏄郴缁熺己鐪侀厤缃紝濡傞渶浣跨敤GPT绫诲瀷鐨勫垎鍖鸿〃锛岃繕闇€瑕佽繘琛岀壒娈婇厤缃紙涓嬫枃浼氳繘琛屼粙缁嶏級銆?/p>
涓?瀹為獙杩囩▼
3.1 鍦–entOS7.5涓互GPT绫诲瀷瀹夎鎿嶄綔绯荤粺
榛樿鎯呭喌涓嬶紝CentOS7绯诲垪鏄互MBR绫诲瀷鐨勫垎鍖鸿〃鏉ュ畨瑁呮搷浣滅郴缁熺殑锛屽鏋滀笉閫氳繃鐗规畩璁剧疆锛岄偅涔堝湪GUI瀹夎鐣岄潰鏃犳硶閫夋嫨GPT鍒嗗尯琛ㄧ被鍨嬬殑銆傚湪瀹夎鎿嶄綔绯荤粺閫夋嫨鐨勫紩瀵肩晫闈紝璁插厜鏍囩Щ鍒扮涓€琛岋紝鎸変笅Tab閿紝鎻掑叆涓€涓┖鏍硷紝杈撳叆inst gpt锛屾寜涓嬪洖杞﹂敭锛岀户缁紩瀵硷紝鍗冲彲灏嗘搷浣滅郴缁熷畨瑁呭埌鍒嗗尯琛ㄧ被鍨嬩负GPT鐨勫垎鍖轰笅銆傚叿浣撳涓嬪浘锛?br/>
鍏朵粬瀹夎銆佹搷浣滆繃绋嬶紝澶у悓灏忓紓銆?/p>
3.2 鏌ョ湅銆佺鐩樻垨鍒嗗尯鐨勫父鐢ㄥ伐鍏?/h2>
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1M 0 part
鈹溾攢sda2 8:2 0 1G 0 part /boot
鈹斺攢sda3 8:3 0 9G 0 part
鈹溾攢centos_gpt-root 253:0 0 8G 0 lvm /
鈹斺攢centos_gpt-swap 253:1 0 1G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
[[email protected] ~]# fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
纾佺洏 /dev/sda锛?0.7 GB, 10737418240 瀛楄妭锛?0971520 涓墖鍖?Units = 鎵囧尯 of 1 * 512 = 512 bytes
鎵囧尯澶у皬(閫昏緫/鐗╃悊)锛?12 瀛楄妭 / 4096 瀛楄妭
I/O 澶у皬(鏈€灏?鏈€浣?锛?096 瀛楄妭 / 4096 瀛楄妭
纾佺洏鏍囩绫诲瀷锛歡pt
Disk identifier: 3B24C802-3FC5-4D42-9D76-F9D7250B310B
# Start End Size Type Name
1 2048 4095 1M Bios boot
2 4096 2101247 1G Microsoft basic
3 2101248 20969471 9G Linux LVM
[[email protected] ~]# parted /dev/sda print
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
Number Start End Size File system Name 鏍囧織
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 1076MB 1074MB xfs
3 1076MB 10.7GB 9661MB lvm
[[email protected] ~]# cfdisk /dev/sda
cfdisk (util-linux 2.23.2)
纾佺洏椹卞姩鍣細/dev/sda
澶у皬锛?0737418240 瀛楄妭锛?0.7 GB
纾佸ご鏁帮細255 姣忕閬撴墖鍖烘暟锛?3 鏌遍潰鏁帮細1305
鍚嶇О 鏍囧織 鍒嗗尯绫诲瀷 鏂囦欢绯荤粺 [鏍囩] 澶у皬 (MB)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sda1 鍚姩锛屼笉鍙敤 涓诲垎鍖? GPT 10737.42 *
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1M 0 part
鈹溾攢sda2 8:2 0 1G 0 part /boot
鈹斺攢sda3 8:3 0 9G 0 part
鈹溾攢centos_gpt-root 253:0 0 8G 0 lvm /
鈹斺攢centos_gpt-swap 253:1 0 1G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
[[email protected] ~]# fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
纾佺洏 /dev/sda锛?0.7 GB, 10737418240 瀛楄妭锛?0971520 涓墖鍖?Units = 鎵囧尯 of 1 * 512 = 512 bytes
鎵囧尯澶у皬(閫昏緫/鐗╃悊)锛?12 瀛楄妭 / 4096 瀛楄妭
I/O 澶у皬(鏈€灏?鏈€浣?锛?096 瀛楄妭 / 4096 瀛楄妭
纾佺洏鏍囩绫诲瀷锛歡pt
Disk identifier: 3B24C802-3FC5-4D42-9D76-F9D7250B310B
# Start End Size Type Name
1 2048 4095 1M Bios boot
2 4096 2101247 1G Microsoft basic
3 2101248 20969471 9G Linux LVM
[[email protected] ~]# parted /dev/sda print
Model: Msft Virtual Disk (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
Number Start End Size File system Name 鏍囧織
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 1076MB 1074MB xfs
3 1076MB 10.7GB 9661MB lvm
[[email protected] ~]# cfdisk /dev/sda
cfdisk (util-linux 2.23.2)
纾佺洏椹卞姩鍣細/dev/sda
澶у皬锛?0737418240 瀛楄妭锛?0.7 GB
纾佸ご鏁帮細255 姣忕閬撴墖鍖烘暟锛?3 鏌遍潰鏁帮細1305
鍚嶇О 鏍囧織 鍒嗗尯绫诲瀷 鏂囦欢绯荤粺 [鏍囩] 澶у皬 (MB)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sda1 鍚姩锛屼笉鍙敤 涓诲垎鍖? GPT 10737.42 *
浠ヤ笂鍐呭涓昏灞曠ず浜唋sblk銆乫disk銆乸arted銆乧fdisk绛夊洓娆惧伐鍏枫€俵sblk涓昏鐢ㄤ簬鏌ョ湅纾佺洏鍙婂垎鍖烘儏鍐碉紝fdisk涓鸿緝涓哄父鐢ㄧ殑鍒嗗尯宸ュ叿锛屾敮鎸?TB浠ヤ笅瀹归噺鐨勭鐩樼殑鍒嗗尯鎿嶄綔锛屽鏋滆秴杩?TB浠ヤ笂瀹归噺鐨勭鐩橈紝鍒欓渶瑕佷娇鐢╬arted鏉ヨ繘琛屽垎鍖猴紝cfdisk鍒欐槸涓€娆炬瘮杈冨鏄撲笂鎵嬬殑鍒嗗尯宸ュ叿銆傝繖浜涘伐鍏峰湪涔嬪墠鐨勬枃绔犱腑鏈変粙缁嶏紝鍙互鏌ラ槄涔嬪墠鏂囩珷銆?/p>
3.3 MBR绫诲瀷鐨勫垎鍖鸿〃浣跨敤蹇冨緱
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1G 0 part /boot
鈹斺攢sda2 8:2 0 9G 0 part
鈹溾攢centos-root 253:0 0 8G 0 lvm /
鈹斺攢centos-swap 253:1 0 1G 0 lvm [SWAP]
sdb 8:16 0 1G 0 disk
sdc 8:32 0 1G 0 disk
sdd 8:48 0 1G 0 disk
sde 8:64 0 1G 0 disk
sr0 11:0 1 1024M 0 rom
[[email protected] ~]# fdisk -l /dev/sdb
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
璁惧 Boot Start End Blocks Id System
/dev/sdb1 2048 501759 249856 83 Linux
/dev/sdb2 501760 706559 102400 83 Linux
/dev/sdb3 706560 911359 102400 83 Linux
/dev/sdb4 911360 1105919 97280 83 Linux
鍛戒护(杈撳叆 m 鑾峰彇甯姪)锛歯
If you want to create more than four partitions, you must replace a
primary partition with an extended partition first.
鍛戒护(杈撳叆 m 鑾峰彇甯姪)锛歸
The partition table has been altered!
Calling ioctl() to re-read partition table.
姝e湪鍚屾纾佺洏銆?[[email protected] ~]# partprobe
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1G 0 part /boot
鈹斺攢sda2 8:2 0 9G 0 part
鈹溾攢centos-root 253:0 0 8G 0 lvm /
鈹斺攢centos-swap 253:1 0 1G 0 lvm [SWAP]
sdb 8:16 0 1G 0 disk
鈹溾攢sdb1 8:17 0 244M 0 part
鈹溾攢sdb2 8:18 0 100M 0 part
鈹溾攢sdb3 8:19 0 100M 0 part
鈹斺攢sdb4 8:20 0 95M 0 part
sdc 8:32 0 1G 0 disk
sdd 8:48 0 1G 0 disk
sde 8:64 0 1G 0 disk
sr0 11:0 1 1024M 0 rom
浠庝笂闈㈢殑瀹為獙锛屾垜浠彲浠ョ湅鍑猴紝MBR绫诲瀷鐨勫垎鍖鸿〃鍦ㄤ娇鐢ㄨ繃绋嬩腑浼氶€犳垚h 鍌ㄧ┖闂寸殑娴垂銆備篃灏辨槸璇达紝涓€鍧楃鐩橈紝鍒涘缓浜?涓富鍒嗗尯锛屽鏋?涓富鍒嗗尯鐨勭┖闂翠娇鐢ㄦ€诲拰灏忎簬纾佺洏瀹為檯鍙敤绌洪棿锛岄偅涔堝氨鏃犳硶鍐嶇户缁繘琛屽垎鍖烘搷浣滐紝鍥犳鏄棤娉曞厖鍒嗗埄鐢ㄨ繖浜涚鐩樼┖闂寸殑銆?/p>
鍒犻櫎杩欎簺鍒嗗尯鍚庯紝浠庤纾佺洏绗?涓垎鍖哄紑濮嬶紝绯荤粺榛樿浣跨敤鎵╁睍鍒嗗尯锛岄€氳繃鎵╁睍鍒嗗尯鏂板缓鍒嗗尯锛屽瓨鍌ㄧ┖闂存氮璐圭殑鎯呭喌鍚屾牱瀛樺湪銆?/p>
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1G 0 part /boot
鈹斺攢sda2 8:2 0 9G 0 part
鈹溾攢centos-root 253:0 0 8G 0 lvm /
鈹斺攢centos-swap 253:1 0 1G 0 lvm [SWAP]
sdb 8:16 0 1G 0 disk
鈹溾攢sdb1 8:17 0 100M 0 part
鈹溾攢sdb2 8:18 0 100M 0 part
鈹溾攢sdb3 8:19 0 100M 0 part
鈹溾攢sdb4 8:20 0 1K 0 part
鈹溾攢sdb5 8:21 0 10M 0 part
鈹溾攢sdb6 8:22 0 10M 0 part
鈹斺攢sdb7 8:23 0 77M 0 part
sdc 8:32 0 1G 0 disk
sdd 8:48 0 1G 0 disk
sde 8:64 0 1G 0 disk
sr0 11:0 1 1024M 0 rom
涓嬮潰渚濈劧浣跨敤fdisk瀵圭鐩榮db杩涜鍒嗗尯锛屼絾鏄妸纾佺洏鐨勫垎鍖鸿〃绫诲瀷鏀规垚浜咷PT锛岄儴鍒嗙粨鏋滃涓嬶細
[[email protected] ~]# fdisk -l /dev/sdb
鍛戒护(杈撳叆 m 鑾峰彇甯姪)锛歡
Building a new GPT disklabel (GUID: 757B3774-B7F0-4650-80B1-EAA13E59C602)
灏嗘樉绀?璁板綍鍗曚綅鏇存敼涓虹洸鍖恒€?鍛戒护(杈撳叆 m 鑾峰彇甯姪)锛歯
鍒嗗尯鍙?(1-128锛岄粯璁?1)锛?绗竴涓墖鍖?(2048-2097118锛岄粯璁?2048)锛?Last sector, +sectors or +size{K,M,G,T,P} (2048-2097118锛岄粯璁?2097118)锛?100M
宸插垱寤哄垎鍖?1
鍛戒护(杈撳叆 m 鑾峰彇甯姪)锛歱
纾佺洏 /dev/sdb锛?073 MB, 1073741824 瀛楄妭锛?097152 涓墖鍖?Units = 鎵囧尯 of 1 * 512 = 512 bytes
鎵囧尯澶у皬(閫昏緫/鐗╃悊)锛?12 瀛楄妭 / 4096 瀛楄妭
I/O 澶у皬(鏈€灏?鏈€浣?锛?096 瀛楄妭 / 4096 瀛楄妭
纾佺洏鏍囩绫诲瀷锛歡pt
Disk identifier: 757B3774-B7F0-4650-80B1-EAA13E59C602
# Start End Size Type Name
1 2048 206847 100M Linux filesyste
[[email protected] ~]# partprobe
[[email protected] ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 10G 0 disk
鈹溾攢sda1 8:1 0 1G 0 part /boot
鈹斺攢sda2 8:2 0 9G 0 part
鈹溾攢centos-root 253:0 0 8G 0 lvm /
鈹斺攢centos-swap 253:1 0 1G 0 lvm [SWAP]
sdb 8:16 0 1G 0 disk
鈹溾攢sdb1 8:17 0 100M 0 part
鈹溾攢sdb2 8:18 0 100M 0 part
鈹溾攢sdb3 8:19 0 100M 0 part
鈹溾攢sdb4 8:20 0 100M 0 part
鈹溾攢sdb5 8:21 0 100M 0 part
鈹溾攢sdb6 8:22 0 100M 0 part
鈹斺攢sdb7 8:23 0 423M 0 part
sdc 8:32 0 1G 0 disk
sdd 8:48 0 1G 0 disk
sde 8:64 0 1G 0 disk
sr0 11:0 1 1024M 0 rom
浠庢搷浣滆繃绋嬩腑锛屾垜浠彲鐢ㄧ湅鍒帮紝鍒嗗尯鍙?-128锛屼笌鍓嶆枃鎵€杩颁竴鑷淬€傜鐩樺垎鍖轰箣鍚庡彲鐢ㄧ┖闂翠笌瀹為檯绌洪棿宸窛涓嶅ぇ锛屽瓨鍌ㄧ┖闂存氮璐硅緝灏忋€?/p>
鍥?鎬荤粨
4.1 鍦≧HEL7.X绯诲垪鍙婂懆杈瑰彂琛岀増涓紝鍦ㄧ鐩樼┖闂村皬浜?TB鐨勭郴缁熷畨瑁呰繃绋嬩腑閲囩敤鐨勯粯璁ょ殑鍒嗗尯绫诲瀷鏄疢BR锛屽闇€浣跨敤GPT杩橀渶鐗规畩璁剧疆銆?/p>
4.2 瀵逛簬瀛樺偍绌洪棿澶т簬2TB鐨勫瓨鍌ㄨ澶囷紝灏介噺鍦ㄤ娇鐢℅PT绫诲瀷鐨勫垎鍖鸿〃锛岄伩鍏嶉€犳垚瀛樺偍绌洪棿鐨勬氮璐广€?/p>
4.3 鍦ㄥ瓨鍌ㄨ澶囩殑浣跨敤涔嬪墠锛岃鏄庣‘鐢ㄩ€旓紝瀵规暟鎹殑鎬婚噺鏈変竴涓€讳綋鎬х殑鎶婃彙銆?/p>
4.4 鍦ㄥ熀浜嶸Mware銆並VM绛夋妧鏈灦鏋勭殑浜戣绠楀钩鍙颁腑锛岀鐩樼┖闂寸殑鎵╁睍灏介噺浠ョ嫭绔嬬鐩樿澶囩殑褰㈠紡杩涜鎵╁睍锛屽敖閲忓噺灏戝湪鍘熺鐩樹笂杩涜绌洪棿鎵╁睍杩欎竴绫绘搷浣溿€傚洜涓哄湪鍓嶆枃宸茬粡鎻愬強锛岄粯璁ゆ儏鍐典笅RHEL7.X鐨勭鐩樺垎鍖虹被鍨嬩负MBR銆備篃灏辨槸璇达紝鍦ㄥ師纾佺洏涓婅繘琛岀┖闂存墿灞曠殑璇濓紝姣忔閮芥柊寤轰富鍒嗗尯锛岄偅涔堟渶澶氬彧鑳芥墿灞?娆★紝鍗充娇鍚庢湡浠ユ墿灞曞垎鍖鸿繘琛屾墿灞曪紝瑙勫垝涓嶆厧锛屼篃鏄細閫犳垚瀛樺偍绌洪棿鐨勬氮璐广€傝繖涓€鐐圭瑪鑰呭湪杩囧幓涓や笁骞寸殑杩愮淮鐢熸动涓繁鏈夋劅鎮熴€?/p>
4.5 閽堝涓嶅悓瑙勬牸鐨勫瓨鍌ㄨ澶囷紝鍒嗗尯宸ュ叿鐨勯€夋嫨涔熸槸鏈夎姹傜殑锛岃繖涓€鐐归渶瑕佺壒鍒敞鎰忋€?/p>
以上是关于RHEL7.X绯诲垪鍙婂懆杈筁inux鍙戣鐗堜腑锛屽叧浜嶮BR涓嶨PT鐨勯€夋嫨涓€浜涙€濊€冧笌寤鸿的主要内容,如果未能解决你的问题,请参考以下文章