resize boot disk

  • I moved from a 60 GB disk to a 240 GB disk with restoring backup from veaam agent.

    System is booting correctly.

    How can I resize now the partition and the file system? I was thinking to do it via gparted but seems more difficult than supposed


    ryecoaaron

    I have that situation now:






    thanks in advance

  • Yeah but do I have to disable swap ? Is there a safe procedure?

    You could.... Or just expand it and leave about 8-10gigs unallocated on the end and resize the root partition. When it's done, change that 8-10gigs to an extended partition, and then put your swap back on the extended. Either way would work

    Air Conditioners are a lot like PC's... They work great until you open Windows.


  • ok i soved in the following way:


    • i have disabled the swap:
    Code
    sudo swapoff -a
    • then i have commented swap mount on /etc/fstab
    • rebooted on gparted delete the swap partition and extented partition
    • resized root partition /dev/sda1
    • recreated extended and swap
    • rebooted
    Code
    sudo swapon -a
    swapon --show


    • i took the UUID of new swap partition


    Code
    sudo blkid | grep UUID=
    • edited the fstab
    • reboot to check
  • Look in this file and make sure the resume= uuid is also correct.


    /etc/initramfs-tools/conf.d/resume

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • i did it:


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!