Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

An Ubuntu (Hardy Heron) server here died a couple of days ago. Fortunately, the hard drives were OK. So now we have a new server with the old disks installed.

The new server won't boot. After a number of lines in the boot sequence, it says that it can't find the drive with a particular UUID. I used a (Fedora) rescue disk to modify the grub menu to look for the actual device, /dev/sda1. The failure still occurs with the error message mentioning the device name instead. The hard drive is certainly there, because that's where the system is attempting to boot from, and finds grub.

Do I need to rebuild the /dev directory? How can I do that? Is there some other issue?

share|improve this question
up vote 0 down vote accepted

The version of Ubuntu on your old server was old enough that I wouldn't try and troubleshoot it further. I think it is time for upgrade, so you better install a Maverick version from the Ubuntu Alternate CD to your root partition keeping your home partition intact. Ubuntu keeps all the user settings and files in your home directory so you only need to backup your /etc, /var/www web directory, /usr/lib/mysql databases, /usr/src and /opt.

You may spend countless hours troubleshooting all the things and no one can guarantee you success.

share|improve this answer
We upgraded to 10.4 LTS -- working fine now. – user42363 Jan 24 '11 at 5:50

You can boot from ubuntu CD into recovery mode. Then, you can execute a root shell. Look for your drives using:

# ls -l /dev/disk/by-uuid/

You should get symlinks to your actual drives such as /dev/sda1 and /dev/sda2.

Look at /etc/fstab and compare the UUID you found there with UUID you got from ls. You can edit the fstab accordingly. You can try to mount the partitions yourself and use df -hT yo check the mounted partitions.

share|improve this answer
The UUID links and fstab entries are correct. Something else is going wrong. – user42363 Jan 21 '11 at 1:29
Did you try mounting all partitions using mount -a? This will verify for sure your fstab file. If it also goes right, this means that UUIDs are changing somehow during system boot. – Khaled Jan 21 '11 at 11:39

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.