Replace boot drive

Jack McGee jack at greendesk.net
Fri May 19 17:29:40 UTC 2017


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?






More information about the ubuntu-users mailing list