Jump to content

Boot vm from live iso to re-partition the vm


PuffinDoctor

Recommended Posts

I have a 16.04.2 Ubuntu Server running in a VM on my 6.5.2 unRAID Server.  The VM was formally set at a 50G cap but I figured out how to expand that on the webgui to 200G.  Now the Ubuntu VM is still complaining about not having enough space so I need to re-partition the drive in the VM to utilize the added space.  The partitioned needing to be expanded is set up as LVM if that matters.

 

I know a drive needs to be unmounted before it can be re-partitioned so is there a way to boot a live iso, such as the GParted Live bootable image, in unRAID like there is in virtualBox for example?

 

I don't know what all to list here so I can provide information about the VM and partitions as needed.

 

Thanks

Link to comment

You shouldn't need to. In pseudo code:

  • create a new partition on the disk
  • reboot
  • pvcreate <new partition>
  • vgextend <volgroup> <new partition>
  • lvresize <lvm>

the reboot is necessary because you resized your disk image, and now need to add a partition

If you added a new vdisk, you can skip step#2

Link to comment
21 hours ago, ken-ji said:

You shouldn't need to. In pseudo code:

  • create a new partition on the disk
  • reboot
  • pvcreate <new partition>
  • vgextend <volgroup> <new partition>
  • lvresize <lvm>

the reboot is necessary because you resized your disk image, and now need to add a partition

If you added a new vdisk, you can skip step#2

Thank you! That helped me out!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...