VirtualBox: extend partition

前端 未结 8 1186
渐次进展
渐次进展 2021-01-30 07:34

I have virtualbox-4.1.0 with centos-5.6 installed in. Now I would like to extend the VM image, which I previously allocated for virtual machine installation, it was 8Gb, that\'s

8条回答
  •  孤街浪徒
    2021-01-30 07:58

    I spent a long time googling and finally got it working for me. ( before I found this ) And I wanted a place to save my work

    use vboxmanage to add space to the disk image

    use gparted to resize so all space is used

    use blivet-gui to create a new volume :

    Below is commands I copied from terminal in fedora :

    dnf install blivet-gui  
    blivet-gui  
    lvremove /dev/mapper/fedora00-00  
    lvextend -l +100%FREE /dev/mapper/fedora00-root
    

提交回复
热议问题