LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2011, 05:32 AM   #1
garf_a
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
Can't boot a restored image


I'm trying to create test system on which I can load saved images of a number of different distributions / versions from saved images.
I'm using Acronis in Windows to manage the partitions and the images.
This works fine for a while but every now and then I do something (typically install a new distro / version) and subsequent restores of the previously working images fail. After restoring the image I get a "grub rescue" prompt and thereafter I'm stuck.
Typical advice in this situation seems to revolve around repairing the installation using a bootable dvd, but that's not really relevant in my case - I'm trying to find a way to reliably load these images.

My configuration is

HD 1
Partition 1 -> Windows 15GB used to manage the system with Acronis.
Partition 2 -> 20GB partition, used to mount linux ext3/4 image (or other operating systems)
Partition 3 -> 20GB partition, used to mount linux swap partition

remainder unformatted

HD2
1 big partition to hold saved images

When ever I install an image I mount "/" and swap on partition 1 and 2.
Whenever I save an image I save the MBR of HD1 and partitions 2 and 3 and of course the reverse to recover.

So yesterday I recovered my Ubuntu 10.10 image and booted (selecting the OS in Acronis OS selector (boot manager)) which then shows me GRUB and then boots Linux.
I then performed an Ubuntu upgrade to 11.4 and saved the image as usual.

I then restored the 10.10 image and where I would normally see the grub menu I get "grub rescue>".

So clearly the upgrade has messed with something grub related, but my question is where?
It can't be in the MBR of HD1 or either of the partitions 2 / 3 as these get restored.
Can anyone shed some light on what I might be doing wrong, or at least explain where these grub files actually are? I have always assumed that anything grub related is in my active partition (with the MBR "pointing to" this), clearly this is not correct.
 
Old 05-06-2011, 05:49 AM   #2
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
Well for one thing, you are kind of flirting with disaster having Windows and GNU/Linux on the same physical drive. I did find something here: http://forums.scotsnewsletter.com/in...ST&f=14&t=5025

I think grub needs to know where it's 'root' is, the partition where the /boot directory is stored and which kernel to boot and the link above tells you how to do that.

You can also try looking here: https://help.ubuntu.com/community/Gr...ing%20GRUB%202

'sudo update-grub' could fix this problem, but then you could run into problems trying to boot back into Window.
 
Old 05-06-2011, 05:51 AM   #3
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
Please keep in mind that all my advice is offered AS IS with absolutely NO WARRANTY OR GUARANTEE OF ANY KIND. Hope it works for you.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make " restored" XP partition image boot for Linux (first)-XP dual-boot mowley Linux - Newbie 52 08-23-2010 02:00 AM
Restored Partimage image on a larger partition, problems. Romanus81 Linux - Hardware 1 01-01-2009 11:34 PM
Problems accessing restored Mandriva partition image Jongi Mandriva 2 01-13-2006 04:53 AM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration