Ϊ×öµ½ÕâÒ»µã£¬°´Ï “Resize/Move” °´Å¥À´ÖØе÷Õû·ÖÇø´óС¡£
ÏÖÔÚ£¬ÔÚµÚÒ»¸ö¿òÖÐÊäÈëÄãÏë´ÓÕâ¸ö·ÖÇøÖÐÈ¡³öµÄ´óС¡£ÎÒ½«Ë÷Òª “10GB”£¬ËùÒÔ£¬ÎÒÌí¼Ó “10240MB”£¬²¢ÈøöԻ°¿òµÄÆäÓಿ·ÖΪĬÈÏÖµ£¬È»ºóµã»÷ “Resize/Move” °´Å¥¡£
Ëü½«ÔÙ´ÎÒªÇóÄãÈ·ÈÏÖØе÷Õû·ÖÇøµÄ´óС£¬ÒòΪÄãÕýÔڱ༻µÄϵͳ·ÖÇø£¬È»ºóµã»÷ “Ok”¡£
·ÖÇø´Ó 30GB ËõСµ½ 20GB ÒѾ³É¹¦¡£Ò²ÏÔʾ 10GB δ·ÖÅäµÄ´ÅÅ̿ռ䡣
×îºóµã»÷ “Apply” °´Å¥À´Ö´ÐÐÏÂÃæÊ£ÓàµÄ²Ù×÷¡£
e2fsck ÊÇÒ»¸öÎļþϵͳ¼ì²éʵÓóÌÐò£¬×Ô¶¯ÐÞ¸´ÎļþϵͳÖÐÓë HDD Ïà¹ØµÄ»µÉȵÀ¡¢I/O ´íÎó¡£
resize2fs ³ÌÐò½«ÖØе÷Õû ext2¡¢ext3 »ò ext4 ÎļþϵͳµÄ´óС¡£Ëü¿ÉÒÔ±»ÓÃÓÚÀ©´ó»òËõСһ¸öλÓÚÉ豸ÉϵÄδ¹ÒÔصÄÎļþϵͳ¡£
e2image ³ÌÐò½«±£´æλÓÚÉ豸ÉϵĹؼüµÄ ext2¡¢ext3 »ò ext4 ÎļþϵͳµÄÔªÊý¾Ýµ½Ò»¸öÖ¸¶¨ÎļþÖС£
ËùÓеIJÙ×÷Íê³É£¬¹Ø±Õ¶Ô»°¿ò¡£
ÏÖÔÚ£¬ÎÒÃÇ¿ÉÒÔ¿´µ½Î´·ÖÅäµÄ “10GB” ´ÅÅÌ·ÖÇø¡£
ÖØÆôϵͳÀ´¼ì²éÕâÒ»½á¹û¡£
10) ¼ì²éÊ£Óà¿Õ¼ä
ÖØеǼϵͳ£¬²¢Ê¹Óà fdisk ÃüÁîÀ´²é¿´ÔÚ·ÖÇøÖпÉÓõĿռ䡣Êǵģ¬ÎÒ¿ÉÒÔ¿´µ½Õâ¸ö·ÖÇøÉÏδ·ÖÅäµÄ “10GB” ´ÅÅ̿ռ䡣
$ sudo parted /dev/sda print free [sudo] password for daygeek: Model: ATA VBOX HARDDISK (scsi) Disk /dev/sda: 32.2GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: -
Number Start End Size Type File system Flags 32.3kB 10.7GB 10.7GB Free Space 1 10.7GB 32.2GB 21.5GB primary ext4 boot
¡¾±à¼ÍƼö¡¿
- ÈçºÎ¼à¿ØLinux·þÎñÆ÷״̬£¿
- Àí½âLinux²Ù×÷ϵͳÖеĿéÉ豸
- 5·ÖÖӸ㶮LinuxÖÐÖ±½ÓI/OÔÀí
- ÔÚWindowsÖÐÔËÐÐLinux£ºWSL 2ʹÓÃÈëÃÅ
- Unity±à¼Æ÷ÏÖÒÑÕýʽÃæÏòLinuxÍƳö
¡¾ÔðÈα༣ºÅÓ¹ðÓñ TEL£º£¨010£©68476606¡¿
µãÔÞ 0
£¨±à¼£ºASPÕ¾³¤Íø£©
|