google compute engine - Booting from custom image in GCE. Boot hang at "Booting from 0000:7c00" -


i doing training on big data , since based on cloudera platform downloaded cloudera quickstart vm virtual box.

i don't have enough hardware open laptop decided try out gce. followed instructions convert virtual box images raw , tar.gz google gce bucket.

until point, went fine.

i able crate new instance , attached disk created out previous instance without issue.

after booting instance realized unresponsive, , external ip not reachable. looked @ serial console , found out shows messages until ""booting 0000:7c00" , nothing. seems boot issue related disk maybe...

i tried mounting disk secondary 1 working instance in gce , able see contents. disk seems ok. see below outputs lvm commands.

pvs  pv         vg            fmt  attr psize  pfree   /dev/sdb2  vg_quickstart lvm2 a--  63.51g    0  vgs   vg            #pv #lv #sn attr   vsize  vfree   vg_quickstart   1   2   0 wz--n- 63.51g    0  lvs  lv      vg            attr       lsize  pool origin data%  meta%  move log cpy%sync convert   lv_root vg_quickstart -wi------- 55.51g                                                       lv_swap vg_quickstart -wi-------  8.00g  lvdisplay  --- logical volume ---   lv path                /dev/vg_quickstart/lv_root   lv name                lv_root   vg name                vg_quickstart   lv uuid                dalcft-alen-gghe-oot5-wqn9-ejlm-30rkn1   lv write access        read/write   lv creation host, time quickstart.cloudera, 2015-06-09 10:04:48 +0000   lv status              not available   lv size                55.51 gib   current le             14210   segments               1   allocation             inherit   read ahead sectors     auto    --- logical volume ---   lv path                /dev/vg_quickstart/lv_swap   lv name                lv_swap   vg name                vg_quickstart   lv uuid                scunn9-iftx-vddd-z4qm-sqap-2p0g-gw4ujd   lv write access        read/write   lv creation host, time quickstart.cloudera, 2015-06-09 10:05:03 +0000   lv status              not available   lv size                8.00 gib   current le             2048   segments               1   allocation             inherit   read ahead sectors     auto 

below can see complete serial console output:

changing serial settings 0/0 3/0 start bios (version 1.7.2-20150226_170051-google) unable unlock ram - bridge not found ram size=0xc0000000 (0x0000000030000000 high) relocating low data 0x000e5810 0x000ef780 (size 2161) relocating init 0x000e6081 0xbffd3540 (size 51612) cpu mhz=2300 === pci bus & bridge init === pci: pci_bios_init_bus_rec bus = 0x0 === pci device probing === found 4 pci devices (max pci bus 00) === pci new allocation pass #1 === pci: check devices === pci new allocation pass #2 === pci: map device bdf=00:03.0  bar 0, addr 0000c000, size 00000040 [io] pci: map device bdf=00:04.0  bar 0, addr 0000c040, size 00000040 [io] pci: map device bdf=00:03.0  bar 1, addr febfe000, size 00001000 [mem] pci: map device bdf=00:04.0  bar 1, addr febff000, size 00001000 [mem] pci: init bdf=00:01.0 id=8086:7110 piix3/piix4 init: elcr=00 0c pci: init bdf=00:01.3 id=8086:7113 using pmtimer, ioport 0xb008, freq 3579 khz pci: init bdf=00:03.0 id=1af4:1004 pci: init bdf=00:04.0 id=1af4:1000 found 1 cpu(s) max supported 1 cpu(s) mp table addr=0x000fdaf0 mpc table addr=0x000fdb00 size=240 smbios ptr=0x000fdad0 table=0x000fd970 size=352 memory hotplug not enabled. [mhpe=0xffffffff] acpi dsdt=0xbfffe070 acpi tables: rsdp=0x000fd940 rsdt=0xbfffe030 scan vga option rom machine uuid 99d5a402-078d-aa7b-e703-5927bca16259 found 4 serial ports found virtio-scsi @ 0:3 searching bootorder for: /pci@i0cf8/*@3/*@0/*@0,0 searching bootorder for: /pci@i0cf8/*@3/*@0/*@1,0 virtio-scsi vendor='google' product='persistentdisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=134217728 searching bootorder for: /pci@i0cf8/*@3/*@0/*@2,0 searching bootorder for: /pci@i0cf8/*@3/*@0/*@3,0 searching bootorder for: /pci@i0cf8/*@3/*@0/*@4,0 searching bootorder for: /pci@i0cf8/*@3/*@0/*@5,0 searching bootorder for: /pci@i0cf8/*@3/*@0/*@6,0 ... searching bootorder for: /pci@i0cf8/*@3/*@0/*@253,0 kbd: int09 handler: al=0 ps2 keyboard initialized threads complete. scan option roms searching bootorder for: halt drive 0x000fd900: pchs=0/0/0 translation=lba lchs=1024/255/63 s=134217728 space available umb: 000c0000-000eb800 returned 122880 bytes of zonehigh e820 map has 7 items:   0: 0000000000000000 - 000000000009fc00 = 1 ram   1: 000000000009fc00 - 00000000000a0000 = 2 reserved   2: 00000000000f0000 - 0000000000100000 = 2 reserved   3: 0000000000100000 - 00000000bfffe000 = 1 ram   4: 00000000bfffe000 - 00000000c0000000 = 2 reserved   5: 00000000fffbc000 - 0000000100000000 = 2 reserved   6: 0000000100000000 - 0000000130000000 = 1 ram unable lock ram - bridge not found kbd: int09 handler: al=0 enter handle_19:   null booting hard disk 0... booting 0000:7c00 

what going wrong vm? thanks!

found solution.

the disk must include 1 partition (root) boot directory in instead of boot partition had before.

i not 100% sure gce has problems booting logical volumes (lv). should avoid building new partition , dd data lv root partition standard ext partition.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -