Cannot Boot Ubuntu Server After Acronis Image
I imaged my server using Acronis 2009 today. I have a mdadm software raid configuration that is currently only running on one drive. First, I needed to setup GRUB after i created the image on the main drive, no problems. Booted, made my changes, broke something and I need to go back to the image I created.
Running Ubuntu 6.06, Kernel 2.6.15-26-server, Intel 945 board. I setup grub using gparted as my live CD by running... Code:
# grub Now when I boot, it loads GRUB rather than a flashing cursor, then I get... Code:
ata1: disabling port Here is the output of my menu.lst file. Code:
title Ubuntu, kernel 2.6.15-26-server I noticed when I booted the second drive in the array that I got the error message, but it continued booting. I would have used this drive... but... it has been unplugged since I got it... so VERY old data... When I imaged, Acronis detected the partitions as RAID partitions. Is it possible that where I imaged to a single drive as oppose to a volume and where it's booting off of an md device, that changing /dev/md1 to /dev/sda1 would have any positive effect? I'm trying to get the output of df -h but server's too slow processing spam with a terrible config; but I THINK that my configuration is... sda1=/boot sda2=/ sda3=/var sda4=swap Does anybody have any suggestions? |
Just an update, by changing the md to sda2, I'm able to boot, but because it is in a RAID configuration, it tries to open all hard drives as md devices. Is there a way to trick the system and link the md devices that it is looking for to the sd devices?
Or is there a way to make the device an md device, but not lose all the data? |
Fixed the issue.
I had to do as I thought, basically, I had to change the menu.lst to boot off of the sda device rather than the md device.
That allowed me to get to a limited shell. After that all I had to do was edit the fstab to reflect the same md to sda partition assignments and voila! Server boots! It complains a lot on boot about missing md devices, but is performing totally fine. |
All times are GMT -5. The time now is 10:23 PM. |