another way to upgrade the hdd of your pc

Sysadmin

When I have to upgrade the hard disk of my system, I usually plug the new hdd in the machine, partition it, copy the data, install the boot loader, remove the old disk and reboot.

But, what if there are some oddities that prevent your boot loader to be manually installed on the new disk, and you don't have time/will/opportunity to sort out the issue? Well, this is just another way of performing the disk upgrade, at least with debian.

  1. plug the new disk into the machine and unplug all other disks (if present)
  2. boot with the Debian net install cd
  3. install a minimal debian on the new disk (this step allows partitioning and installs the boot loader)
  4. plug the old disk(s) back and reboot the system using the old installation; go into single user mode
  5. wipe the newly created file systems and copy all data to the new disk
  6. edit the files that need to (if any)
  7. remove the old disk and reboot

Having a B-plan is a must. With unix it is easy :)

Filed under debian sysadmin unix

glider [ minitrack ] ikiwiki Creative Commons VIM powered