Menu

Clone a 120 GB SSD drive with Debian server to 240 GB WD harddrive ?

Xps12
2017-03-24
2017-03-24
  • Xps12

    Xps12 - 2017-03-24

    Hi All,

    I run into a problem with my current debian server ssd drive (boot partition is to small so i cant upgrade to a new kernel).

    Now i would like to try to resize that space. But to make sure that i do not destroy the working server ssd drive, i would like to clone this boot drive to another disk (and boot from it) to see if i am able to resize the disk without problems.

    So question is, can i Clone a 120 GB SSD drive with Debian server to 240 GB WD harddrive ?

    If this is possible i would try to boot the cloned image on the 240 GB disk to see if i can resize the partitions with LVM

    Do you expect i would be able to boot with the cloned disk on the 240 gb ?

    This is the fstab file on the source disk:

    <file system=""> <mount point=""> <type> <options> <dump> <pass>
    /dev/mapper/root / ext4 errors=remount-ro 0 1</pass></dump></options></type></mount></file>

    /boot was on /dev/sda1 during installation

    UUID=82**number /boot ext2 defaults 0 2
    /dev/mapper/-home /home ext4 defaults 0 2
    /dev/mapper/-tmp /tmp ext4 defaults 0 2
    /dev/mapper/-usr /usr ext4 defaults 0 2
    /dev/mapper/-var /var ext4 defaults 0 2
    /dev/mapper/-swap_1 none swap sw 0 0
    /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0

    Will this work when i clone the disk ?

     
  • Steven Shiau

    Steven Shiau - 2017-03-29

    "So question is, can i Clone a 120 GB SSD drive with Debian server to 240 GB WD harddrive ?" -> Yes.
    However, I suggest:

    1. Backup important data before you use Clonezilla.
    2. When cloning 120 GB source disk to 240 GB destination disk, you can enter expert mode, and choose the optioin "-k1".

    Steven

     

Log in to post a comment.

MongoDB Logo MongoDB