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

    • Offizieller Beitrag

    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

  • 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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • i did it:


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!