Saturday, June 16, 2018

grub2 - resizing partitions


I have the following configuration:



  • sda1 1 GB maybe fat32 (windows recovery partition)

  • sda2 40 GB ntfs(windows drive c) with boot flag

  • sda3 around 100GB ntfs(storage partition)

  • sda4 extended partition:

    • sda5 10 GB ext4 partition

    • sda6 1 GB linux swap



I want to make this changes:



  • sda2 30 GB resize(decrease size with 10 GB)

  • sda3 around 100GB(move and maybe decrease size with 4-5 GB)

  • sda4 around 20-22 GB (move and increase size with 10-15GB)

  • sda5 around 20 GB (move and increase size with 10-12 GB)

  • sda6 2 GB (move and increase size with 1 GB)


Is it safe to do this operations?


Will i lose grub?


I will do the changes with gparted on puppy linux live usb.



Is it safe to do this operations? - no, it is NOT safe, just as any operation with partitions. You're advised to make a backup of all your important data before doing any modifications. That said, it usually works well.


Will i lose grub? - you may lose it, but it's easy to re-install it using the Boot Repair tool. You can do this straight from the Ubuntu Live CD (or possibly from puppy linux, I'm not sure, I would just use Ubuntu LiveCD)


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...