Left my computer this morning to get a cup of coffee. While I was in the kitchen the cats jumped up my desk and started a fight. They actually knocked my tower off of the desk and it fell to the floor. Mind you, this is a very large heavy tower. At first, I though everything was OK, because the computer was still running, but when I tried to reboot, I was met with a hard drive failure. The hard drive that failed, of course was the one containing my grub install and my main Ubuntu install. Lots of important stuff on that drive, most of which is backed up, but it would be best if I could recover the whole installation.
It is my practice to always have at least two distros installed on my computer residing on different physical hard drives. It sure came in handy today.
So I went into the bios and selected the other drive as the boot drive, which also has grub on it from my Kubuntu install.
Booted to Kubuntu, and was luckily able to mount the failed drive. Copied the entire contents of the partition on the failed drive to a new drive I installed. Do you know how long it takes to copy that amount of data? Copied with the -rp options to preserve the file permissions.
I then ran update-grub and it found it OK.
However, on reboot when I tried to open the Ubuntu install on the new drive. It borked. Discovered that the grub line contained the UUID of the old drive for root. Was able to edit this and get it booted, then ran update-grub in Ubuntu and grub-install to put it back on sda where I want it. Everything is back to normal.
It is my practice to always have at least two distros installed on my computer residing on different physical hard drives. It sure came in handy today.
So I went into the bios and selected the other drive as the boot drive, which also has grub on it from my Kubuntu install.
Booted to Kubuntu, and was luckily able to mount the failed drive. Copied the entire contents of the partition on the failed drive to a new drive I installed. Do you know how long it takes to copy that amount of data? Copied with the -rp options to preserve the file permissions.
I then ran update-grub and it found it OK.
However, on reboot when I tried to open the Ubuntu install on the new drive. It borked. Discovered that the grub line contained the UUID of the old drive for root. Was able to edit this and get it booted, then ran update-grub in Ubuntu and grub-install to put it back on sda where I want it. Everything is back to normal.
Comment