[PLUG] Migrate Ubuntu Server / install to /home. /var, /opt, etc install?

Bill Barry bill at billbarry.org
Fri Aug 8 17:09:58 UTC 2014


On Fri, Aug 8, 2014 at 9:24 AM, Robert Citek <robert.citek at gmail.com> wrote:
> On Thu, Aug 7, 2014 at 6:33 PM, Bill Barry <bill at billbarry.org> wrote:
>> Boot to a live disk.
>> Use resize2fs to shrink the current partition,
>
> resize2fs will only shrink the filesystem, not the partition.  You'll
> still have to use fdisk or gparted for making the partition a bit
> larger than the filesystem.
>
>> create the new partitions,
>
> At this point you may want to consider LVM.
>
>> boot up,
>
> Is this reboot needed?

I think you need to reboot or run partprobe at this point. You also
need to create the filesystem after the partitioning.
And if you move the boot partition you should update grub.

Bill



More information about the PLUG mailing list