求助,如何扩展原有分区?
发表于 : 2015-01-22 16:42
使用的是虚拟机里的红帽系统,想扩展主分区,便在虚拟机设置里扩展了分区,想用parted来resize主分区,显示有错误,求大神解答
Warning: Filesystem was not cleanly unmounted! You should e2fsck.
Ignore/Cancel? i
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
Warning: Filesystem was not cleanly unmounted! You should e2fsck.
Ignore/Cancel? i
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
代码: 全选
[root@hello root]# parted
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
Using /dev/sda
Information: The operating system thinks the geometry on /dev/sda is
19581/255/63. Therefore, cylinder 1024 ends at 8032.499M.
(parted) p
Disk geometry for /dev/sda: 0.000-153600.000 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 7671.665 primary ext3 boot
(parted) resize 1
Start? [0.0308]? 0
End? [7671.6646]? 153000
Warning: Filesystem was not cleanly unmounted! You should e2fsck.
Ignore/Cancel? i
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
(parted)