Migrated a CentOS 6.7 Linux VM to GCE and it won't boot - similar migrations worked OK

277 views
Skip to first unread message

Alexander Verharen

unread,
Jun 11, 2017, 12:43:35 PM6/11/17
to gce-discussion
Used CloudEndure to migrate CentOS linux host and tried several times to migrate it, but it won't boot.

I am getting the following error (full log attached). 

rtc_cmos 00:01: setting system clock to 2017-06-11 05:33:18 UTC (1497159198)
Initalizing network drop monitor service
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input4
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
RAMDISK: incomplete write (4472 != 15380)
write error
VFS: Cannot open root device "UUID=bf4548e3-83c6-4661-9868-89e071376723" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Tainted: G        W  ---------------    2.6.32-504.23.4.el6.x86_64 #1

What could be the problem here and how can I prevent this sort of problem during my migrations?


serial_console_output.log

Brian Stark

unread,
Jun 11, 2017, 1:29:40 PM6/11/17
to Alexander Verharen, gce-discussion, Leonid Feinberg
Adding Leonid from CloudEndure to see if he can comment


Brian Stark | Product, Google Cloud Platform | bhs...@google.com |  +1 (415) 298-7808
 

--
© 2017 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/12249667-8227-4518-a960-608a27de6276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Irina (Google Cloud Support)

unread,
Jun 15, 2017, 12:25:20 PM6/15/17
to gce-discussion

Found this post on how to fix the error “VFS: Unable to mount root fs on unknown-block” on CentOS Linux that might or might not help you to boot your instance. It says that running ‘sudo yum update kernel’ resolves the issue. Add a custom metadata on your Compute Engine VM instances with the key ‘startup-script’ and value ‘sudo yum update kernel’. Save the changes and restart the instance.

Reply all
Reply to author
Forward
0 new messages