LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-29-2009, 11:01 PM   #1
VitalSpark798
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
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
# root (hd0,0)
# setup (hd0,0)
(Same thing I needed to do to get the main drive to boot)

Now when I boot, it loads GRUB rather than a flashing cursor, then I get...

Code:
ata1: disabling port
It does not boot past that. If I switch SATA channels I get the same message but with ata2.

Here is the output of my menu.lst file.

Code:
title           Ubuntu, kernel 2.6.15-26-server
root            (hd0,0)
kernel          /vmlinuz-2.6.15-26-server root=/dev/md1 ro quiet splash
initrd          /initrd.img-2.6.15-26-server
savedefault
boot

title           Ubuntu, kernel 2.6.15-26-server (recovery mode)
root            (hd0,0)
kernel          /vmlinuz-2.6.15-26-server root=/dev/md1 ro single
initrd          /initrd.img-2.6.15-26-server
boot
Recovery mode will boot to an extent, after enabling USB devices (which I have since unplugged), it will give me the error.

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?
 
Old 05-30-2009, 07:22 AM   #2
VitalSpark798
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 05-30-2009, 04:34 PM   #3
VitalSpark798
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Cool 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.
 
  


Reply

Tags
acronis, grub, mdadm, software raid, ubuntu606


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acronis True Image ? cccc Linux - Software 1 11-29-2008 10:10 AM
Installing Acronis True Image - SnapAPI problem PlymWS Suse/Novell 1 03-26-2008 02:09 AM
A backup utility like Acronis true image Ineed2muchHelp Linux - Software 3 11-27-2006 12:22 AM
Cloned image using Acronis not booting dogbreath_NZ Linux - Kernel 2 08-09-2006 11:35 PM
Ghost 9 or Acronis True Image 8? nathanv117 Suse/Novell 0 01-09-2005 08:11 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration