Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our bugzilla server crashed. I can boot via a Live CD and mount the partition but can't boot cause Grub is all jacked up.

It's running Ubuntu 9.10.

I have all of the files from the server as well on an FTP server.

Anyone know how to recover/restore Bugzilla if all I have are the files themselves? I can't do a mysql least I don't think I can...since I can't boot off the HDD that has mysql installed.

Any ideas?

share|improve this question
If it is just Grub that is messed up, the disk is fine, the OS is fine, etc I would just look at fixing Grub. Ask a question about repairing Grub and give details on what is wrong with it. – ManiacZX Oct 5 '10 at 23:01
Maniac...I did ask about fixing grub. I've gone through multiple online "fixes" but so far I still end up not being able to boot. So I figured since this is only doing bugzilla it would be easy enough to move. – TheCleaner Oct 6 '10 at 13:03
up vote 3 down vote accepted

You could try copying the files from /var/lib/mysql on the old hard disk to the same location on the new disk. I've had success doing that with my server when repartitioning and reinstalling it. After this, simply reinstall BugZilla (you can copy the old apache config from /etc/apache2 and the webserver files from /var/www instead of reinstalling everything) into the same place on the new server.

share|improve this answer
OK, I'll try this in the morning and let you know...thanks! – TheCleaner Oct 5 '10 at 22:54
That worked...thank you. – TheCleaner Oct 24 '10 at 2:40

You can start mysql using chroot.

Boot off the/a live CD. Mount the partition of the broken drive. #mount /dev/sda1 /mnt/sda1

chroot into the mounted drive. #chroot /mnt/sda1

In affect you are running on the HDD, you can start up MySQL and dump the data off it.

Fixing grub is not hard and I suggest doing that before declaring the install dead. Then again, Ubuntu 9.10 is old now, it would be a better idea to migrate to 10.04.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.