Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 29, 2012 4:09 pm 
Offline
Junior Member

Joined: Wed Jul 27, 2011 8:34 pm
Posts: 31
Website: http://eschercms.org
Hi,

I'm booting the CentOS 6 kernel using pv-grub. Works great. However, when I clone any Linode set up in this manner, the clone fails to boot. In the terminal I get:

Map 2048 (a93210, ...) at 0x42162000 failed: -22.
Do_exit called!

Shouldn't this just work? Or is the cloning process not compatible with pb-grub? If anyone can shed some light on this I would appreciate it.

Thanks.

_________________
Got Escher? | @artagesw


Top
   
 Post subject:
PostPosted: Wed Feb 29, 2012 8:15 pm 
Offline
Junior Member

Joined: Wed Jul 27, 2011 8:34 pm
Posts: 31
Website: http://eschercms.org
Anybody? Really banging my head against the wall. Straight clone of another Linode that boots perfectly, and it refuses to boot. Will boot if I switch to Linode's kernel.

If the filesystem is a perfect copy, what could possibly be the problem? (I shut down the source Linode for the duration of the copy operation to ensure consistency.)

BTW, this has me worried that a resize operation might have the same problem. I think a resize is essentially the same as a clone since the linode gets moved to another server...

_________________
Got Escher? | @artagesw


Top
   
 Post subject:
PostPosted: Wed Feb 29, 2012 10:00 pm 
Offline
Junior Member

Joined: Wed Jul 27, 2011 8:34 pm
Posts: 31
Website: http://eschercms.org
On a hunch, I tried resizing the clone down a size to the same size as the original source Linode. (I had cloned the source to a larger linode).

Guess what? It boots.

The **only difference** is the Linode's size.

Does this make any sense? I'm no expert in the Linux boot process. But could there be a persistent record of the RAM size (stored somewhere on disk) that is throwing off the boot process when it is not what was expected?

Please throw in your 2 cents!

_________________
Got Escher? | @artagesw


Top
   
 Post subject:
PostPosted: Sun Mar 04, 2012 4:49 pm 
Offline
Junior Member

Joined: Wed Jul 27, 2011 8:34 pm
Posts: 31
Website: http://eschercms.org
I have found through trial and error that lowering the memory limit in the configuration profile to a value <= 1017 MB allows the instance to boot fine under pv-grub. Any value > 1017Mb causes it to hang during boot.

Anyone out there successfully booting a larger linode (1024MB and up) via pv-grub?

_________________
Got Escher? | @artagesw


Top
   
 Post subject:
PostPosted: Sun Mar 04, 2012 5:20 pm 
Offline
Senior Newbie

Joined: Sat Sep 03, 2011 10:01 am
Posts: 17
As you already saw in a different thread - I keep kernel-2.6.32-71.29.1.el6.i686 (Centos 6.0) on my VM - nothing above it boots on Linode 1024.


Top
   
 Post subject:
PostPosted: Sun Mar 04, 2012 5:51 pm 
Offline
Junior Member

Joined: Wed Jul 27, 2011 8:34 pm
Posts: 31
Website: http://eschercms.org
Hmm, I could not even get the 6.0 kernel to boot without lowering the memory limit.

_________________
Got Escher? | @artagesw


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: nqservices and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group