How to recreate a working AMI from recovery snapshot after Aug 8 outage?
1,426
Solution 1
I ran into the same problem when trying to duplicate a machine.
The problem turned out to be the kernel. Both when creating the AMI and the instance I selected default for the kernel image.
To resolve the problem, I recreated the AMI using the same kernel image as the original instance.
Solution 2
Could you try the following command (note -f option instead of --force):
sudo fsck -f /dev/xvdg
Hope this helps. Fred
Related videos on Youtube
Author by
Jebathon
Updated on September 18, 2022Comments
-
Jebathon over 1 year
Inorder to check if an iFrame is currently open you can use:
if (window!=window.top) { /* I'm in a frame! */ }
But what if I want to get an alert when an iFrame opens? How can I allow JS to automatically detect an iFrame has been opened on the current page or inserted within the DOM?
-
geekyaleks over 12 years
fsck -f
indeed does something more (don't know exactly what;man fsck
doesn't say anything about it), so +1. But in any case this doesn't solve the whole problem; I created a snapshot and then an AMI from the fscked volume, and lauched an instance from that, and still get the same "Kernel panic ... Unable to mount root" error in System Log. -
DCYorke over 12 yearsTo clarify, the default kernel image lacks ext4 support, but the kernel that was used to build the AMI should always be used anyway.
-
Atulmaharaj almost 10 yearsIf only the snapshot remains, it will be very hard to recover. Can you suggest a method to backup this kind of metadata (also, which security groups and user-data are used) with the snapshot or somewhere else?
-
CodingIntrigue almost 9 yearsAside from the limited browser support,
DOMNodeInserted
is deprecated. Mutation observers should be used instead -
Jebathon almost 9 yearsUnrelated. That's quite interesting how you can run the code snippet now without jsFiddle. Nice
-
Jebathon almost 9 yearsFor some reason this doesn't work compared to Nicks answer. codepaste.net/jzm7s3
-
kay almost 9 yearsProbably you are using IE 10 or even something worse. Please see the update to my answer.
-
Jebathon almost 9 yearsI am using the latest version of Chrome but I will try your try/catch statement.
-
kay almost 9 yearsDoes the code snippet in this page work for you? I am not sure what you intention in codepaste.net/jzm7s3 is, because my snippet does not require any jQuery code.
-
Jebathon almost 9 yearsWhen I run the code snippet within that codepaste it executes but there is no detection of an iFrame by using your code. If within the if statment I put Nicks code it works perfectly. If I use your try/catch it works but again through Nicks code.
-
kay almost 9 yearsPlease post a complete self contained example to jsfiddle. Also you did not answer my question if the runnable snippet in my answer works for you.
-
Jebathon almost 9 yearsLet us continue this discussion in chat.
-
kay almost 9 yearsNope, for a synchronous discussion I would demand a proper payment, sorry. Only asynchronous comments are for free. :)
-
Jebathon almost 9 yearsStack is forcing me to chat with you. I apoligize