Replace boot drive

Colin Law clanlaw at gmail.com
Fri May 19 20:58:23 UTC 2017


On 19 May 2017 at 18:29, Jack McGee <jack at greendesk.net> wrote:
> It's probably time to replace my boot drive on my desktop running 16.04.  I
> bought new 2TB spinning disk much larger than existing.
>
> What is best way to do this?  I have backups of
> dir2="/home"
> dir3="/etc"
> dir4="/usr/local"
> dir5="/var"
> dir6="/opt"
>
> I also have WindowsXP partition (when I moved to Ubuntu) I would like to
> keep but not absolutely necessary.
>
> this is the boot disk:
> Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x45334533
>
> Device     Boot     Start       End   Sectors   Size Id Type
> /dev/sda1  *           63 593923049 593922987 283.2G  7 HPFS/NTFS/exFAT
> /dev/sda2       593924096 625141759  31217664  14.9G 83 Linux
>
> This system has a boot drive and data drive.  I'm not sure if the XP
> installation is on which drive.
>
> Is best to install 16.04 from scratch, then restore backups, if so what?

I would do a complete image backup of the drive using clonezilla, then
restore that to the new disc and once you have checked it is working
ok increase the partition sizes as you like (using gparted).

Colin




More information about the ubuntu-users mailing list